您的位置:首页 > 其它

加速你的WinXP搜索功能的巧妙方法

2007-04-23 12:24 344 查看
1.root@nginx ~]# vi /usr/local/tomcat/apache-tomcat-8.0.14/conf/tomcat-users.xml
添加如下红色部份
<tomcat-users>
<!--
NOTE: By default, no user is included in the "manager-gui" role required
to operate the "/manager/html" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<role rolename="admin-gui"/>
<role rolename="admin-script"/>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<user username="admin" password="vqiao" roles="admin,manager,role1,tomcat,admin-gui,admin-script,manager-gui,manager-script,manager-jmx,manager-status" />
</tomcat-users>
2.保存,退出
3.重启tomcat
[root@nginx ~]# /usr/local/tomcat/apache-tomcat-8.0.14/bin/startup.sh
本文出自 “飞得更高” 博客,请务必保留此出处http://vqiao.blog.51cto.com/9368913/1600328
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: