2009/04/07 (火)
自分は IRC をいつから使っているのだろうか。
自分がはじめてインターネットに触れたのは1996年だけど、そのころからすぐに使ってたっけ。。。
2009-04-07:ngircd : IRC server install
ちょっとイントラ内で IRC サーバがほしくなったので、セットアップしてみた。
サーバは Debian の lenny なので、とりあえず、どんなサーバがあるか調べる。
% apt-cache search ircd bopm - Blitzed Open Proxy Monitor dancer-ircd - an IRC server designed for centrally maintained network dancer-ircd-doc - Dancer documentation dancer-services - IRC services implementation for dancer-ircd digitools - A set of tools to control ASUS Digimatrix embedded hardware hybrid-dev - development files for ircd-hybrid hybserv - IRC services for IRCD-Hybrid inputlirc - Zeroconf LIRC daemon using input event devices inspircd - Modular IRCd written in C++ inspircd-dbg - Modular IRCd written in C++ - debugging symbols ircd-hybrid - high-performance secure IRC server ircd-irc2 - The original IRCNet IRC server daemon ircd-ircu - Undernet IRC Server daemon ircd-ratbox - advanced, stable and fast ircd ircd-ratbox-dbg - debugging symbols for ircd-ratbox libpoe-filter-ircd-perl - a POE-based parser for the IRC protocol ngircd - Next generation IRC Server ratbox-services-common - irc services for use with ircd-ratbox ratbox-services-mysql - irc services for use with ircd-ratbox with the mysql backend ratbox-services-pgsql - irc services for use with ircd-ratbox with the PostgreSQL backend ratbox-services-sqlite - irc services for use with ircd-ratbox with the sqlite backend
いっぱいあってわからんな。。。
フィーリングで ngircd を選んでみた。
sudo aptitude install ngircd sudo vi /etc/ngircd/ngircd.conf sudo /etc/init.d/ngircd restart
接続ポートや接続パスワードを設定するだけ。楽チンに終わり。
あと、使う方の利便性のために、web gateway も用意してみる。ユーザーみんなに手元でクライアント入れてね、とも言いづらいのだ。
ちょっと調べたところ、cgiirc という perl で書かれた cgi を発見。日本語化されたものもあったので、採用。
少し古いみたいだけど、イントラで限られた人しか使わないから、ということで妥協する。
cgiirc-0.5.4-m20040827a.tar.gz というのを見つけて、cgi を使えるようにしたディレクトリ以下に展開。
Jcode.pm が必要なので、sudo aptitude install libjcode-pm-perl しておく。cgiirc.config に必要な設定を編集。日本語化のためには format = japanese という記述が必要。
あと、IRC サーバに接続パスワードをつけている場合は、server_password = XXXX というのも必要。
わりとすんなりと IRC 環境が導入できましたよ。
cgiirc 以外の IRC web gateway はあんまり調べてなし。