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 Tor on Fedora

Posted on Tue 19 April 2011 in Fedora • Tagged with Fedora, Tor

This tutorial explains how to install Tor on a Fedora system. If you are looking for an easy to use solution check you this new all in one package here.

There is a Fedora package of Tor. We need to install 2 packages:

  • tor
  • privoxy

(if you don't install tor …


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

Build Squid with --enable-ssl on Debian

Posted on Tue 19 April 2011 in Debian • Tagged with Debian, Squid, Linux

If you need an SSL-proxy connection via squid on Debian/Linux you need to recompile the squid-2.7 package with --enable-ssl option.

Here a short step by step  tutorial how to rebuild a squid .deb package with --enable-ssl option.

Enable source repository on your buildmachine. To describe it in words …


Continue reading

Install Tor bridge on FreeBSD

Posted on Tue 19 April 2011 in FreeBSD • Tagged with FreeBSD, Tor

If you want to run tor on FreeBSD 8.0 you first have to update your port tree. If you not used with port please see the FreeBSD documentation.

This should fetch and install the newsest port tree:

portsnap fetch
portsnap extract

Now we need to install openssl from port …


Continue reading