Jimpop TW Code Note
顯示具有
Apache
標籤的文章。
顯示所有文章
顯示具有
Apache
標籤的文章。
顯示所有文章
2014年12月28日 星期日
[Apache] 解決 Could not reliably determine the server's fully qualified domain name ...
如果apache剛灌好,啟動時總會出現以下錯誤訊息:
Starting httpd: httpd: apr_sockaddr_info_get() failed for xxx
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
閱讀更多 »
[Apache]建立虛擬網站 virtual hosts
參考網站:
[1]
http://twohlix.com/2011/05/setting-up-apache-virtual-hosts-on-centos/
1.建立相關資料夾
#mkdir
/etc/httpd/
sites-available
#mkdir
/etc/httpd/
sites-enabled
這裡要說明一下
為什麼要建立兩個資料夾
,
依照apache給的設定,只需要載入某個資料夾的 *.conf 就可正常執行了。
閱讀更多 »
[Apache] log檔分割工具-cronolog
參考網址:
[1]
http://loki.ind.ntou.edu.tw/blog/?p=744
[2]
http://cronolog.org/download/index.html
[3]
http://disp.cc/b/11-3SOT
1. 下載 cronolog
http://fossies.org/linux/www/cronolog-1.6.2.tar.gz
# wget http://fossies.org/linux/www/cronolog-1.6.2.tar.gz
2. 解壓縮
tar zxvf cronolog-1.6.2
閱讀更多 »
較舊的文章
首頁
訂閱:
文章 (Atom)