ldconfig : How to?

1) add the path of the missing libraries in the file /etc/ld.so.conf 2) execute the following command: ldconfig this way, you’ll add the new libraries to the default ones. 3) To check whether the new libraries have been linked, execute the following command: ldconfig -p to have the list of libraries currently linked by default.

See More

Kernel Upgradation

cd /usr/src/ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.4.tar.gz tar -zvxf linux-2.6.17.4.tar.gz cd linux-2.6.17.4 cp /boot/config-2.6.9-22.ELsmp /usr/src/linux-2.6.17.4/.config make clean make mrproper make oldconfig (Note that oldconfig will only work within the same major version of the kernel. You cannot, for example, use a 2.4.x .config with the 2.6.x kernel) keep hitting enter and take the defaults until you get to […]

See More

JDK : Installation

DOWNLOAD: http://java.sun.com/javase/downloads/index.jsp ls -la chmod 755 jdk-6u2-ea-bin-b02-linux-i586-12_apr_2007-rpm.bin ./jdk-6u2-ea-bin-b02-linux-i586-12_apr_2007-rpm.bin java -version updatedb;locate javac |grep bin alternatives –install /usr/bin/java java /usr/java/jdk1.6.0_02/bin/java 100 alternatives –install /usr/bin/jar jar /usr/java/jdk1.6.0_02/bin/jar 100 alternatives –install /usr/bin/javac javac /usr/java/jdk1.6.0_02/bin/javac 100 /usr/sbin/alternatives –config java /usr/sbin/alternatives –config java java -version Change the path as per the JDK version in alternatives command like alternatives –install /usr/bin/java […]

See More