準備純潔的centos7系統(tǒng)
-
安裝phpstudy,thinkphp開發(fā)環(huán)境
yum install -y wget && wget -O install.sh https://download.xp.cn/install.sh && sh install.sh
- image.png
-
登錄管理面板
image.png
-項目數(shù)據(jù)庫配置:
image.png
-- 數(shù)據(jù)庫腳本(https://gitee.com/poemover/doctor/tree/master/Public/install)
image.png
-- 創(chuàng)建數(shù)據(jù)庫
image.png
-
導(dǎo)入數(shù)據(jù)庫數(shù)據(jù):(https://gitee.com/poemover/doctor.git)
image.png
image.png -
添加站點
image.png
image.png -
配置偽靜態(tài)
image.png -
上傳php項目(https://gitee.com/poemover/doctor.git)
image.png -
配置本地host文件實現(xiàn)dns解析:此處為linux系統(tǒng):
image.png -
訪問測試:
image.png
image.png
image.png