Archive for the ‘CentOS’ Category

Install Tomcat 6.0.18 on CentOS 5.3

Sunday, November 8th, 2009

It is super easy, just download, extract and run it.

  1. wget http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.18.tar.gz
  2. set JAVA_HOME to point at the jdk location I found with “export JAVA_HOME=/usr/local/jdk1.6.0-17/ (see here)
  3. tar zvxf apache-tomcat-6.0.18.tar.gz
  4. cd apache-tomcat-6.0.18/bin
  5. ./startup.sh

Install JDK 6 on CentOS 5.3

Wednesday, November 4th, 2009

Download from

http://java.sun.com/javase/downloads/index.jsp

Then execute these commands:

chmod +x jdk-6u17-linux-i586.bin

cd /usr/local

/root/jdk-6u17-linux-i586.bin


Install CentOS 5.3 on Windows 2008 R2 Hyper-V

Thursday, October 8th, 2009

I tried install CentOS 5.3 on Hyper-V Version 2 before, it DID NOT work, I googled  and found this was very useful:

http://www.jules.fm/Logbook/files/win2008_linuxic_rc2_rhel.html

However, the author said the method did not support CentOS 5.3. When Windows 2008 R2 came out, I tried it again, it worked fine.

The installation is very easy:

  1. Download the CentOS 5.3 ISO file from www.centos.org
  2. Create a virtual machine on Windows 2008 R2 Hyper-V system.
  3. Install CentOS 5.3 on the virtual machine.
  4. yum update (When I do “yum update” on Hyper-V Version 2 system, the CentOS 5.3 will die on boot up with error message of “kernel panic”)
  5. Download Linux_IC from Microsoft Website and install it to the installed CentOS 5.3.
  6. Setup Mouse driver
  7. UPDATE November 19, 2009: Make sure add Legacy Network Adapter, otherwise, you can not see the network card when you use setup utility.

That’s it. All done!

TODO: I am going to write the details for this topic. Before I finish it, if you encounter any problem during the installation, please leave me a comment, I will try my best to answer your  question.