建議在搭建這個系統之前,大家先學習這兩篇博客。
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、用戶權限
最終效果;