* Download tomcat 7 from http://tomcat.apache.org/download-60.cgi
* Downlo0ad latest jdk from http://www.oracle.com/technetwork/java/javase/downloads/index.html
* Install jdk in /usr/local/jdk/
* Unzip downloaded apache tomcat in /usr/local/apache-tomcat-7.0.34
#unzip apache-tomcat-7.0.34.zip
* Set java home path :
# JAVA_HOME=/usr/local/jdk1.7.0_07
* Set Tomcat home path :
# CATALINA_HOME=/usr/local/apache-tomcat-7.0.34
# BASEDIR=/usr/local/apache-tomcat-7.0.34
* Go to directory /usr/local/apache-tomcat-7.0.34/bin/
* Edit Catalina.sh and add the java path in the first line.
#vim catalina.sh
JAVA_HOME=/usr/local/jdk1.7.0_07 (Add it in the top of the Catalina.sh script).
* Provide the executive permission to all script file under in bin directory.
# chmod +x startup.sh
#chmod +x Catalina.sh
* Start the tomcat :
#./startup.sh
* Check the Tomact from Browser:
http://10.0.0.0:8080 you will get the tomcat home page..
* Downlo0ad latest jdk from http://www.oracle.com/technetwork/java/javase/downloads/index.html
* Install jdk in /usr/local/jdk/
* Unzip downloaded apache tomcat in /usr/local/apache-tomcat-7.0.34
#unzip apache-tomcat-7.0.34.zip
* Set java home path :
# JAVA_HOME=/usr/local/jdk1.7.0_07
* Set Tomcat home path :
# CATALINA_HOME=/usr/local/apache-tomcat-7.0.34
# BASEDIR=/usr/local/apache-tomcat-7.0.34
* Go to directory /usr/local/apache-tomcat-7.0.34/bin/
* Edit Catalina.sh and add the java path in the first line.
#vim catalina.sh
JAVA_HOME=/usr/local/jdk1.7.0_07 (Add it in the top of the Catalina.sh script).
* Provide the executive permission to all script file under in bin directory.
# chmod +x startup.sh
#chmod +x Catalina.sh
* Start the tomcat :
#./startup.sh
* Check the Tomact from Browser:
http://10.0.0.0:8080 you will get the tomcat home page..
No comments:
Post a Comment