Created
November 29, 2013 23:25
-
-
Save jPedroScript/7713299 to your computer and use it in GitHub Desktop.
Apache Tomcat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To disable autostarting, run the following command after installing: | |
sudo update-rc.d tomcat7 disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install tomcat7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:~# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run the following command in your console to stop the tomcat7 service: | |
sudo service tomcat7 stop | |
Response: | |
Stopping Tomcat servlet engine tomcat7 [ OK ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*****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