1.安装java :
yum install java
2.下载Tomcat:
wget http://mirrors.shu.edu.cn/apache/tomcat/tomcat-9/v9.0.14/bin/apache-tomcat-9.0.14-fulldocs.tar.gz
3.解压Tomcat:
tar -xvf apache-tomcat-9.0.14.tar.gz -C /usr/local/
cd /usr/local/
mv apache-tomcat-9.0.14/ /usr/local/tomcat/
4.更改Tomcat端口:
vim /usr/local/tomcat/conf/server.xml
5.加载War包:
下载War包:wget wget https://github.com/wangyuepengeast/Study/blob/master/jenkins/dubbo-admin-2.6.0.war
cp dubbo-admin-2.6.0.war /usr/local/tomcat/webapps/
cd /usr/local/tomcat/webapps/
mv dubbo-admin-2.6.0.war dubbo-admin.war
6.启动Tomcat:
/usr/local/tomcat/bin/startup.sh
7.访问页面:
master页面:http://192.168.163.129:8090/
dubbo页面:http://192.168.163.129:8090/dubbo-admin
8.关闭Tomcat:
/usr/local/tomcat/bin/shutdown.sh