Installing tomcat in DigitalOcian CentOS Server and setting Manager and Admin users to access from the remote system instead of accessing tomcat from the browser of tomcat installed system
<pre> wget http://mirrors.wuchna.com/apachemirror/tomcat/tomcat-9/v9.0.12/bin/apache-tomcat-9.0.12.tar.gz tar xzf apache-tomcat-9.0.12.tar.gz mv apache-tomcat-9.0.12 /usr/local/tomcat9 //Add path to the .bashrc user cat .bashrc echo "export CATALINA_HOME="/usr/local/tomcat9"" >> ~/.bashrc cat .bashrc source ~/.bashrc //FOR MANAGER // Open below file sudo vi /usr/local/tomcat9/conf/tomcat-users.xml // Add below User inside the <tomcat-users> element and then save and exit <!-- user manager can access only manager section --> <role rolename="manager-gui"/> <user username="tomcat_manager" password="tomcat@123" roles="manager-gui"/> // Open below file and comment the 2 tags inside the <Context> element & and then save and exit sudo vi /usr/local/tomcat9/webapps/manager/META-INF/context.xml //FOR HOST M...