WordPress搭建安装

1.下载WordPress到指定文件下
[root@xianxin ~]# cd /soft/code/
[root@xianxin code]# ls
info.php wordpress-5.7.1-zh_CN.tar.gz
2.解压文件
[root@xianxin code]# tar zxf wordpress-5.7.1-zh_CN.tar.gz
3.进入MySQL
[root@xianxin code]# mysql -uroot -ptest(-p后加自己创建数据库的密码)
1.创建数据库并查看
2.配置MySQL接受远程登录连接
3.刷新MySQL的系统权限相关表并退出
[root@xianxin code]# cd wordpress
[root@xianxin wordpress]# ls
4.复制并修改配置文件
[root@xianxin wordpress]# cp wp-config-sample.php wp-config.php
[root@xianxin wordpress]# vi wp-config.php
5.浏览网页并登录
http://192.168.60.78/wordpress