歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux技術 >> LNMP一鍵安裝包常見錯誤及解決方法(不定期更新)

LNMP一鍵安裝包常見錯誤及解決方法(不定期更新)

日期:2017/3/1 18:08:49   编辑:Linux技術
1、開始安裝LNMP時,前面提示error: package httpd is not installed , error: package php is not installed ,error: package mysql is not installed
這個不是錯誤信息,這個是堅持系統環境,請不必在意這個問題。

2、開始安裝LNMP時,停在 make[3]: Leaving directory `/root/lnmp0.4-full/mysql-5.1.44/mysql-test 不動。

這個地方會消耗的時間比較長,多等一下就可以了。

3、安裝完LNMP後出現502 Bad Gateway
解決方法:http://bbs.vpser.net/viewthread.php?tid=1144

4、安裝完LNMP後,直接訪問IP顯示403 Forbidden
安裝完成後域名/home/wwwroot/下面沒有index文件,所以直接訪問IP會顯示403 Forbidden。

5、安裝完LNMP後,安裝Pureftpd出現:configure: error: Your MySQL client libraries aren't properly installed
解決方法:http://bbs.vpser.net/thread-1367-1-7.html

6、安裝完Pureftpd,用創建的ftp帳號鏈接顯示530驗證錯誤。
解決方法:530 驗證錯誤應該是mysql鏈接信息錯誤引起的,檢查一下/usr/local/pureftpd/pureftpd-mysql.conf 和/home/wwwroot/ftp/config.php 中的mysql鏈接信息和mysql數據庫中的信息是否一致。
Copyright © Linux教程網 All Rights Reserved