目前在網路上找到關於 awstat 的安裝,針對 Debian4.0r0 或 3.1r0 寫的說明,好像並不多
且 Debian 中的 awstat 的路徑與其他網頁中又有稍略不同,安裝時,嘗了一些些苦頭 ~"~
決定要將其寫下,不然下次要再重新找資料,把過往記憶找回~實在太難了
為了寫此操作設定,將設定好的 awstats 完整移除,再重新安裝一次,並一步步寫下,才能完整記錄過程
如有錯誤,再麻煩指正了,謝謝~
實驗環境:
Debian4.0r0 Apache2.2 awstat6.5(關鍵字的預設編碼似有錯誤的情況;若有,就參考另一篇 utf8的調校)
假定網站的 Domain 為 aaa.ns2go.com
1.install awstats package
#apt-get install awstats
2.編輯 /etc/awstats/awstats.aaa.ns2go.com.conf (將 awstats.conf 複製並重新命名為:awstats.aaa.ns2go.com.conf )
#cd /etc/awstats
#cp awstats.conf awstats.aaa.ns2go.com.conf
Tags: awstats, debian










