![]() $ sudo useradd -r -m -U -d /opt/tomcat -s /bin/false tomcat $ sudo ln -s /opt/tomcat/apache-tomcat-9.0.12 /opt/tomcat/latestĬreate a new user called tomcat and change ownership of the tomcat folder to the added user. ![]() $ sudo tar -xf apache-tomcat-9.0.12.tar.gz -C /opt/tomcatĬreate a symbolic link so as to control the version release and updates. ![]() $ wget Ĭreate a directory called tomcat or whatever you want (though relevant names are highly advised) in your /opt folder and extract the downloaded contents there. Download the latest version of Tomcat binary from the official site.
0 Comments
Leave a Reply. |