1.安裝WAMP–設定path(c:\wamp64\bin\mysql\mysql8.0.21\bin)
2.移動資料庫目錄(c:\wamp64\bin\mysql\mysql8.0.21\data)
3.新增資料庫登入帳密及權限(mysql -u root) root只能本機登入
use mysql;
create user 'student'@'%' indentified by '1234'
grant all pririleges on *.*to 'student'@'%';
4.建立資料庫–wordpress(字元碼:utf8/utf8_unicode)
5.安裝wordpress
d:\server\wordpress
6.設定apache/http.conf
/http.conf
/httpd-vhost.conf
以下為設定
#DocumentRoot "${INSTALL_DIR}/www"
#<Directory "${INSTALL_DIR}/www/">
>>設定網站資料
DocumentRoot "c:/server/wordpress"
<Directory "c:/server/wordpress/">
Options +Indexes +FollowSymLinks +Multiviews
>>防網路清單顯示
Options +FollowSymLinks +Multiviews
Require local
>>允許外網連線
Require all granted
7.設定wordpress
http//secde.ddns.net