Difference between revisions of "Linux irc"
(5 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
make && make install | make && make install | ||
− | 3. Create a password to be used as op. This is the main admin user. | + | 3. Create a password to be used as op. This is the main admin user. This is encrypted using SHA-256. |
− | ./bin/ | + | ./bin/mkpasswd -2 |
4. Config | 4. Config | ||
Line 44: | Line 44: | ||
name = "adminOp" | name = "adminOp" | ||
password = "{password that was created above}" | password = "{password that was created above}" | ||
+ | |||
+ | To password secure the irc server add this to the auth section. | ||
+ | auth { | ||
+ | user = "*"; | ||
+ | class = "users"; | ||
+ | password = "{a password from mkpasswd"; | ||
+ | encrypted = yes; | ||
+ | flags = need_password; | ||
+ | }; | ||
+ | |||
+ | User: is a type of user, "*@*"...."*@test.com" | ||
Line 55: | Line 66: | ||
ps aux | grep ircd | ps aux | grep ircd | ||
kill -9 00000 | kill -9 00000 | ||
+ | |||
+ | 6. Ident | ||
+ | I needed to install ident for some reason the client was throwing errors. | ||
+ | so I tried. | ||
+ | yum -y install authd | ||
+ | |||
+ | |||
+ | |||
+ | == Resources == | ||
+ | https://wiki.netsoc.tcd.ie/index.php?title=Hybrid-IRCD |
Latest revision as of 16:53, 5 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. This is encrypted using SHA-256.
./bin/mkpasswd -2
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}"
To password secure the irc server add this to the auth section.
auth { user = "*"; class = "users"; password = "{a password from mkpasswd"; encrypted = yes; flags = need_password; };
User: is a type of user, "*@*"...."*@test.com"
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
6. Ident I needed to install ident for some reason the client was throwing errors. so I tried.
yum -y install authd