Before Installation Check your java Jdk installed or not.
Step 1:
Download the Apache tomcat 7 from the bellow link,
Step2:
md5sum apache-tomcat-[#].tar.gz
Next, extract the package:
tar xvzf apache-tomcat-[#].tar.gz
And move the extracted folder into a dedicated directory:
sudo mv apache-tomcat-[#] /usr/local/apache
Step3: Set the path
vi ~/.bashrc
export CATALINA_HOME=/usr/local/apache
Log out and log back into bash to have your changes take effect.
Step4: Start tomcat
sudo /usr/local/apache/bin/startup.sh
Step 5 : Check
Go to web browser and type ,
http://localhost:8080
Deployment of Apache Tomcat 7 in Amazon server
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment