Setting Up A New IRC Server

From Afterxwiki

Contents

Installing UnrealIRCd

Downloading the latest UnrealIRCd version

Unpackaging the UnrealIRCD archive

Running the UnrealIRCd Config script

Building UnrealIRCd

Installing BOPM

Downloading the latest BOPM version

The latest version of BOPM can be found on the Blitzed IRC Network's Wiki. At the time of writing, the latest version is BOPM 3.1.2 and is available from: http://static.blitzed.org/www.blitzed.org/bopm/files/bopm-3.1.2.tar.gz

Once you have downloaded the archive to your shell, type: tar -zxvf bopm-3.1.2.tar.gz

A new directory with the name 'bopm-3.1.2' should of been created in the current working directory. Type 'cd bopm-3.1.2' to move into that directory.


Running the BOPM configuration script

When you are in the BOPM directory, type: ./configure

Your screen should start to scroll with text similar to:

 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... no 
 checking for mawk... mawk
 checking whether make sets $(MAKE)... yes
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking for gcc... gcc


Once the configure script has complete, your screen should look similar to:

 ##############################################################################
 Everything is now configured, but you can find some more (infrequently
 changed) options in options.h.  To compile BOPM now, just type make.  It
 requires GNU Make, which may be installed as gmake on your system.
 bopm will be installed in ${HOME}/bopm.  To change this, run:
  ./configure --prefix=DIRECTORY
 
 If possible, PLEASE CONTRIBUTE TO OUR DNSBL BY REPORTING YOUR PROXIES!!
 
 o What is DNSBL?
   It's the database of open proxies we provide and your BOPM checks
   against BEFORE bothering to scan the client, therefore killing KNOWN
   proxies faster and more efficiently.
 
 o Why should my network contribute?
   Because the more that do, the more proxies we know about and the
   better the service becomes for all BOPM users including YOU!  People
   are also using our DNSBL to block spam (spammers use open proxies
   too!) so you'd be helping the whole Internet.
 
 o Sounds complicated, what do you need?
   BOPM is already designed to report the proxies you find, but it is
   turned off by default.  To enable it all you have to do is:
     - Set DNSBL_FROM to a unique email address that we can contact you
       at if there is ever any problem with your reports.
     - Email us now at opm-bopm@blitzed.org to tell us what you have
       set your DNSBL_FROM to.
     - Set DNSBL_TO to bopm@reports.blitzed.org.
     - Set SENDMAIL to contain the path to your sendmail binary (even
       if you don't use sendmail you will have a binary named sendmail in
       /usr/sbin or /usr/lib.
 
 For more info about the people who already report their proxies, please
 see http://www.blitzed.org/bopm/   - Thank you!
 ##############################################################################


Building BOPM

Once the configure script has completed, the next stage is to 'build' the BOPM program. This is done by typing: make

Once the build has completed, the next stage is to move the compiled BOPM program into its own directory. By default, the compiled BOPM will be moved into a directory called 'bopm/' underneath the shell user's home directory. For example, if BOPM is being installed under the username 'afterx' and the home directory is '/home/afterx/', then by default the compiled BOPM directory will be located in '/home/afterx/bopm/'

To install the compiled BOPM into its own directory, type: make install


The BOPM configuration file

The next stage involves configuration of BOPM for use on a particular AfterX IRC server.



Setting up cron jobs