0
0

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 3 years have passed since last update.

EC2でHPPTSサーバーを立ち上げる

Last updated at Posted at 2021-06-04

こちらの記事を参考に。
https://qiita.com/RubiLeah-com/items/73433eaf6b5d3ed45133

sudo yum install apache2ではなく、sudo yum install httpdでApacheをインストール。
設定ファイル等も、/etc/apache2の中ではなく、/etc/httpdの中なので注意。
https://qiita.com/u-bayashi/items/ce3ecb3badda60179fab

このままではSSLモジュールが入っていないので、sudo yum install mod_sslでインストール。
https://qiita.com/jinnai73/items/638dcc1434d47b12e6ba

こちらを参考にSSL証明書を取得。自動更新。
https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04-ja

https://qiita.com/RubiLeah-com/items/73433eaf6b5d3ed45133
phpMyAdminを使用するときはsudo yum install phpを忘れずに。
https://stackoverflow.com/questions/23235363/forbidden-you-dont-have-permission-to-access-phpmyadmin-on-this-server

こちらで、socketを更新。
https://qiita.com/cathei/items/a9854befd25f0562a0b7

こちらの/etc/phpmyadmin/config.inc.phpの設定も忘れずに。
https://absg.hatenablog.com/entry/2014/08/21/165707

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?