LNMP应用-wordpress开源博客系统的搭建

建议在搭建这个系统之前,大家先学习这两篇博客。

mysql密码权限级别的设置:https://blog.csdn.net/hello_world_qwp/article/details/79551789

try_files配置:https://blog.51cto.com/13322786/2161576

1、WordPress官网:https://cn.wordpress.org/

2、下载并解压

wget https://cn.wordpress.org/latest-zh_CN.tar.gz;

tar -zxvf **.tar.gz;

3、php下载搭建

我的另一篇博客:https://blog.csdn.net/qq_41904061/article/details/100623162

4、nginx配置

5、mysql创建

报错;You are not allowed to create a user with GRANT

create user wds@'localhost' identified by 'wds0k';

grant all privileges on wds.* to wds@'localhost';

6、php服务的启动

systemctl start php72-php-fpm;

7、进入页面测试:

9、用户权限

最终效果;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章