![]() OpenJDK Runtime Environment (build 11.0.14+9-Ubuntu-0ubuntu2.20.04) When the installation finishes, check the version of the available Java installation: Then, install the JDK by running the following command:Īnswer y when prompted to continue with the installation. First, update the package manager cache by running: ![]() sudo useradd -m -d /opt/tomcat -U -s /bin/false tomcatīy supplying /bin/false as the user’s default shell, you ensure that it’s not possible to log in as tomcat. ![]() Run the following command to create a user called tomcat: You will also install the Java Development Kit (JDK).įor security purposes, Tomcat should run under a separate, unprivileged user. To begin, you will download its latest version and set up a separate user and appropriate permissions for it. In this section, you will set up Tomcat 10 on your server.
0 Comments
Leave a Reply. |