Install Eggdrop under Linux

De Wiki de Romain RUDIGER
Aller à : navigation, rechercher

Introduction

This light how-to just show the download, compilation and start of an Eggdrop program available here [1].

The used version is "Eggdrop 1.6.20".

Download and compile

# uname -a
Linux cryolithe.novalan.fr 2.6.34.6-xxxx-grs-ipv6-64 #3 SMP Fri Sep 17 16:06:38 UTC 2010 x86_64 GNU/Linux
# useradd -c "EggDrop user" --home-dir /home/eggdrop -m -U eggdrop
### It's a 64bits OS, Eggdrop needs 32bits C libs and tcl dev lib
# aptitude install libc6-dev-i386 tcl8.4-dev
# su - eggdrop
$ wget "ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.20.tar.gz"
$ tar -xzf eggdrop1.6.20.tar.gz
$ cd eggdrop1.6.20
### READ README and INSTALL
$ ./configure
$ make config
$ make
$ make install DEST=/home/eggdrop/eggdrop_IRC

Configure

Configure your eggdrop by editing the file /home/eggdrop/eggdrop_IRC/eggdrop.conf.

Create the user file (ie LamestBot.user) and set the good rights (see INSTALL file).

Run it by crontab

As the documentation say, the crontab is a good way to run your eggdrop.

$ vim /home/eggdrop/eggdrop_IRC/scripts/botchk
## set botdir, botscript, botname and pidfile.
## ->botdir="/home/eggdrop/eggdrop_IRC"
## ->botscript="eggdrop eggdrop.conf"
## ->botname="BlaBla"
## ->userfile="LamestBot.user"
$ crontab -e
## put 0,10,20,30,40,50 * * * * /home/eggdrop/eggdrop_IRC/scripts/botchk >/dev/null 2>&1

Configure your Firewall and your supervision system to secure and check your bot.

Documentation

The best way to find documentations and help is the developers website: [2]