Internet Relay Chat
Debian に ircd-hybrid をインストール
test/sidのバージョンは1:7.2.2.dfsg.2-6.1
aptitude install ircd-hybrid でインストール
/etc/ircd-hybrid/ircd.conf を編集
/* listen {}: contain information about the ports ircd listens on (OLD P:) */
listen {
        /* port: the specific port to listen on.  if no host is specified
         * before, it will listen on all available IPs.
         *
         * ports are seperated via a comma, a range may be specified using ".."
         */

        /* port: listen on all available IPs, ports 6665 to 6669 */
        host = "192.168.1.1";   #サーバのIPアドレス
        port = 6665 .. 6669; #接続するポート デフォルトでは6667のみ
};

operator { #管理者(oper)の設定
        /* name: the name of the oper */
        name = "jugger90"; #管理者のユーザー名

        /* user: the user@host required for this operator.  CIDR is not
         * supported.  multiple user="" lines are supported.
         */
        user = "*jugger*@*";#監理者になれるログイン名+ホストアドレスを指定。
                            #かならず*ではじめること私はこれではまりました
        /* password: the password required to oper.  By default this will
         * need to be encrypted using '/usr/bin/mkpasswd'.
         * WARNING: Please do not mix up the 'mkpasswd' program from
         * /usr/sbin with this one. If you are root, typing 'mkpasswd'
         * will run that one instead and you will receive a strange error.
         *
         * MD5 is supported. If you want to use it, use mkpasswd -Hmd5.
         */
        password = "$1$9PTzrFkW$yh3ablZ5DnHeU9yjhj..U/";#暗号化した管理者のパスワード
サーバ管理者のパスワード設定用の暗号化パスワードを作成
ファイルにかかれたパスワードをMD5で暗号化するには
コマンドラインから
 # mkpasswd
 パスワード: 
パスワードを入力すると$1$9PTzrFkW$yh3ablZ5DnHeU9yjhj..U のように
暗号化されたパスワードが表示されるのでコピペする

設定が完了したら
/etc/init.d/ircd-hybrid restart でサーバを再起動




IRCのコマンド
/oper 管理者のユーザー名(ここではjugger90) パスワード 
あなたもoper!
/links 現在のサーバと接続されているサーバを表示

/join #channel名 チャンネルに入ります
/join 0       すべてのチャンネルから抜けます
/nick ニックネーム ニックネームを変更します
/part   そのチャンネルからぬけます

/names   チャンネルの参加者を表示します。
/mode #channel名   パラメータ チャンネルのモードを変更します。
/topic #channel名 文章 チャンネルのトピックを変更します

コメントをかく


「http://」を含む投稿は禁止されています。

利用規約をご確認のうえご記入下さい

どなたでも編集できます