![]() The first thing to do is to go to Apache Tomcat’s download page and download the latest stable version of Apache Tomcat, At the moment of writing this article it is version 8: cd /optĪdd tomcat user and group: ln -s /opt/apache-tomcat-8.0.35 /opt/tomcat-latestĬhown -hR tomcat8: /opt/tomcat-latest /opt/apache-tomcat-8.0.35īefore starting Tomcat, configure the CATALINA_HOME environment variable in your system using the following commands. Verify that your implementations are correct with the following command: echo $JAVA_HOME Reload the file so all your changes could take effect with the following command: source /etc/profile Now that you are in the user profile file, add the following code, along with the Path of your installation from the previous step, to the bottom. With the following command, you can view your installs and their path: sudo update-alternatives -config java We will need to find the appropriate path to make these changes. Since many programs nowadays need a JAVA_HOME environment variable to work properly.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |