1,首先安装MySQL。

http://www.cnblogs.com/zyh120/p/6066983.html

2,继续安装httpd,php,php-mysql这3个服务。

[root@localhost log]# yum install httpd -y

[root@localhost log]# yum install php -y

[root@localhost log]# yum install php-mysql -y

3,关闭本地防火墙。

Centos 7下搭建WordPress

4,进入MySQL并创建一个数据库。

Centos 7下搭建WordPress

5,创建一个用户

Centos 7下搭建WordPress

6,给所创建的用户赋予权限。

Centos 7下搭建WordPress

7,把htme文件夹的访问权限赋予给所有用户。

[root@localhost log]# chmod o+w /var/www/html -R

8,把WordPress文件上传到/var/www/html目录下。

Centos 7下搭建WordPress

9,访问http配置wordpress

Centos 7下搭建WordPress

10,完成安装。

Centos 7下搭建WordPress

相关文章:

  • 2021-12-04
  • 2021-11-13
  • 2021-10-10
  • 2018-06-15
  • 2021-12-10
  • 2021-12-15
猜你喜欢
  • 2021-12-09
  • 2021-09-27
  • 2021-09-30
  • 2021-11-20
  • 2020-07-23
  • 2021-12-28
  • 2021-09-27
  • 2021-09-30
相关资源
相似解决方案