Install tomcat
tomcat-users.xml — Admin User
http://server_IP_address:8080
http://server_IP_address:8080/manager/html
http://your_ip_address:8080/host-manager/html/
Enable access to Tomcat from another machine
# yum install tomcat tomcat-webapps tomcat-admin-webapps tomcat-docs-webapp tomcat-javadoc
# vi /usr/share/tomcat/conf/tomcat-users.xml
tomcat-users.xml — Admin User
<tomcat-users>
<user username="admin" password="password" roles="manager-gui,admin-gui"/>
</tomcat-users>
# systemctl start tomcat
# systemctl enable tomcat
http://server_IP_address:8080
http://server_IP_address:8080/manager/html
http://your_ip_address:8080/host-manager/html/
Enable access to Tomcat from another machine
# firewall-cmd --zone=public --add-port=8080/tcp --permanent
# firewall-cmd --reload
# firewall-cmd --list-all-zones
Комментариев нет:
Отправить комментарий