Q:使用Putty出現”Disconnected:No supported authentication methods available”錯誤提示?
A:因爲遠程服務器禁止使用密碼驗證功能,你可以通過vi /etc/ssh/sshd_config,找到PasswordAuthentication no改爲yes保存重啓服務即可。
Q:在瀏覽器中IP:index.php無法加載,只能加載靜態頁面(index.html)
A:運行命令vi /etc/nginx/nginx.conf,在文件中找到以下片段include /etc/nginx/default.d/*.conf;在前面加#