Update from CentOS 5.5 to 5.6

Posted on Wed 20 April 2011 in Linux • Tagged with CentOS

CentOS 5.6 was released and I updated nearly all of my CentOS machines to the new version. Up to now only one machine made some smaller problems and needs some love to work like it did before the update.

The procedure is quite simple if your are on CentOS …


Continue reading

Install KVM on CentOS

Posted on Tue 19 April 2011 in CentOS • Tagged with CentOS, KVM

How to install KVM virtualization technologie on CentOS 5.4. This Howto explains step by step how to install KVM and how to create a VirtualMachine using Virtual Manager GUI.

Before you install KVM you need to verify that your CPU is compatible.

One of the following keywords needs to …


Continue reading

Install Nagios on CentOS

Posted on Tue 19 April 2011 in CentOS • Tagged with CentOS, Nagios

Install CentOS 5.3 using the Server template.

After you installed the system log in as root and run update the system:

yum update

If the kernel was updated reboot the system.

reboot
Now we have to include the rpmforge repository to install Nagios 3.0.x.
If you are …

Continue reading

Install SUN/Oracle JDK on CentOS or Fedora

Posted on Tue 19 April 2011 in CentOS • Tagged with CentOS, Java, JDK

1. Download SUN or now Oracle JDK (.rpm.bin format) from Oracle Website: http://www.oracle.com/technetwork/java/javase/downloads/index.html

  1. make .bin file executeable
chmod +x <file>.rpm.bin
  1. run the installer
./<file>.rpm.bin
  1. link the installed jdk into your environment
alternatives --install /usr/bin/java …

Continue reading

Install PostgreSQL 9.0.x on CentOS

Posted on Tue 19 April 2011 in CentOS • Tagged with CentOS, PostgreSQL

This tutorial explains how to install PostgreSQL from the official PostgreSQL repository. This method allows you to install newer versions of PostgreSQL for example 9.0 if you need the newest cluster functionality delivered with upcoming PostgreSQL 9.1 you need to build the software manual as long as there …


Continue reading

Update CentOS 5.4 to CentOS 5.5

Posted on Tue 19 April 2011 in Linux • Tagged with CentOS

How to update CentOS 5.3 to CentOS 5.4

It's done.

CentOS 5.4 was released on 22. Oct 2009

If you wan to update, first verify there are no known problems or version conflicts with your software.

Be sure you have a backup and take a snapshot if …


Continue reading

Install ntop on CentOS

Posted on Tue 19 April 2011 in CentOS • Tagged with CentOS, ntop

Install rpmforge repository: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

There is an ntop rpm in the rpmforge repository:

yum install ntop

There is a bug in the /etc/init.d/ntop startscript we need to fix. Open the file in your favorite editor for example vim:

vim /etc/init …

Continue reading

Automatic updates on CentOS

Posted on Tue 19 April 2011 in CentOS • Tagged with CentOS

If you want to be sure all security updates are installed automatic you can use yum-cron. Be sure you have configured your yum correctly not to update wrong things from different repositories.

  1. Install yum-cron
yum install yum-cron
  1. add yum-cron to your runlevels
chkconfig --levels 35 yum-cron on
  1. start yum-cron
service …

Continue reading

Setup bridge device on CentOS

Posted on Tue 19 April 2011 in misc • Tagged with CentOS, KVM

Howto setup a bridge device on CentOS or Fedora.

If you need to bring your KVM VM's into the same local area network like your host is in you need to configure a bridge device.

  1. Install all needed packages:

    yum install bridge-utils

    yum install tunctl

  2. Disable NetworkManager and enable network …


Continue reading

Install ejabberd on CentOS

Posted on Tue 19 April 2011 in CentOS • Tagged with CentOS, Jabber

ejabberd is one of the most popular jabber servers. This howto explains how to run your own jabber server on CentOS using ejabberd.

Installation

First you need to activate EPEL-Repository on your CentOS machine.

install it via yum:

yum install ejabberd

Configuration

configure your firewall to allow following default ports …


Continue reading