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、用戶權限

最終效果;

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