- mkdir /usr/local/java
- cd /usr/local/src
- sh j2sdk-1_4_2-linux-i586.bin
- mv j2sdk1.4.2_06 /usr/local/java
- cd /usr/local/java
- ln -s j2sdk1.4.02-06 java
Now the java directory will be in /usr/local/java/java. I do it like this so I can keep all my different JDKs/JREs in one directory and then just change the symbolic link to point to the current one.
Install Tomcat
- cd /usr/local/src
- tar xfz jakarta-tomcat-5.5.4.tar.gz
- mv jakarta-tomcat-5.5.4 /usr/local/
- ln -s jakarta-tomcat-4.1.29 tomcat
Install ANT
- cd /usr/local/src
- unzip apache-ant-1.6.2-bin.zip
- mv apache-ant-1.6.2 /usr/local
- cd /usr/local
- ln -s jakarta-ant-1.6.0 ant
- ln -s /usr/local/ant/bin/ant /usr/local/bin/ant
Install OPENSSL
- cd /usr/local/src
- tar xfz openssl-0.9.7e.tar.gz
- cd openssl-0.9.7e
- ./config
- make
- make test
- make install
No comments:
Post a Comment