...
We are now ready to install tomcat
Fetch the version of tomcat you want from apache.org
Code Block language text title Installing Tomcat cd /opt wget http://www.us.apache.org/dist/tomcat/tomcat-8/v8.0.27/bin/apache-tomcat-8.0.27.tar.gz tar xzf apache-tomcat-8.0.27.tar.gz
Configuring Environment variables
Code Block language text title Installing Tomcat echo "export CATALINA_HOME="/opt/apache-tomcat-8.0.27"" >> ~/.bashrc source ~/.bashrc
- Starting tomcat
Code Block language text title Installing Tomcat cd /opt/apache-tomcat-8.0.27 ./bin/startup.sh
...