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

 

 

 

 

安装完成。

 

 

posted @   懵懂的青春  阅读(2465)  评论(0编辑  收藏  举报
编辑推荐:
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· 一个费力不讨好的项目,让我损失了近一半的绩效!
阅读排行:
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· 没有源码,如何修改代码逻辑?
· PowerShell开发游戏 · 打蜜蜂
· 在鹅厂做java开发是什么体验
· WPF到Web的无缝过渡:英雄联盟客户端的OpenSilver迁移实战
点击右上角即可分享
微信分享提示