Archive for the ·

Debian Linux

· Category...

系統升級成功!終於能上網了…Debian4.0r0 based on PIII 733Mhz

no comments

這幾天測試著 Debian 的 NAT( network address translation ) 

怎麼測 總是error 卡DHCP 卡IP FORWORD 的設定   

Google 著資料 發現各家寫法不一 有難 有簡 交叉測試著

各個環境不同 寫的設定也大不相同 怪怪~~不是做同件事?為何寫的差異度有些大

 

More: Read the rest of this entry…

Tags:

Apache2 version hidden of 404 error page(在404錯誤頁面出現時,將apache2版本資訊隱藏)

no comments

找 apache2 資料時,看到這個不錯的設定,可以避免 apache2 版本資料輕易被外人查出(在404找不到頁面的出現時,版本就自動跑出來啦)

OS version:Debian 4.0r0

Apache version:Apache2

1.edit the file /etc/apache2/apache2.conf

More: Read the rest of this entry…

No tag for this post.

Apache virtual hosts configuration:name-based , Apache 虛擬主機設定,不使用DNS server 方式

2 comments

Apache 所支援的虛擬主機有兩種:

1.IP-based      2.Name-based

從網路上搜尋虛擬主機設定方法,會分這兩類的介紹

很多網友做虛擬主機的設定,好像都要搭配 DNS server 來做,讓紅也一度以為非用 DNS Server 不可? 

搜了搜資料,原來還是可以不用 DNS Server 的!目前紅所實做的是 Name-based 的 virtual hosts ,Name-based 是指多個虛擬主機在同一個 IP 上

實驗環境:Debian4.0r0

More: Read the rest of this entry…

Tags: , , ,

Debian 加入網路套件映射站台(mirror site)至 source.list 進行網路安裝 / 更新吧!

1 comment

Debian3.1r1 安裝完後,若不想手動貼鍵結至 /etc/apt/source.list 中,可以打 apt-setup 去選取想要取得資料的 mirror site (套件映射站)

如果從 3.1r1 update 至 4.0 的話 apt-setup 也還是在的,可以使用

狀況來了~~如果直接使用 Debian 4.0r0 進行離線(Off-line install)安裝,apt-setup 好像不見了 @@ :pinch: 

一度懷疑紅自己是不是記錯?還是忘了什麼~~但又似乎沒有

More: Read the rest of this entry…

Tags:

Debian 4.0r0 release

no comments

這幾天心血來潮,上網看看 Debian 的釋出消息,不知是否有新版本出現

換到中文官方網頁,大大寫著 4.0r0 stable release 的消息,真讓人興奮(雖然在半年多前就已升級至 Debian 4.0 testing 版本在使用),相對著也就是說快要有新的testing 版本出現了

More: Read the rest of this entry…

Tags:

Debian AWStats use UTF-8 code

1 comment

AWStats 最近在找網站分析時,常看到的一套工具,找找 Debian 中是否有 support 這個套件,答案是:有的!Lucky..!(安裝過程之後再寫寫~)

AWStats default code is Big5, 在看它的分析報表時有注意到,在網站被搜尋到的關鍵字分析那兒顯示的都是亂碼(當把網頁的編碼改成 utf-8就ok了,可是變成其他都是亂碼)

Google 了一下,看到 Jamyy's Weblog -讓 AWStats 顯示 UTF-8 繁體中文的文章,於是動手開始改 AWStats 設定

More: Read the rest of this entry…

Tags: , ,

Debian help

no comments

安裝apache log 分析工具時,無意問找到這個網頁

紅要安裝 analog ,經過這網頁的講解,也順利完成,再額外找這網站上的資源時,發現有不少不錯工具

不管是 for Debian 或 其他 Linux 版本

Debian help site 

Tags:

Apache 反(防)盜連設定 & .htaccess

4 comments

在 Google  上找尋防盜連的設定,大致分成: 設定Apache 的 httpd.conf 或設定當目錄權取權限的 .htaccess 兩種,分別測試後,都是成功的,以下分別說明一下:

一、參考了 永遠的真田幸村 寫的 .htaccess 設定,於是小小修改一下符合自己的設定

 

More: Read the rest of this entry…

Tags: ,