sudo apt-get install openjdk-7-jdk Step 2 » Now Install tomcat 7 and other packages using the below command. Step 1 » Install JDK 7 before installing tomcat. This method is easy, but you will get repository version. you can access admin pages after authentication. ![]() sudo update-rc.d tomcat754 defaults Step 8 » Now open in your browser, you could get the tomcat page like below. sudo /etc/init.d/tomcat754 startand issue the below command to start service automatically while booting. sudo chmod 755 /etc/init.d/tomcat754 Step 7 » Now start the service. #!/bin/bashĮxport CATALINA_HOME=/usr/local/apache-tomcat-7.0.54 Please change CATALINA_HOME value according to your path. This will create service called tomcat754. Step 5 » Create a new file tomcat754 in /etc/init.d/ and add the below code. tar -xvf apache-tomcat-7.0.54.tar.gz sudo mv apache-tomcat-7.0.54 /usr/local/ Step 4 » Choose username and password to manage tomcat and add to the file /usr/local/apache-tomcat-7.0.54/conf/tomcat-users.xml like the below. sudo apt-get install openjdk-7-jdk Step 2 » Download latest tomcat version ( Choose latest version from here – Download Apache Tomcat ) wget Step 3 » Extract the package and move to /usr/local/ folder. Manual installation is highly recommended as you will get latest tomcat version. Using Apt-get method, you will get repository version. For tomcat 7 latest version, choose manual installation. This article contains 2 methods of installation:- Manual and Apt-get. ![]() This article helps you to install Tomcat 7 on ubuntu 14.04. ![]() Apache Tomcat is an open source web application which is used to deploy JAVA servlets and JSPs.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |