LoginSignup
12
17

More than 5 years have passed since last update.

Amazon LinuxにNginxをインストール

Posted at

Amazon Linuxを無料枠で使えるのでこき使おう:laughing:

Nginxをインストールして、WEBサーバが動いているのを確認するまでのメモ
今回使用したいのはこれ!
image.png

nginxのインストール

sudo yum update
sudo yum install nginx

nginxのリスタート

sudo service nginx restart

nginxの自動起動の設定

sudo chkconfig nginx on

WEBサーバにアクセスして確認

EC2インスタンスの詳細画面を開いてIPアドレスを確認する。
image.png

アクセス!!LOVE!!
image.png

12
17
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
17