- scp -i no1.pem -r /Volumes/Code/Customer/410/ethereum_viewer_webapp/dist centos@44.201.61.85:/eth_node/web/webapps/ethereum_viewer_webapp
- scp -i no1.pem /Volumes/Code/Customer/410/ethereum_viewer_webapp/nginx.conf centos@44.201.61.85:/etc/nginx
- start:
- systemctl start nginx
- restart:
- systemctl restart nginx
- status:
- systemctl status nginx
- logs:
- tail -f /eth_node/web/apache-tomcat-webapp/logs/catalina.out
- cat /eth_node/web/apache-tomcat-webapp/logs/catalina.out
- rm /eth_node/web/apache-tomcat-webapp/logs/catalina.out
|