Centos 7 搭建wordpress
1.安装mysql
详情见:http://www.cnblogs.com/jw35/p/6044170.html
2.关闭firewalld与selinux
systemctl stop firewalld.service #临时关闭firewalld setenforce 0 #临时关闭selinux
3.安装httpd,php,php-mysql
yum install httpd -y yum install php -y yum install php-mysql -y #php与mysql连接
4.启动http
systemctl start httpd
5.配置mysql
create database word #创建数据库word create user 'root'@'192.168.100.135' identified by '123456' #创建用户 grant all privileges on word.* to 'root'@'192.168.100.135' #给指定用户加上数据库的权限
6.访问http配置wordpress
安装完成。