よく使うNGINXコマンド集を紹介します。
NGINXの状態(起動or停止)を確認する
systemctl status nginx

NGINXを起動する
systemctl start nginx


NGINXを停止する
systemctl stop nginx


NGINXの自動起動を有効化する
systemctl enable nginx

+α:特定のポート番号で実行中のプロセスを表示する
lsof -i:ポート番号

よく使うNGINXコマンド集を紹介します。
systemctl status nginx
systemctl start nginx
systemctl stop nginx
systemctl enable nginx
lsof -i:ポート番号
▼ おすすめ本
» 世界一流エンジニアの思考法
※Amazon公式サイトへ遷移します