Skip to content

Instantly share code, notes, and snippets.

@jPedroScript
Created November 29, 2013 23:25
Show Gist options
  • Save jPedroScript/7713299 to your computer and use it in GitHub Desktop.
Save jPedroScript/7713299 to your computer and use it in GitHub Desktop.
Apache Tomcat
To disable autostarting, run the following command after installing:
sudo update-rc.d tomcat7 disable
sudo apt-get update
sudo apt-get install tomcat7
apt-cache policy tomcat7
Response:
tomcat7:
Installed: (none)
Candidate: 7.0.26-1ubuntu1.2
Version table:
7.0.26-1ubuntu1.2 0
500 http://br.archive.ubuntu.com/ubuntu/ precise-updates/universe amd64 Packages
500 http://security.ubuntu.com/ubuntu/ precise-security/universe amd64 Packages
7.0.26-1ubuntu1 0
500 http://br.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
root@mymachine:~#
How to check JSP and Tomcat version ?
http://www.indianwebportal.com/check-jsp-tomcat-version
===
Crear un test.jsp con este contenido:
Tomcat Version : <%= application.getServerInfo() %><br>
Servlet Specification Version : <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %> <br>
JSP version : <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %><br>
Run the following command in your console to stop the tomcat7 service:
sudo service tomcat7 stop
Response:
Stopping Tomcat servlet engine tomcat7 [ OK ]
*****How to Install Apache Tomcat 7.0.35 on Ubuntu 13.04 Linux
http://hendrelouw73.wordpress.com/2013/05/07/how-to-install-apache-tomcat-7-0-35-on-ubuntu-13-04-linux/
How to install Tomcat 7.0.42 on Ubuntu 12.04.3 LTS?
http://askubuntu.com/questions/339169/how-to-install-tomcat-7-0-42-on-ubuntu-12-04-3-lts
How To Install Apache Tomcat on Ubuntu 12.04
https://www.digitalocean.com/community/articles/how-to-install-apache-tomcat-on-ubuntu-12-04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment