Need to enter a user name + password manager App
The page will appear the following input errors:
Tomcat-user.xml find the file in the directory tomcat server prompts to go
Add the statement at a predetermined position <user username = "admin" password = "admin" roles = "manager-gui" />
Case are as follows:
[root@instance-ozyu8y37 apache-tomcat-8.0.53]# cd conf
[root@instance-ozyu8y37 conf]# ls
Catalina context.xml tomcat-users.xml
catalina.policy logging.properties tomcat-users.xsd
catalina.properties server.xml web.xml
[root@instance-ozyu8y37 conf]# vi tomcat-users.xml
<!--
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
<user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
<user username="role1" password="<must-be-changed>" roles="role1"/>
-->
<user username="admin" password="admin" roles="manager-gui"/>
</tomcat-users>