Linux 命令操做另外一臺運用

# stop 53 tomcat
ssh app_user@10.140.130.53 sh ~/tomcat8090/bin/shutdown.sh

# remove
ssh app_user@10.140.130.53 rm -r ~/tomcat8090/webapps/policy*

# copy
scp -r ~/tomcat8090/webapps/policy* app_user@10.140.130.53:~/tomcat8090/webapps/

# start
ssh app_user@10.140.130.53 sh ~/tomcat8090/bin/startup.sh

web

相關文章
相關標籤/搜索