Kanru’s 探險日誌

這裡應該會放一些我每日遊覽的站台及一些心得,就當作是我的學習筆記吧^^。

Archive for the ‘Server’ Category

LDAP & nss_ldap on FreeBSD

without comments

最近在弄 LDAP 帳號中心,主機是 FreeBSD。理想中應該是帳號的資料庫換成 LDAP,在 /etc/nsswitch.conf 加上 LDAP 後就完成了,交給 nss_ldap 去煩惱取得、更新資料的事。

但是事情沒有這麼美好,FreeBSD 在這方面的支援顯然跟我想像的有落差,passwd, chpass 等程式幾乎不支援修改 LDAP 中的資料。passwd 有一個 pr,看來短時間內沒有好解法,chpass 則是只能從 nss_ldap 撈到資料,修改過的內容會直接寫到 /etc/passwd…

紀錄一下,有時候 log 內總會出現 nss_ldap 沒辦法連線到 slapd 的訊息,參考這個網頁,加入

nss_reconnect_tries 2

然後把 bind policy 改成 hard 似乎可以解決。

Written by Kanru Chen

February 2nd, 2008 at 8:45 pm

Posted in Server

Tagged with ,

又做了蠢事

without comments

最近常常讓系上的 mail server 停掉.. 原因是 firewall rule 沒弄好… 今天又弄壞了,用 ipfw flush 想要重新設定 rule 沒想到 flush 會清掉手動設定的 rule 留下預設的,預設的就是 deny all…. 所以又要等到明天拜託人家幫忙開機了… orz

Written by Kanru Chen

July 12th, 2005 at 11:51 pm

Posted in General, Server

kanru@wildebeest 回來了

without comments

之前這台主機一度失連,原來是因為數據機當掉了… 感謝 lain 回到埔里的時候順便幫我處理 :D

Written by Kanru Chen

January 29th, 2005 at 12:50 pm

Posted in Server

新的 wiki 系統

without comments

用了好久的 addmuse 系統,還有中途試過的 didiwiki 系統 這次換成了 Kwiki 系統,跟 addmuse 一樣,是完全由 perl 寫成的 不過 Kwiki 系統更加的與 perl 結合,可以隨意的增加 plugin ,頁面也完全由 template 控制,如作者所說,他是要做一個 wiki 的 framework 而不單單只有 wiki 不過雖然內部編碼是採用 UTF8 ,裡面還有一些地方要修改才能跑 要把外關中文化以及在 template 裡使用中文,需要加上這個模組 http://search.cpan.org/~gugod/Kwiki-Template-TT2-UTF8-0.02/

其他還有一些中文化的修改,可能會記在 wiki http://csie.isa-geek.org/~kanru/kwiki/

其他參考: http://jedi.org/kwiki/index.cgi?action=search&search=快紀說明索引

Written by Kanru Chen

January 2nd, 2005 at 5:47 pm

Posted in Server

閒閒沒事

without comments

閒閒沒事來發瘋 跑去申請了一堆免費的 domain name 目前全部都指向同一個地方,就是這裡

from dyndns.org:

csie.isa-geek.org koster.isa-geek.org csie.homelinux.net

from twbbs.org: on.twbbs.org moo.twbbs.org super-csie.twbbs.org kanru.twbbs.org

最後是要錢的 kanru.idv.tw

Written by Kanru Chen

January 1st, 2005 at 10:33 pm

Posted in Server

Apache2.0

without comments

Apache2.0 終於有 PHP4 可以用了 不過目前 Gallery 的中文目錄名還有問題

還是不太清楚 apache 的設定法 目前暫時讓 blog 跟 wiki 都可以正常運作了… 還要多學學 @@

Written by Kanru Chen

April 11th, 2004 at 12:56 am

Posted in Server

關於回響….

without comments

其實很早就注意到了… 發現要關看回響很麻煩, 直接點回響也無法參考原文

雖然沒什麼人在看, 不過今天深深的覺得有必要改一改 看來有必要看一下模板的寫法@@ 之前是想說能盡量不動就不要亂改…麻煩事..

Written by Kanru Chen

February 28th, 2004 at 12:13 am

Posted in Server

Apache

without comments

之前提到過為了SVN把server換成apache2了,不過後來我發現不用經過apache2也可以用svn的方法,所以就換回apache(因為有php4可用)

用法: 用svnadmin create name 產生資料庫 用svn command svn+ssh://path/to/database 來使用svn

Written by Kanru Chen

January 25th, 2004 at 9:34 pm

Posted in Server

Apache2

without comments

為了subversion把web server更新到apache2了… 目前已經把blog設定好,不過還不能用PHP… 想辦法中

Written by Kanru Chen

January 10th, 2004 at 7:07 pm

Posted in Server