AWS EC2 を使ってWordPressの実行環境を構築してみた(5)
(phpMyAdmin install)
$ sudo yum install -y phpMyAdmin
・バックアップ取得
$ sudo cp -a /etc/httpd/conf.d/phpMyAdmin.{conf,conf.bk}
・phpMyAdmin.confの編集
$ sudo vi /etc/httpd/conf.d/phpMyAdmin.conf
--------------------------------
~
< Directory /usr/share/phpMyAdmin/ >
AddDefaultCharset UTF-8
< IfModule mod_authz_core.c >
# Apache 2.4
< RequireAny >
# Require ip 127.0.0.1 ←この行をコメントアウト
# Require ip ::1 ←この行をコメントアウト
Require all granted
~
--------------------------------
-- Build a WordPress execution environment using the EC2 --
(phpMyAdmin install)
$ sudo yum install -y phpMyAdmin
・create buckup
$ sudo cp -a /etc/httpd/conf.d/phpMyAdmin.{conf,conf.bk}
・phpMyAdmin.conf edit
$ sudo vi /etc/httpd/conf.d/phpMyAdmin.conf
--------------------------------
~
< Directory /usr/share/phpMyAdmin/ >
AddDefaultCharset UTF-8
< IfModule mod_authz_core.c >
# Apache 2.4
< RequireAny >
# Require ip 127.0.0.1 ← comment out line
# Require ip ::1 ← comment out line
Require all granted
~
--------------------------------
0 件のコメント:
コメントを投稿