upload 479 B

12345678910111213141516
  1. sudo scp -i ~/Desktop/no1.pem -r /Volumes/Code/Customer/410/ethereum_viewer_webapp/dist ec2-user@3.227.34.41:/webapp/frontend
  2. scp -i no1.pem /Volumes/Code/Customer/410/ethereum_viewer_webapp/nginx.conf ec2-user@3.227.34.41:/etc/nginx
  3. start:
  4. systemctl start nginx
  5. restart:
  6. systemctl restart nginx
  7. status:
  8. systemctl status nginx
  9. stop:
  10. systemctl stop nginx
  11. logs:
  12. tail -f /eth_node/web/webapps/access.log
  13. tail -f /eth_node/web/webapps/error.log
  14. cat /eth_node/web/webapps/error.log