Jack Posted May 27 Share Posted May 27 --------------------------------------------------- 上傳IPS論壇程式、解壓縮 --------------------------------------------------- 停止Nginx /etc/init.d/nginx stop SFTP上傳論壇程式到根目錄 cd /var/www/域名.com 解壓縮 unzip -o ips.zip ----------------------------------------------------- 更改網站的 擁有人/群組 為 www-data www-data ----------------------------------------------------- IPS論壇解壓縮之後,會看到 擁有人/群組 是 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now