Posts

Showing posts with the label tomcat

How to install Apache Tomcat server on Ubuntu 11.04

Image
Hi, Today I'm going to tell you how to install Apache tomcat server on your Ubuntu (Linux) computer. You can install and use it as a portable installation on your pen drive too.Apache tomcat server is used to run .jsp file (Java Server Pages). So first you need to download Apache Tomcat 7.0 from Apache site . DOWNLOAD Apache tomcat here!.. Ok let's do it. Now extract the downloaded apache-tomcat-7.0.19.tar.gz file into desktop or to your pen drive. Then rename it as tomcat (only for our convenience) Open Terminal window (Ctrl+Alt+T) Then go to this folder using this command : cd Desktop/tomcat/bin ( assuming you extracted on your Desktop ) Then run this command(run startup.sh shell script) : ./startup.sh Now open firefox go to this URL : http://localhost:8080/ . Then you should see it like this! Now try a jsp script to test the installation. If you want to, copy this code and save it into tomcat-->webapps-->ROOT as hello.jsp  Then run it http://localhost:8080/hello.j...