4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【tutorial】AWS EC2にApacheをインストール→テストページを表示

Last updated at Posted at 2018-04-16

2018/4/16に実施。

1.EC2のインスタンスを作成。
https://qiita.com/d778980/items/956a4cd57b82c0428739

2.SSHでEC2に接続。

3.↓のコマンドを実行。

sudo yum -y install httpd
sudo service httpd start

4.EC2ダッシュボードを開き、「セキュリティグループ」をクリック。
1.jpg

5.セキュリティグループを選択して「アクション」→「インバウンドルールの編集」をクリック。
2.jpg

6.「ルールの追加」をクリック。
3.jpg

7.タイプをHTTPに変更して「保存」をクリック。
4.jpg

8.ブラウザでテストページを表示。
http://(パブリックDNS)
5.jpg

終わり。

4
4
0

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
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?