How To Set Up An IRC Server And Anope IRC Services - Page 5

Want to support HowtoForge? Become a subscriber!
 
Submitted by zcworld (Contact Author) (Forums) on Tue, 2007-01-23 07:56. ::

Step 5

ircadmin@dhcppc2:~/bin> ./unreal start

The output should look like this:

Starting UnrealIRCd
_ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
\___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
v3.2.6
using TRE 0.7.2 (GPL)
using OpenSSL 0.9.8d 28 Sep 2006
using zlib 1.2.3

* Loading IRCd configuration ..
* Configuration loaded without any problems ..
* Initializing SSL.
* Dynamic configuration initialized .. booting IRCd.
---------------------------------------------------------------------
ircadmin@dhcppc2:~/bin>

Open up an IRC client and try to connect to the servers IP address (like 192.168.1.102).

You will get something like this if it's working:

* Connecting to 192.168.1.102 (6667)
-irc.zcworld-evil.mine.nu- *** Looking up your hostname...
-irc.zcworld-evil.mine.nu- *** Couldn't resolve your hostname; using your IP address instead
«(~ Welcome to the zcworld IRC Network Zc_Au!Zcworld@192.168.1.101 ~)»
«(~ Your host is irc.zcworld-evil.mine.nu, running version Unreal3.2.6 ~)»
«(~ server was Created This server was created Sat Jan 20 2007 at 23:12:19 CST
«(~ Info ~)
Local host: server (192.168.1.101)
«(~ Current Server User Statistics for zcworld ~)»
«(~ There are 1 users and 0 invisible on 1 servers ~)»
«(~ Local Users Current Local Users: 1 Max: 1 ~)»
«(~ Global Users Current Global Users: 1 Max: 1 ~)»
MOTD File is missing

Once it's working type in

su -
Password:
cd /home/zcworld/src/
find . |grep -i cron

The output will look like this:

./Unreal3.2/ircdcron
./Unreal3.2/ircdcron/ircdchk.in
./Unreal3.2/ircdcron/CVS
./Unreal3.2/ircdcron/CVS/Tag
./Unreal3.2/ircdcron/CVS/Entries
./Unreal3.2/ircdcron/CVS/Repository
./Unreal3.2/ircdcron/CVS/Root
./Unreal3.2/ircdcron/ircdchk
./Unreal3.2/ircdcron/ircd.cron

Find the ircdchk file, then type:

cp ./Unreal3.2/ircdcron/ircdchk ~ircadmin/bin/
cd ~ircadmin/bin
chown ircadmin:ircadmin ircdchk
cd ~ircadmin/bin
crontab -e

Type in the window that pops up (push the insert key):

# this is to check the server every 2 mins
*/2 * * * * /home/ircadmin/bin/ircdchk >/dev/null 2>&1

Then push the esc key once or twice, then :wq

crontab: installing new crontab

Type

crontab -l

Now that's the IRC server itself. Time for the Anope IRC services. What's the point of an IRC server without the services unless your linking into an network with services then ... you are all good to go :) ...


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.