Setting up Services on your UnrealIrcd IRC Server [SurrealServices]

Related to: Setting up an IRC Server on your Desktop [UnrealIrcd]

Here is a tutorial to set up IRC Services on Debian/Ubuntu (may work on other distros with appropriate changes in a few commands). You’ll also need a mysql server running.

you can get it by typing this in terminal (Since I want the services dir inside the Unreal directory, I install in UnrealIRCd/services. You may install it in your home directory)

cd UnrealIRCd
svn co http://www.surrealchat.net/svn/srsv/tags/0.4.2-rc3/ services

or visit http://www.surrealchat.net/services/releases/
and download the appropriate version and extract it to the correct directory

You’ll need two perl modules

mkdir perlmods
cd perlmods
wget http://search.cpan.org/CPAN/authors/id/J/JP/JPRIT/Event-1.10.tar.gz
tar zxvf Event-1.10.tar.gz
cd Event-1.10
perl Makefile.PL
make
sudo make install
cd ..
wget http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/TimeDate-1.16.tar.gz
tar zxvf TimeDate-1.16.tar.gz
cd TimeDate-1.16
perl Makefile.PL
make
sudo make install
cd ../..
rm -r perlmods

copy the example config

cp config-example/ config

setup appropriate mysql user with access to an empty database
Now edit the files inside the config directory

Now run

./db-setup.pl

To start services, run (make sure your unrealircd server is runnning)

./services.pl

Join your server with an IRC client and register your nick
(for commands, check http://www.surrealchat.net/wiki/Help)

After you’re done registering, make yourself the services root

./addroot.pl [your nick]

Reblog this post [with Zemanta]
  1. No comments yet.