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

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

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