Extract the downloaded zip or tar.gz file.
Extracted folder will show following content
Open tomcat-users.xml file from conf folder in editor. Add following lines
<role rolename=”manager-gui”/>
<role rolename=”admin-gui” />
<user username=”admin” password=”admin” roles=”manger-gui,admin-gui” />
Save and Close the file.
Now its time to start the tomcat server. Open terminal, navigate to bin directory and run following command [To make all scripts executable ]
chmod +x *.sh
Now execute sh startup.sh to start the server [ Shown below ]. It will show a message Tomcat Started.
Open browser [ safari / firefox / chrome ], open localhost:8080
Now click on Manager App button on right side which will ask for username and password. Enter admin as username and admin as password [ We configured the same in tomcat-users.xml] and press ok.
You can see all the application and there respective states.