Jump to content

上傳vBulletin論壇程式、解壓縮、網站目錄 www-data www-data


Jack

Recommended Posts

---------------------------------------------------
上傳vBulletin論壇程式、解壓縮
---------------------------------------------------

停止Nginx
/etc/init.d/nginx stop

 

SFTP上傳論壇程式到根目錄
cd /var/www/域名.com

 

解壓縮
unzip -o vbb.zip

 

 

-----------------------------------------------------
更改網站的 擁有人/群組 為 www-data www-data
-----------------------------------------------------

vbb論壇解壓縮之後,會看到 擁有人/群組 是 root root
ls -l

 

更改網站目錄與檔案的擁有人/群組
chown -R www-data:www-data /var/www/域名.com

cd /var/www/域名.com

 

可看到 擁有人/群組 已改為 www-data www-data
ls -l

 

啟動Nginx
/etc/init.d/nginx start

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...