Last active
February 15, 2017 04:08
-
-
Save ayhaadam/034054c15f547e8de0ef77f894003318 to your computer and use it in GitHub Desktop.
Server Command Note
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 重開機 | |
sudo reboot | |
// 設定檔測試 | |
sudo nginx -t | |
// 重啟 nginx | |
sudo systemctl reload nginx | |
// 重啟 PHP FPM | |
sudo systemctl restart php7.0-fpm | |
// 修改權限 | |
sudo chown -R www-data /var/www/html | |
sudo chown -R ayhaadam /var/www/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment