布署phpMyadmin
安装httpd,mariadb,php以及php-mysql
yum -y install httpd mariadb-server php php-mysql
启动httpd和mariadb服务
systemctl start httpd
systemctl start mariadb
数据库安全配置向导
mysql_secure_installation
把之前下载好的phpMyadmin解压缩
tar xvf phpMyAdmin-4.0.10.20-all-languages.tar.xz
把config文件备份并修改名称
cp config.sample.inc.php config.inc.php
创建一个文件夹,用来放置phpMyadmin文件
mkdir /var/www/html/pma
把解压的文件移动到之前创建的目录中
mv * /var/www/html/pma/
安装之前缺失的一个php必要文件
yum -y install php-mbstring
重启httpd服务即可,配置完成
systemctl restart httpd