We already see, how to install tomcat in ubuntu in my previous blog(http://kmlsarwar.blogspot.com/2014/08/how-to-install-apache-tomcat-on-ubuntu.html)
In order to use the manager webapp installed, we must add a login to our Tomcat server. We will do this by editing the
Save and quit the tomcat-users.xml file. To put our changes into effect, restart the Tomcat service:
In order to use the manager webapp installed, we must add a login to our Tomcat server. We will do this by editing the
tomcat-users.xml
file:sudo nano /etc/tomcat7/tomcat-users.xml
This file is filled with comments which describe how to configure the
file. You may want to delete all the comments between the following
two lines, or you may leave them if you want to reference the examples:<tomcat-users>
</tomcat-users>
You will want to add a user who can access the manager-gui
and admin-gui
(the management interface that we installed in Step Three). You can do
so by defining a user similar to the example below. Be sure to change
the password and username if you wish:
<tomcat-users>
<user username="admin" password="password" roles="manager-gui,admin-gui"/>
</tomcat-users>
Save and quit the tomcat-users.xml file. To put our changes into effect, restart the Tomcat service:
sudo service tomcat7 restart
Let's take a look at the Web Application Manager, accessible via the link
http://your_ip_address:8080/manager/
:
Comments
Post a Comment