Linuxlinux服务器初建之tomcat安装install tomcat on linux安装tomcat安装tomcat1 sudo yum install tomcat 安装管理包1 sudo yum install tomcat-webapps tomcat-admin-webapps 安装在线文档1 sudo yum install tomcat-docs-webapp tomcat-javadoc 配置tomcat管理页面1 sudo vi /usr/share/tomcat/conf/tomcat-users.xml 1 2 3 <tomcat-users> <user username="admin" password="admin" roles="manager-gui,admin-gui"/> </tomcat-users> 重启1 sudo service tomcat restart 访问试试1 2 http://yourIP:8080 http://yourIP:8080/manager/html