Log in | Back to darenet.org

Development Team/ircd-darenet/Updating

Updating ircd-darenet is quick and easy! If you have received an e-mail from a Server Manager explaining that you need to update the version of ircd-darenet you're currently running, follow the steps below.

In This Guide:

Step 1 - Grabbing the latest version

First, SSH into your server, and go to the ircd-darenet directory:

cd ircd-darenet

Then, once inside the directory, run the following command:

svn update

Depending on how many changes were made between the latest version of ircd-darenet, and the version you currently have, this may take a few moments. Once this is completed, move on to step 2.

Step 2 - Installing the latest version

Once step 1 is completed, run the following command:

make distclean

then:

./configure --prefix=$HOME/ircd --enable-ssl

Note, you will be asked if you want to use the same SSL certificate or create a new one. Either way, the choice is up to you.

then run:

make

then:

make install

If everything runs smoothly, the new version is now installed.

Step 3 - New configuration settings

If you were told there are new configuration settings, then you will need to complete this step; otherwise, skip to step 4.

Fetch the latest ircd.conf to the ircd directory:

wget -O new.ircd.conf http://www.darenet.org/files/ircd/ircd.conf

Edit the configuration lines as needed, and rename it ircd.conf. DO NOT /rehash.

Step 4 - Restarting the ircd

Once you have installed the updated version, and have made any necessary configuration changes, you can then safely restart the ircd. Of course, we try and plan ircd upgrades so they cause the least amount of disruption to the network. Follow the timetable given to you in the upgrade e-mail you received.

On IRC, issue the following command:

/restart 120 :Upgrading