![]() ![]() sudo chown -R tomcat:tomcat /opt/tomcat/ Step 4 – Enable Host/Manager for Remote IPīy default Tomcat manager and host-manager, pages are enabled to access from localhost only. Then extract the archive file and copy all the files under the tomcat home directory tar xzf apache-tomcat-9.0.70.tar.gz sudo mv apache-tomcat-9.0.70/* /opt/tomcat/Īlso, set the proper ownership of all files. To download Apache Tomcat archive file from Apache tomcat official download server use the following command: wget The Apache Tomcat is available on official download pages, Where you can select the nearest peers to download Tomcat faster. ![]() The above command will create a user with the name “ tomcat” with a group named “tomcat”. sudo useradd -m -d /opt/tomcat -U -s /bin/false tomcat So, create a separate account to run your Tomcat server on your system. Many system administrators run Tomcat as a root user which is not the correct way for security purposes. OpenJDK 64-Bit Server VM 18.9 (build 11.0.7+10-LTS, mixed mode, sharing) OpenJDK Runtime Environment 18.9 (build 11.0.7+10-LTS) Then check the installed Java version java -version Use the following command to install OpenJDK on your system. Make sure you have Java 8 or higher version installed in your system. Java is the primary requirement for running Tomcat 9 on CentOS 8 Linux system. This tutorial will help you to install and configure the Tomcat 9 server on CentOS 8 and RHEL 8 Linux systems. ![]()
0 Comments
Leave a Reply. |