This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
help:technical:ircd [2014/02/23 09:26] – dcraig | help:technical:ircd [2020/05/19 17:58] (current) – [gitsync] rubin | ||
---|---|---|---|
Line 3: | Line 3: | ||
ssh into your server. | ssh into your server. | ||
- | Then run: | ||
- | git clone https:// | ||
- | The system will begin to download the latest version of the nefarious ircu. | ||
Before we continue, we'd like to make sure you have the packages needed for a successful install. | Before we continue, we'd like to make sure you have the packages needed for a successful install. | ||
Line 18: | Line 15: | ||
libpcre3-dev | libpcre3-dev | ||
byacc | byacc | ||
+ | gawk | ||
+ | | ||
The named packages above can be fetched (on a Debian based system) with apt-get: | The named packages above can be fetched (on a Debian based system) with apt-get: | ||
- | sudo apt-get install openssl libssl-dev autoconf automake flex libpcre3-dev byacc | + | sudo apt-get install |
Note: The names of the packages above may vary, depending on your distribution. | Note: The names of the packages above may vary, depending on your distribution. | ||
+ | |||
+ | run: | ||
+ | git clone https:// | ||
+ | |||
+ | The system will begin to download the latest version of the nefarious ircu. | ||
With that said, we now move on to getting the server up and running. | With that said, we now move on to getting the server up and running. | ||
- | cd nefarious-1.3 | + | cd nefarious2 |
For your own convenience, | For your own convenience, | ||
Line 75: | Line 78: | ||
read the unix manual to crontab for more information. | read the unix manual to crontab for more information. | ||
- | ===== Please install the following | + | ====== Install iauthd.pl ====== |
+ | |||
+ | iauthd provides for DNSBL blocking to protect us from drones. This script is include in the source nefarious2 was created when cloning the git repository to your server. | ||
+ | |||
+ | Requirements: | ||
+ | |||
+ | You will need to install some perl dependencies for this script to run. | ||
+ | |||
+ | Debian/ | ||
+ | |||
+ | sudo apt-get install libpoe-perl libpoe-component-client-dns-perl libterm-readkey-perl libfile-slurp-perl libtime-duration-perl | ||
+ | |||
+ | Fedora/ | ||
+ | |||
+ | yum install perl-POE perl-POE-Component-Client-DNS perl-TermReadKey perl-slurp perl-Time-Duration | ||
+ | |||
+ | Freebsd: | ||
+ | |||
+ | ports dns/ | ||
+ | |||
+ | CPAN: | ||
+ | |||
+ | cpan install Term:: | ||
+ | |||
+ | Installation: | ||
+ | |||
+ | Simply copy the script from the / | ||
+ | |||
+ | | ||
+ | |||
+ | Now edit your ircd.conf file and add the following block: | ||
+ | |||
+ | IAuth { | ||
+ | | ||
+ | }; | ||
+ | |||
+ | Now, save the file and / | ||
+ | |||
+ | / | ||
+ | |||
+ | This should show something similar to this: | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | If you would like to learn more about iauth please visit our [[https:// | ||
+ | |||
+ | ====== Please install the following | ||
+ | |||
+ | ===== gitsync ===== | ||
+ | gitsync updates your server every hour with the latest k: lines, features, and server connection info. It is required. There is a copy in nefarious2/ | ||
+ | |||
+ | You must have an SSH key setup for the user that runs ircd. This is normally in '' | ||
+ | |||
+ | Once you have been given access, you must initialize the repository: '' | ||
- | ==== linesync ==== | + | If that works, you'll have our server |
- | linesync updates your server | + | |
< | < | ||
- | 0 0 * * * / | + | 0 0 * * * / |
</ | </ | ||
- | ==== checkircd.sh ==== | + | ===== checkircd.sh |
This gem checks if the irc server is running, and if it isnt, starts it up. This will keep the ircd up after reboots, or in the case of a crash. Create the file using a text editor, pasting this code in: | This gem checks if the irc server is running, and if it isnt, starts it up. This will keep the ircd up after reboots, or in the case of a crash. Create the file using a text editor, pasting this code in: | ||
< | < | ||
Line 90: | Line 157: | ||
# don't start the server if it is already running | # don't start the server if it is already running | ||
procs=`ps x` | procs=`ps x` | ||
- | if echo " | + | if echo " |
exit | exit | ||
fi | fi | ||
- | /home/irc/ircd/ircd | + | /home/user/ircd/ircd |
</ | </ | ||
(be careful to use the right kind of `` ticks!) | (be careful to use the right kind of `` ticks!) |