Created
February 24, 2014 01:37
-
-
Save ConoHa/9180281 to your computer and use it in GitHub Desktop.
【ConoHa】とりあえずphpMyAdminを入れてみる(セキュリティ上非推奨)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yum -y install mysql-server mysql-devel phpMyAdmin php-mysqli | |
# chkconfig mysqld on | |
# service mysqld start | |
# mysql_secure_installation | |
rootのパスワード設定以外Enterで進行 | |
# iptables -I INPUT -j ACCEPT -p tcp --dport 80 | |
# service iptables save && service iptables restart | |
# echo "Alias /phpmyadmin /usr/share/phpMyAdmin" > /etc/httpd/conf.d/phpMyAdmin.conf | |
# chkconfig httpd on | |
# service httpd start | |
http://.../phpmyadmin/ に ID:root, パスワード: 設定したもの でアクセス |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment