聚沙成塔

養貓的陌生人筆記本

在 AIX 5.2 上安裝 bind8

No Comments »

其實在 aix 5.2 上面裝 bind 跟一般並沒有什麼不同,
但是實做最大…你沒裝過你敢說之前的做法一定成功嗎?XD
故在此紀錄一下步驟…

Read the rest of this entry »

使用 telnet 連上 IRC Server

No Comments »

IRC 是一個聊天型的服務,不過是明碼的,
以下示範如何用 telnet 指令就登入 IRC Server


telnet  irc.server.domain  6667

NICK [your name]

USER [your name]  irc.server.domain blah germaN

join #[ch-name]

PRIVMSG  #[ch-name]  : TSET

Read the rest of this entry »

使用反向代理 squid 保護 apache

No Comments »

squid 的功能我就不贅述了,除了當作 httpd-proxy server 之外,還能保護後端的網站,
減少該網站 I/O 的效能消耗。
以下為 squid.conf 的組態設定,#部份是 FreeBSD 的路徑

Read the rest of this entry »

控制搜尋引擎蜘蛛

No Comments »

網站流量節節升高,
所以必須節流的時候到了!
開啟一個空白檔案 叫做 robots.txt 在網站根目錄下,
內容為:

Read the rest of this entry »

NetBSD 3 基本上網設定

No Comments »

以下為 NetBSD 3 基本網路設定

安裝也是照畫面指示即可,

網路配置

Read the rest of this entry »

打開 rcp

No Comments »

打開簡單的 rcp 權限

今日老闆突然要打開 rcp 的語法權限,

是 AIX 與 Solaris…

Read the rest of this entry »

FreeBSD 6.2 Ldap Client 設定

No Comments »


1. 安裝套件
必須裝 openldapclient, nss_ldap, pam_ldap 這三種套件

  • nss_ldap :
    功能: 尋找到帳號資訊
    設定檔: /usr/local/etc/nss_ldap.conf

備註:直接使用 ports 安裝 nss_ldap 即會自動安裝相對應的 openldap-client 版本
若是先安裝 openldap-client 再安裝 nss_ldap 的話
可能造成 openldap-client 與 nss_ldap 版本不符合而無法安裝 nss_ldap

Read the rest of this entry »

啟動 Fedora Core 5 的 XDMCP

No Comments »


因為要讓 X-manager 等 X-Window 程式做遠端連線,
此法也可通用於 CentOS 4.x

檢查/usr/share/config/kdm/kdmrc 以下選項是否符合黃字:

Read the rest of this entry »