Article written

  • on 15.11.2008
  • at 02:25 PM
  • by arkin

Installing and Configuring Eggdrop on Debian 3

Nov15

An eggdrop is a popular IRC bot that handles users and maintains certain rules & other things on your IRC channels. Eggdrops are useful to have on networks that don’t have IRC services such as Efnet and also useful when you need a certain service such as 24.7 channel logs for statistics (pisg) or quotes in your channel.

The following guide will show you how to install the latest Eggdrop on Debian Etch/Lenny (and probably most other Debian/Ubuntu distributions/versions.)

First of all, make sure you are root; we want to install the main eggdrop repository. This will download and install the latest eggdrop version.

root@arkinex:~# apt-get install eggdrop

It is advised that you have a user setup for eggdrop, in this example, my user is ‘eggdrops‘ with the eggdrop directory ‘/home/eggdrops/eggdrop1/‘.

We need to copy a sample configuration file, after extracting it.

root@arkinex:~# gzip -d /usr/share/doc/eggdrop-data/examples/eggdrop.conf.gz
root@arkinex:~# cp /usr/share/doc/eggdrop-data/examples/eggdrop.conf /home/eggdrops/sample.conf
root@arkinex:~# chown eggdrops:eggdrops /home/eggdrops/sample.conf
root@arkinex:~# su eggdrops && cd

If you’ve kept up, we copied the sample configuration and assigned eggdrops user account as the owner and then changed our current terminal to the eggdrops account. Next, we want to copy the sample to our working configuration.

eggdrops@arkinex:~# cp sample.conf eggdrop1/eggdrop1.conf
eggdrops@arkinex:~# cd eggdrop1
eggdrops@arkinex:~# nano eggdrop1.conf

You can now edit all your eggdrop settings and then we will launch the eggdrop for the first time. Note: Leave all the scripts and modules with the /usr/share/ directory prefix alone, we do not need to duplicate any of these files as they are in the shared folder.

To launch the eggdrop:

eggdrops@arkinex:~# eggdrop -m eggdrop1.conf

And your ready to go, it should join the default channel and once you’ve setup users you should not need to specify the -m option again.

Hope you enjoyed this guide. If you have any questions, post them as comments.

subscribe to comments RSS

There are 3 comments for this post

  1. Sharker says:

    hi arkin, nice how-to but there is a mistake.

    root@arkinex:~# cp /usr/share/doc/eggdrop-data/examples/eggdrop.conf.gz /home/eggdrops/sample.conf is wrong, correct is
    root@arkinex:~# cp /usr/share/doc/eggdrop-data/examples/eggdrop.conf /home/eggdrops/sample.conf

    :)

  2. Ståle says:

    eggdrops@arkinex:~# cp sample.conf eggdrop1/eggdrop1.conf
    eggdrops@arkinex:~# cp eggdrop1
    eggdrops@arkinex:~# nano eggdrop1.conf

    Is it not supposed to be cd eggdrop1 instead of cp eggdrop1 ?

  3. arkin says:

    You are both right, thank you for your corrections.
    I have updated the post accordingly :)

Please, feel free to post your own comment

* these are required fields

arkinEx Codex is powered by WordPress and FREEmium Theme.
developed by Dariusz Siedlecki and brought to you by FreebiesDock.com