Difference between revisions of "Linux irc"

From John Freier
Jump to: navigation, search
Line 47: Line 47:
  
 
5. Startup and Shutdown.
 
5. Startup and Shutdown.
 +
 +
Startup
 +
  ./ircd
 +
 +
Shutdown
 
I had trouble shutting it down, so I just killed the psid.
 
I had trouble shutting it down, so I just killed the psid.
 
   ps aux | grep ircd
 
   ps aux | grep ircd
 
   kill -9 00000
 
   kill -9 00000

Revision as of 15:33, 3 March 2017

This is about IRC.


IRC Server

Different Server Daemons:

- IRCD-Hybrid - http://www.ircd-hybrid.org/
- UnrealIRCd - https://www.unrealircd.org/
- InspIRCd - http://www.inspircd.org/


Installing IRCD-Hybrid

There are multiple ways to install this IRC server. I choose to install it system wide and not in a specific directory which is a person preference. Also I am choosing not to install Anope.

Anope is a bunch of IRCServices to help administrate a server. https://www.anope.org/

Here is a link to the tutorial I am following as a reference. https://www.howtoforge.com/tutorial/irc-server-with-ircd-hybrid-and-anope-on-ubuntu-15-04/

1. Download and unzip.

 wget http://prdownloads.sourceforge.net/ircd-hybrid/ircd-hybrid-8.2.8.tgz
 tar -xzf ircd-hybrid-8.2.8.tgz

2. Install - You must specify a path to install it to work properly.

 ./configure --prefix=/home/myuser/hybrid
 make && make install

3. Create a password to be used as op. This is the main admin user.

 ./bin/mkpass -5 

4. Config

Create a copy of the sample config.

 cd hybrid/etc/
 cp reference.conf ircd.conf

Change these properties to your own.

 name = "my.local";
 description = "ircd-hybrid my server";
 network_name = "MyNetwork";
 network_desc = "This is My Network";

Change operator username password - Under the operator section.

 name = "adminOp"
 password = "{password that was created above}"


5. Startup and Shutdown.

Startup

 ./ircd

Shutdown I had trouble shutting it down, so I just killed the psid.

 ps aux | grep ircd
 kill -9 00000