欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

Setting up Initial Tomcat Administration

系統 2597 0
The source : http://www.netadmintools.com/art340.html

作者寫的夠清楚了,偶就不多說了。^_^

There are a couple web-based administration tools that come with Tomcat, but you have to set up the admin and manager access first. This is done by adding a line to tomcat-users.xml:

            [root@srv-1 conf]# 
            
              pwd
            
            
/opt/tomcat/conf
[root@srv-1 conf]# vi tomcat-users.xml

Add the line with admin,manager in it:

            <?xml version='1.0' encoding='utf-8'?>
            
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user name="ad" password="pw" roles="admin,manager" />
</tomcat-users>

Of course, pick a better name and password. :) Note that the paths in this article are based on the Tomcat install we did in this article . You will need to restart Tomcat for the changes to take effect:

            [root@srv-1 bin]# 
            
              pwd
            
            
/opt/tomcat/bin
[root@srv-1 bin]# ./shutdown.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JAVA_HOME: /opt/j2sdk
[root@srv-1 bin]# ./startup.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JAVA_HOME: /opt/j2sdk
[root@srv-1 bin]#

When we browse to http://srv-1:8080/manager/html , we can log on:



Here is the manager app:



If we browse to http://srv-1:8080/admin/ , we get another logon screen:



From the admin app, we can administer roles and users, as well as do other tasks:

Setting up Initial Tomcat Administration


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 欧美性一区| 色播视频在线观看 | 欧美国产日韩在线观看 | 天天艹日日干 | 在线成人av | 99热97| 午夜dj在线观看神马视频 | 久草视频免费播放 | 搞黄网站免费观看 | 亚洲免费在线视频 | 国产精品爱久久久久久久 | 日产乱码卡一卡2卡三卡四麻豆 | 四虎影视网站 | 久久亚洲精品中文字幕二区 | 精品无人区乱码一区二区三区手机 | 国产免费一级淫片 | 天天干视频网站 | 久久成人免费观看草草影院 | 男人天堂中文字幕 | 在线观看亚洲一区二区 | 曰韩在线视频 | 免费网站看av片 | 日韩精品一区二区三区不卡 | 欧美成视频无需播放器 | 国产精品久久久久久久一区探花 | 91国内精品久久久久免费影院 | 日韩精品a在线视频 | 哥斯拉大战金刚2在线观看免费完整版 | 在线观看国产视频 | 国产99精品一区二区三区免费 | 99re在线| 97日日摸天天碰免费视频 | 美国一级特色大黄 | 久久高清免费视频 | 国产区一区 | 99久久中文字幕伊人 | 国产成人精品高清免费 | 日韩毛片大全免费高清 | 国产日韩一区二区三免费高清 | 九九热线有精品视频99 | 91网址 |