如何使用内置于 Host Manager gui 的 Apache tomcat 7? [英] How do I use Apache tomcat 7 built in Host Manager gui?

查看:20
本文介绍了如何使用内置于 Host Manager gui 的 Apache tomcat 7?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Windows 服务器上有 Apache Tomcat 7.0.5,我看到它有一个内置的主机管理器,但我似乎找不到任何关于如何使用它或设置虚拟主机的有用信息使用那个 GUI.

Hi I have Apache Tomcat 7.0.5 on my Windows server, and i see that it has a built in Host Manager, but i can't seem to find any useful info on how to use it or set up a virtual Host with that GUI.

这些字段是名称:别名:App Base:AutoDeploy Deploy on Startupdeploy XML UnpackWARS ManageApp:我可以在任何地方获得有关如何设置它的教程或有关此的信息??

The fields are Name: Aliases: App Base: AutoDeploy Deploy on Startupdeploy XML UnpackWARS ManageApp: any where I can get a tutorial on how to set it up, or info on this??

谢谢!

推荐答案

在 Ubuntu 12.04 上全新安装 Tomcat 7 的解决方案.

Solution for a fresh install of Tomcat 7 on Ubuntu 12.04.

编辑这个文件 - /etc/tomcat7/tomcat-users.xml添加此 xml 部分 -

Edit this file - /etc/tomcat7/tomcat-users.xml to add this xml section -

<tomcat-users>
<role rolename="admin"/>
<role rolename="admin-gui"/>
<role rolename="manager-gui"/>
<user username="tomcatadmin" password="tomcat2009" roles="admin,admin-gui,manager-gui"/>
</tomcat-users>

重启Tomcat -

restart Tomcat -

service tomcat7 restart

访问管理器的网址 -

urls to access managers -

  1. tomcat 测试页面 - http://localhost:8080/
  2. manager webapp - http://localhost:8080/manager/html
  3. host-manager webapp - http://localhost:8080/host-manager/html

只是想把最新的信息放在那里.

just wanted to put the latest info out there.

这篇关于如何使用内置于 Host Manager gui 的 Apache tomcat 7?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆