Added `ngircd` info to frostburg install notes. master origin/HEAD origin/master
authorAaron Taylor <ataylor@subgeniuskitty.com>
Thu, 27 May 2021 05:55:09 +0000 (22:55 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Thu, 27 May 2021 05:55:09 +0000 (22:55 -0700)
data/notes/xeon_phi_server.md

index f4b869a..5d448b9 100644 (file)
@@ -792,6 +792,40 @@ Create the file `/etc/cron.d/status-emails` with the following contents.
     0 0 * * 0 root /sbin/zpool status | echo -e "Subject:FROSTBURG: zpool status\n\n $(cat -)" | msmtp ataylor@subgeniuskitty.com
 
 
     0 0 * * 0 root /sbin/zpool status | echo -e "Subject:FROSTBURG: zpool status\n\n $(cat -)" | msmtp ataylor@subgeniuskitty.com
 
 
+#### IRC Environment ####
+
+IRC is used for collaboration on the server. First install daemon and client.
+
+    apt-get install ngircd irssi
+
+Configure the server by editing `/etc/ngircd/ngircd.conf`. The defaults are
+mostly acceptable but the server must be given a name and restricted to only
+listen for local connections. While we're at it, the max nick length is only 9
+by default and should be increased. Note that these values need to be inserted
+under the appropriate category, as shown below, but the categories already
+exist in the config file.
+
+    [Global]
+        Name = frostburg.subgeniuskitty.com
+        Info = Frostburg - Private IRC Server
+        Listen = 127.0.0.1
+    [Limits]
+        MaxNickLength = 32
+
+Restart the server and verify it listens on the correct addresses.
+
+    # systemctl restart ngircd
+    # netstat -an | grep LISTEN
+    tcp        0      0 127.0.0.1:6667          0.0.0.0:*               LISTEN
+
+Startup a client in screen for each user.
+
+    screen -dR irc
+    irssi
+    /connect localhost
+    /join #channel
+
+
 #### Public SSH Access ####
 
 Although frostburg is on a private subnet, I want public SSH access. The
 #### Public SSH Access ####
 
 Although frostburg is on a private subnet, I want public SSH access. The