1. 程式人生 > >遇到的問題和解決方法

遇到的問題和解決方法

1.問題: apache 啟動問題
#httpd start
httpd:could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for servername
原因:
解決方法:
編輯/www/conf/httpd.conf,加入下面內容,可以解決上面問題:
ServerName localhost:80

2.
問題:
localhost 不能訪問
原因:
localhost 也是一個伺服器名稱,他必須要對應ip地址的。
解決方法:
/etc/hosts新增
127.0.0.1  localhost   localhost

3.
報錯了:
# svn checkout svn://localhost/project1  /home/test_svn
svn 畸形的網路資料

原因:是linux中xined下的svn配置檔案問題

解決方法:修改成正確的svn配置檔案