Wednesday, May 21, 2008

upgrading zlib

I have to upgrade my zlib to version 1.2.3 to upgrade clamav 0.93. If you have recent version (after July 18,2005), you might have it installed already. For older distros, upgrade is a must to avoid security vulnerabilities in 1.2.1 and 1.2.2. You can download the source code here :

Install from source.
1. unpack the source : tar xzvf zlib-1.2.3.tar.gz
2. change to source dir: cd zlib-1.2.3
3. configure it: ./configure --shared --prefix=/usr
4. 'make' it: make
5. install it: make install (this will install the library in dir /usr)

Extra check:
1. Go to /usr/lib and check whether symbolic links are ok :
[root@proxy lib]# ls -l libz*
lrwxrwxrwx 1 root root 13 May 16 06:29 ->*
lrwxrwxrwx 1 root root 13 May 16 06:29 ->*
-rwxr-xr-x 1 root root 82305 May 16 06:29*

If old libraries are still lying around or and point to old library e.g ->, delete them.

That's all there is to it.

zlib home

Wednesday, May 7, 2008

Installing CentOS 5.1

Hi all,

I am installing CentOS 5.1 to a machine at my friend's office. I had to download 7 ISOs beforehand but it needs only 5 CDs for complete installation (depending on what packages I want to install). I might have downloaded the DVD iso but since I don't have DVD-RW drive, I chose to download the CD ISOs.

The machine is HP Proliant 350 G5 with Intel Xeon processor and it is a 64-bit machine (as all modern Xeon processors are). The machine has been installed Fedora Core 5 before and it had many problems as FC5 is designed for desktop and not server. This should be expected. The machine will be used for database, dhcp and DNS server.