![]() ![]() Lastly, change script permissions to grant execute access in /opt/tomcat/bin/with: sudo sh -c 'chmod +x /opt/tomcat/bin/*.sh' Step 7: Create System Unit File Grant group and user ownership over the installation directory to the tomcat group and user with the command: sudo chown -RH tomcat: /opt/tomcatģ. ![]() Move to the directory where the Tomcat installation is located: cd /opt/tomcatĢ. You need to setup execute privileges over the directory.ġ. The new Tomcat user you created does not have executable privileges, but it needs to access the installation directory. Then, extract the file in the new directory with the following command: sudo tar xzvf apache-tomcat-9*tar.gz -C /opt/tomcat -strip-components=1 Step 6: Modify Tomcat User Permission To extract the tar.gz Tomcat file, create a new /opt/tomcat/ directory with the command: sudo mkdir /opt/tomcatĢ.
0 Comments
Leave a Reply. |