欧美三区_成人在线免费观看视频_欧美极品少妇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條評論
主站蜘蛛池模板: 毛片国产| 国产在线自在拍91精品黑人 | 夜夜撸夜夜爽 | 色图综合 | 久久久久久国产精品免费免费狐狸 | 国产馆精品推荐在线观看 | 日本在线播放一区二区 | 免费的黄色网 | 日本黄色大片免费看 | 天天爽夜夜爽人人爽 | 日本不卡一区在线观看 | 一区二区福利视频 | 在线午夜 | 亚洲精品专区 | 国产精品1区2区3区 二区国产 | 国产99久久精品 | 欧美日韩三级 | 天天做天天爱天天爽综合区 | 欧美日韩高清不卡免费观看 | 午夜黄网 | 日日做夜夜操 | AV国産精品毛片一区二区三区 | 天天看高清特色大片 | 国产一卡二卡三卡 | av黄色在线 | sese国产 | gvg668| 亚洲精品一区在线观看 | 操一操| 日本久草视频 | 特黄特色的免费大片看看 | 欧美综合网 | 国产成人精品免费视频大全最热 | 久久日本精品国产精品白 | 国产精品拍拍拍福利在线观看 | 青青草免费国产线观720 | 天天天天天天天操 | 国产午夜精品一区二区三区嫩草 | 日韩在线免费播放 | 国产在线视频网 | 国产精品一区在线观看你懂的 |