Skip to content

Instantly share code, notes, and snippets.

@ConoHa
Created February 24, 2014 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ConoHa/9180281 to your computer and use it in GitHub Desktop.
Save ConoHa/9180281 to your computer and use it in GitHub Desktop.
【ConoHa】とりあえずphpMyAdminを入れてみる(セキュリティ上非推奨)
# 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