Category Archives: CentOS

Install SUN/Oracle JDK on CentOS or Fedora

1. Download SUN or now Oracle JDK (.rpm.bin format) from Oracle Website: http://www.oracle.com/technetwork/java/javase/downloads/index.html 2. make .bin file executeable chmod +x <file>.rpm.bin 3. run the installer ./<file>.rpm.bin 4. link the installed jdk into your environment alternatives –install /usr/bin/java java /usr/java/default/bin/java 1 alternatives –config java 5. test java -version output should look like this: java version “1.5.0_19″ [...]

Install PostgreSQL 9.0.x on CentOS

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 is no 9.1 repository available. If you [...]

Update CentOS 5.4 to CentOS 5.5

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 your using VMWare or other virtualization technologie. Then [...]

Install ntop on CentOS

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.d/ntop change the line at start function from: daemon $prog -d -L @/etc/ntop.conf to: daemon $prog @/etc/ntop.conf [...]

Automatic updates on 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 2. add yum-cron to your runlevels chkconfig –levels 35 yum-cron on 3. start yum-cron service yum-cron [...]

Setup bridge device on CentOS

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 at boot time: [...]

Install ejabberd on CentOS

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: 5280:tcp for configuration [...]

Stop ACTA