Nginx operation

  1. Activation: nginx
  2. After modifying the configuration file, restart: nginx -s reload
  3. Nginx stop: nginx -s stop

Usage of a port

  1. View: lsof -I :8080
  2. To stop a process: kill the corresponding PID

Modifying file Permissions

chmod -R 777 filePath