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

On this page

  1. Step 6

Step 6

Anope IRC services:

cd /home/zcworld/src/anope-1.6.5/

**** This is a screen dump for me when I did my config / install: ***

-========================= A N O P E ==========================-
For more detailed information on the features of Anope1.6 please
read the self-named documentation found on the 'docs' directory.

Anope is a set of IRC Service expanded upon Lara's Epona, based
on Andy Church's IRC Services. For all your Anope needs please
visit our portal at

Please read the INSTALL file for install/upgrade instructions.
Reading the FAQ and README files would be a good idea too. (all
documentation is located on directory 'docs').

Beginning Services configuration.

Note: press Return for the default, or enter a new value.
In what directory do you want the binaries to be installed?
[/root/services] /home/ircadmin/services
/home/ircadmin/services does not exist. Create it?
-> y <ENTER>

Where do you want the data files to be installed?
-> /home/ircadmin/services

Which group should all Services data files be owned by? (If Services
should not force files to be owned by a particular group, just press
-> <ENTER>

What should the default umask for data files be (in octal)?
(077 = only accessible by owner; 007 = accessible by owner and group)
-> <ENTER>

Select the closest to the type of server on your IRC network:
1) DreamForge 4.6.7 [dated IRCd, upgrade to a current one]
2) Bahamut 1.4.27 [or later]
3) UnrealIRCd 3.1.1 [or later]
4) UltimateIRCd 2.8.2 [or later]
5) UltimateIRCd 3.0.0 [alpha26 or later]
6) Hybrid IRCd 7.0 [experimental]
7) ViagraIRCd 1.3.x [or later]
8) PTlink 6.15.0 [experimental]
[no default]
-> 3 <ENTER>

Do you want to use the MD5 message-digest algorithm to encrypt passwords?
(Selecting "yes" protects your passwords from being stolen if someone
gains access to the Services databases, but makes it impossible to recover
forgotten passwords. There is no way to reverse this operation, so make
sure you really want to enable it.)
-> <ENTER>

Do you want to compile Anope with threading support?
If you want to use the proxy detector, you MUST have this. If you get
compilation errors, you should disable this feature and try again.
-> <ENTER>

Do you want to compile Anope with MySQL support?
At this time Anope is able to dump all databases into MySQL. That means
you get a read-only copy of the data. If you plan to run any module that
uses MySQL, you should enable this option as well.
-> <ENTER>

Do you want to compile Anope with Module support?
This will allow you to load and unload external modules of code without
restarting services. You can find several Anope modules on our website.
This requires libdl, if you have problems compiling disable this option.
(this option is ignored on OpenBSD for the time being)
-> y <ENTER>

Where do you want the modules installed? (The trailing / is important)
[/home/ircadmin/services/modules/] /home/ircadmin/services/modules
/home/ircadmin/services/modules does not exist. Create it?
-> y <ENTER>

End of interactive configuration.

Searching for a suitable compiler... great, found gcc!
Testing default compiler flags (-O2)... looks good.
Let's see what libraries are lying around... -lnsl -lresolv
Looking for OS specific needs...
Looking for a 16-bit integer type... short
Looking for a 32-bit integer type... int
Checking for presence of include files (it's okay if some aren't there):
strings.h... present
sys/select.h... present
sys/sysproto.h... not present
Seeing if your system defines int16/int32... not found (this is good).
How to complain when something goes wrong... ah, strerror() is here.
Looking for other routines we want that you don't have...
Checking how to install files... looks like "install" will work.
Checking how to copy directories... /bin/cp -dpr
Creating sysconf.h... done.
Creating done.
Saving configuration results in config.cache... done.

All done! Now run "make" (or possibly "gmake") to compile Services.
See the INSTALL, README and FAQ files if you have any problems.
dhcppc2:/home/zcworld/src/anope-1.6.5 #


touch services.h
(cd lang ; make language.h)
make[1]: Entering directory `/home/zcworld/src/anope-1.6.5/lang'
Generating language.h... 1410 strings
make[1]: Leaving directory `/home/zcworld/src/anope-1.6.5/lang'
cp -p lang/language.h .
touch pseudo.h
gcc -O2 -Wall -g -c actions.c
gcc -O2 -Wall -g -c botserv.c
gcc -O2 -Wall -g -c channels.c
gcc -O2 -Wall -g -c chanserv.c
gcc -O2 -Wall -g -c commands.c
gcc -O2 -Wall -g -c compat.c
gcc -O2 -Wall -g -c converter.c
gcc -O2 -Wall -g -c config.c
gcc -O2 -Wall -g -c datafiles.c
gcc -O2 -Wall -g -c encrypt.c
gcc -O2 -Wall -g -c helpserv.c
gcc -O2 -Wall -g -c hostserv.c
gcc -O2 -Wall -g -c init.c
gcc -O2 -Wall -g -c language.c
gcc -O2 -Wall -g -c list.c
gcc -O2 -Wall -g -c log.c
gcc -O2 -Wall -g -c mail.c
gcc -O2 -Wall -g -c main.c
gcc -O2 -Wall -g -c memory.c
gcc -O2 -Wall -g -c memoserv.c
gcc -O2 -Wall -g -c messages.c
gcc -O2 -Wall -g -c misc.c
gcc -O2 -Wall -g -c modules.c
gcc -O2 -Wall -g -c news.c
gcc -O2 -Wall -g -c nickserv.c
nickserv.c: In function âload_old_ns_dbaseâ:
nickserv.c:479: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -O2 -Wall -g -c operserv.c
gcc -O2 -Wall -g -c process.c
gcc -O2 -Wall -g -c protocol.c
gcc -O2 -Wall -g -c proxy.c
gcc -O2 -Wall -g -c send.c
gcc -O2 -Wall -g -c sessions.c
gcc -O2 -Wall -g -c slist.c
gcc -O2 -Wall -g -c sockutil.c
gcc -O2 -Wall -g -c timeout.c
gcc -O2 -Wall -g -c users.c
gcc actions.o botserv.o channels.o chanserv.o commands.o compat.o converter.o config.o datafiles.o encrypt.o helpserv.o hostserv.o init.o language.o list.o log.o mail.o main.o memory.o memoserv.o messages.o misc.o modules.o news.o nickserv.o operserv.o process.o protocol.o proxy.o send.o sessions.o slist.o sockutil.o timeout.o users.o -lnsl -lresolv -rdynamic -o services -ldl
(cd lang ; make CFLAGS=" -O2 -Wall -g")
make[1]: Entering directory `/home/zcworld/src/anope-1.6.5/lang'
gcc -O2 -Wall -g langcomp.c -o langcomp
./langcomp cat.l
./langcomp de.l
./langcomp en_us.l
./langcomp es.l
./langcomp fr.l
./langcomp gr.l
./langcomp nl.l
./langcomp pt.l
./langcomp tr.l
./langcomp it.l
./langcomp ru.l
make[1]: Leaving directory `/home/zcworld/src/anope-1.6.5/lang'
All done! Now run "make" (or possibly "gmake") to compile your modules.
See the INSTALL, README and FAQ files if you have any problems.
make[1]: Entering directory `/home/zcworld/src/anope-1.6.5/modules'
gcc -O2 -Wall -g -c hs_moo.c
gcc -O2 -Wall -g -c ircd_catserv.c
make[1]: Leaving directory `/home/zcworld/src/anope-1.6.5/modules'
Now run "make install" to install Services.
dhcppc2:/home/zcworld/src/anope-1.6.5 #

make install

(cd lang ; make CFLAGS=" -O2 -Wall -g")
make[1]: Entering directory `/home/zcworld/src/anope-1.6.5/lang'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/zcworld/src/anope-1.6.5/lang'
install -m 700 services /home/ircadmin/services/services
rm -f /home/ircadmin/services/listnicks /home/ircadmin/services/listchans
ln /home/ircadmin/services/services /home/ircadmin/services/listnicks
ln /home/ircadmin/services/services /home/ircadmin/services/listchans
(cd lang ; make install)
make[1]: Entering directory `/home/zcworld/src/anope-1.6.5/lang'
mkdir -p /home/ircadmin/services/languages
chmod 700 /home/ircadmin/services/languages
cp cat de en_us es fr gr nl pt tr it ru /home/ircadmin/services/languages
chmod 600 /home/ircadmin/services/languages/*
make[1]: Leaving directory `/home/zcworld/src/anope-1.6.5/lang'
/bin/cp -dpr data/* /home/ircadmin/services
test -d /home/ircadmin/services/backups || mkdir /home/ircadmin/services/backups
test -d /home/ircadmin/services/logs || mkdir /home/ircadmin/services/logs
make[1]: Entering directory `/home/zcworld/src/anope-1.6.5/modules'
ld -shared hs_moo.o -o
ld -shared ircd_catserv.o -o
/bin/cp -dpr ./*.so /home/ircadmin/services/modules
make[1]: Leaving directory `/home/zcworld/src/anope-1.6.5/modules'

Don't forget to create/update your services.conf file! See
the README for details.

dhcppc2:/home/zcworld/src/anope-1.6.5 #

Ok now it's time to reset the access rights. Type

cd ~ircadmin/
chown -R ircadmin:ircadmin ./

Share this page:

0 Comment(s)

Add comment

Please register in our forum first to comment.


By: zcworld