1. 主页 > 社会焦点

phpmyadmin配置安装(phpmyadmin安装使用教程)

一、yum源文件更新

yum -y update

二、安装PHP7

rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm

rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

yum install php70w.x86_64 php70w-cli.x86_64 php70w-common.x86_64 php70w-gd.x86_64 php70w-ldap.x86_64 php70w-mbstring.x86_64 php70w-mcrypt.x86_64 php70w-mysql.x86_64 php70w-pdo.x86_64

三、安装PHP FPM

yum install php70w-fpm

systemctl start php-fpm.service

设置开机启动

systemctl enable php-fpm.service

四、安装Apache

yum install httpd

systemctl enable httpd

systemctl start httpd

五、安装MySQL7

wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm

yum localinstall mysql57-community-release-el7-8.noarch.rpm

yum install mysql-community-server

systemctl start mysqld

systemctl enable mysqld

查看MySQL7初始化密码

grep ‘temporary password’ /var/log/mysqld.log

mysql -u root -p

输入密码登录

修改初始密码

ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘新密码!’;

设置远程链接权限

grant ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘密码’ WITH grant OPTION;

重启生效

systemctl restart mysqld

六、安装phpMyadmin

yum yum install phpmyadmin

修改phpmyadmin配置文件

vi /etc/httpd/conf.d/phpMyAdmin.conf

保存配置退出

重启Apache

systemctl restart httpd

PHPmyadmin访问地址:http://服务器IP地址或域名/phpmyadmin/

本文内容由互联网用户自发贡献,该文观点仅代表作者本人。如发现本站有涉嫌抄袭侵权/违法违规的内容,请发送邮件至 203304862@qq.com

本文链接:https://jinnalai.com/jiaodian/23414.html

联系我们

在线咨询:点击这里给我发消息

微信号:

工作日:9:30-18:30,节假日休息