![]() ![]() Likewise, if you installed Tomcat in a different folder other then /opt/tomcat (as suggested) you’ll indicate the path in your bash file and edit the lines above. Older versions of Java may say java-7-openjdk-amd64 instead of java-1.8.0-openjdk-amd64. Verify your file paths! If you downloaded a different version or already installed Java, you may have to edit the file path or name. bashrc with the following command:Īdd this information to the end of the file:Įxport JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64Įxport CATALINA_HOME=/opt/tomcat/apache-tomcat-7.0.90 To install Java, simply run the following command (and at the prompt enter Y to continue: The program 'java' can be found in the following packages: If that command returns the following message then Java has yet to be installed: ![]() Beforehand, check to see if Java is installed: You will end up with a file called apache-tomcat-7.0.90.īefore you can use Tomcat, you’ll have to install the Java Development Kit (JDK). If assistance is needed, check out this article: Using SFTP and SCP Instead of FTPĪfter the download completes, decompress the file in your Tomcat folder: You can down the file to your local desktop, but you’ll then want to transfer the file to your Liquid Web server. Next, from your server, use wget command to download the tar to the tomcat folder from the URL you copied in the previous step: At the time of this article Tomcat 7 is the newest version but feel free to pick whatever version is more up-to-date. Place your cursor under 7.0.90 Binary Distributions, right click on the tar.gz file and select Copy Link Address (as shown in the picture below). Logged in as root, within the opt folder make a directory called tomcat and cd into that folder after completion.Ĭlick this link to the Apache Tomcat 7 Download site.
0 Comments
Leave a Reply. |