![]() ![]() This makes it easy to start and stop the service. If you have reached this far without any trouble, it is time to add Tomcat’s Systemd service. Next, it is time to make the shell scripts in the opt/tomcat/tomcatapp/bin directory executable with this command: sudo chmod +x /opt/tomcat/tomcatapp/bin/*.sh Then we will grant the tomcat user requisite rights to the /opt/tomcat directory with this command: sudo chown -R tomcat: /opt/tomcat Sudo mv /opt/tomcat/apache-tomcat-9.0.53 /opt/tomcat/tomcatapp Sudo tar -xzf apache-tomcat-9.0.53.tar.gz -C /opt/tomcat/ Once the download is over, we will extract the tar file as seen below: sudo mkdir /opt/tomcat Then, download the latest version of Apache Tomcat binary distribution with the command wget. ![]() We will then create a user apart from root to run the tomcat application: sudo useradd -m -U -d /opt/tomcat -s /bin/false tomcat Then, verify the version installed with these commands: $ java -version However, we have to install Java first with the following command: sudo apt install openjdk-11-jdk Furthermore, it serves the Guacamole java client. Here, our Support Engineers will install the Apache Tomcat Java servlet container which is responsible for running the Guacamole Java war file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |