远程centos6.7的tomcat7下部署服务

1.远程连接

远程centos6.7的tomcat7下部署服务

远程centos6.7的tomcat7下部署服务

2.进入命令控制台

需要切换到tomcat下---------本人的-----usr/local/tomcats/tomcat9003zczw-portal

cd----切换

ll----提示

cd ..   -------返回上一级ll

ctrl+c 退出日志

远程centos6.7的tomcat7下部署服务


远程centos6.7的tomcat7下部署服务

远程centos6.7的tomcat7下部署服务

远程centos6.7的tomcat7下部署服务

先停掉之前的服务------切换到  logs

远程centos6.7的tomcat7下部署服务

再退上一级,接着道webapps

远程centos6.7的tomcat7下部署服务

移除  ROOT  整个文件夹

远程centos6.7的tomcat7下部署服务


上传war 到这个目录下----   -一拖就过去了


远程centos6.7的tomcat7下部署服务


解压war和重命名成ROOT

远程centos6.7的tomcat7下部署服务

退回上一级,切换到logs,启动tomat

远程centos6.7的tomcat7下部署服务

输出日志

远程centos6.7的tomcat7下部署服务

ctrl+c退出日志