LoginSignup
6
4

More than 5 years have passed since last update.

AWS上にIRCサーバーを立ててみる

Last updated at Posted at 2018-08-07

動けばいい人向け。

動作環境

  • AWS EC2
  • Ubuntu 16.04
  • IRCサーバー
    • ngIRCd
  • IRCクライアント
    • LimeChat

IRCサーバー立ち上げ

UbuntuでEC2インスタンスが作成されていることが条件。

ポートを解放する

Amazon EC2の管理画面にログイン、
対象のインスタンスのセキュリティグループからインバウンドを選択。
セキュリティグループp.png

EC2インスタンスにSSH接続(TeraTerm等)

パッケージの更新

$ sudo apt-get update
$ sudo apt-get upgrade

ngIRCdインストール

$ sudo apt-get install ngircd

設定ファイルの更新

$ sudo vi /etc/ngircd/ngircd.conf

サーバーパスワードの設定など..

ngIRCdの起動

$ sudo /etc/init.d/ngircd start

接続確認

LimeChatで接続

[サーバ] - [サーバを追加]を選択。
ホスト名にEC2インスタンスのIPアドレスを、ポート番号に6667を指定する。
limechat.png

参考

6
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
4