Tomcat 8 Apps Manager Quick Start on Linux-Unix
The Tutorial shows you How to Getting-Started Easily with Servlets and JSP JEE Development on Apache Tomcat 8 Server on Linux/Unix.
To Getting-Started with Tomcat 8 Server is Best Provide Directly to Download and Install the Latest Official Tomcat 8 Distribution.
The Contents and Details are Expressly Essentials to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Read & Understand ;)
-
How to Install Tomcat 8 Server on Linux/Unix
-
Open a Terminal Window
(Press “Enter” to Execute Commands). -
Check if $CATALINA_HOME is Set.
echo $CATALINA_HOME
If not then edit the Bash Config file:
nano ~/.bashrc
Append:
export CATALINA_HOME=/opt/apache-tomcat-8
Or some other installation location…
Ctrl+x to Save & Exit from nano ;) -
Edit the tomcat-users.xml File.
sudo nano $CATALINA_HOME/conf/tomcat-users.xml
Insert into the tomcat-users section:
<role rolename="manager-gui" />
<user username="admin" password="admin" roles="manager-gui"/>
-
Restart Tomcat
sudo $CATALINA_HOME/bin/shutdown.sh
sudo $CATALINA_HOME/bin/startup.sh
-
Test Access to Tomcat 8 Apps Manager on.
- user: admin
- pass: admin
Next Remember to Set a New Secure User/Pass Combination!.
-
Tomcat 8 Deployment Quick Start Guide