Set CATALINA_HOME environment variable to point to the base path of the Tomcat installation, which in this case is, /opt/tomcat9. Various environment variables are used by the Tomcat startup scripts to prepare the command that runs Tomcat daemon. ls /opt/tomcat9/ bin BUILDING.txt conf CONTRIBUTING.md lib LICENSE logs NOTICE README.md RELEASE-NOTES RUNNING.txt temp webapps work Set Apache Tomcat 9 Environment Variables The command above extracts the contents of apache-tomcat-9.0.36.tar.gz tarball to the installation directory, /opt/tomcat9. mkdir /opt/tomcat9 tar xzf apache-tomcat-9.0.36.tar.gz -C /opt/tomcat9 -strip-components=1 Once the download of the binary distribution is complete, installation of Apache Tomcat using the binary distribution is as easy as extracting it to some specific directory, which in this case, we used /opt/tomcat9 directory. wget Install Apache Tomcat 9 on Ubuntu 20.04 As of this writing, Apache Tomcat 9.0.36 is the current stable release. Navigate to Apache Tomcat 9 downloads page and grab Apache Tomcat 9 binary distribution tarball. OpenJDK 64-Bit Server VM (build 14.0.1+7-Ubuntu-1ubuntu1, mixed mode, sharing) Download Apache Tomcat Binary Distribution OpenJDK Runtime Environment (build 14.0.1+7-Ubuntu-1ubuntu1) Once the installation completes, you can run the command below to verify the version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |