twitter
    Find out what I'm doing, Follow Me :)

Instal Eggdrop

Installasi EggDrop

1. Download file eggdropnya di http://www.egghelp.org dibagian eggdrop file

systrojan@inferno:~$ wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/ eggdrop 1.6.18.tar.gz--06:16:05-- ftp://ftp.eggheads.org/pub/eggdrop/source/1.6 /eggdrop1.6.10.tar.gz=> `eggdrop1.6.10.tar.gz'Resolving ftp.eggheads.org... done.

Connecting to ftp.eggheads.org[207.195.39.240]:21... connected.

Logging in as anonymous ... Logged in!

==> SYST ... done. ==> PWD ... done.

==> TYPE I ... done. ==> CWD /pub/eggdrop/source/1.6 ... done.

==> PORT ... done. ==> RETR eggdrop1.6.10.tar.gz ... done.

Length: 893,527 (unauthoritative)100%[===================================== ================>]

893,527 470.65K/s ETA 00:00

06:16:07 (470.65 KB/s) - `eggdrop1.6.10.tar.gz' saved [893527]

systrojan@inferno:~$

2. Setelah itu di ekstrak filenya dengan menggunakan perintah tar

systrojan@inferno:~$ tar -zxvf eggdrop1.6.10.tar.gz....

eggdrop1.6.18/src/mod/woobie.mod/woobie.c

eggdrop1.6.18/text/

eggdrop1.6.18/text/CONTENTS

eggdrop1.6.18/text/banner

eggdrop1.6.18/text/motd

eggdrop1.6.18/configure

eggdrop1.6.18/configure.in

systrojan@inferno:~$

3. Masuk ke folder hasil extractnya

systrojan@inferno:~$ cd eggdrop1.6.18systrojan@inferno:~$ [~/eggdrop1.6.18]#

4. Lalu configure sesuai sistemnya

systrojan@inferno [~/eggdrop1.6.18]# ./configureThis is Eggdrop's GNU configure script.It's going to run a bunch of strange tests to hopefully

make your compile work without much twiddling.

checking for gcc... gcc

checking for C compiler default output... a.out

checking whether the C compiler works... yes

...

...

onfig.status: creating src/mod/Makefile

config.status: creating config.h

creating lush.h

Configure is done.

Type 'make config' to configure the modules, or type 'make iconfig'

to interactively choose which modules to compile.

After that, type 'make' to create the bot.

systrojan@inferno [~/eggdrop1.6.18]#

5.Lalu buat confignya dengan make config

systrojan@inferno [~/eggdrop1.6.18]# make configdetecting modules.................... done.

calculating dependencies................... done.

building ./src/mod/Makefile... done.

make[1]: Entering directory `/home/eggdrop/eggdrop1.6.18/src/mod'Configuring module compress ...

running in eggdrop mode.

creating cache ../../../config.cache

....

....

creating ./config.status

creating Makefile

make[1]: Leaving directory `/home/eggdrop/eggdrop1.6.18/src/mod'

building ./src/mod/Makefile... done.

You can now compile the bot, using "make".

systrojan@inferno [~/eggdrop1.6.18]#

6. Lalu di make supaya menghasil file binary

systrojan@inferno [~/eggdrop1.6.18]# makemake[1]: Entering directory `/home/eggdrop/eggdrop1.6.18/src'

(This may take a while. Go get some runts.)

gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c

gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botcmd.c

...

...

make[1]: Leaving directory `/home/eggdrop/eggdrop1.6.18/src/mod'modules made:

-rwxr-xr-x 1 eggdrop eggdrop 8112 Apr 17 06:23 assoc.so

-rwxr-xr-x 1 eggdrop eggdrop 13852 Apr 17 06:23 blowfish.so

-rwxr-xr-x 1 eggdrop eggdrop 97756 Apr 17 06:23 channels.so

-rwxr-xr-x 1 eggdrop eggdrop 9808 Apr 17 06:23 compress.so

-rwxr-xr-x 1 eggdrop eggdrop 8704 Apr 17 06:23 console.so

-rwxr-xr-x 1 eggdrop eggdrop 7612 Apr 17 06:23 ctcp.so

-rwxr-xr-x 1 eggdrop eggdrop 13724 Apr 17 06:23 dns.so

-rwxr-xr-x 1 eggdrop eggdrop 93092 Apr 17 06:23 filesys.so

-rwxr-xr-x 1 eggdrop eggdrop 118620 Apr 17 06:23 irc.so

-rwxr-xr-x 1 eggdrop eggdrop 25212 Apr 17 06:23 notes.so

-rwxr-xr-x 1 eggdrop eggdrop 12188 Apr 17 06:23 seen.so

-rwxr-xr-x 1 eggdrop eggdrop 57052 Apr 17 06:24 server.so

-rwxr-xr-x 1 eggdrop eggdrop 42972 Apr 17 06:24 share.so

-rwxr-xr-x 1 eggdrop eggdrop 32980 Apr 17 06:24 transfer.so

-rwxr-xr-x 1 eggdrop eggdrop 6748 Apr 17 06:24 uptime.so

-rwxr-xr-x 1 eggdrop eggdrop 12312 Apr 17 06:24 wire.so

Now run "make install" to install your bot.

systrojan@inferno [~/eggdrop1.6.18]#

7.Sekarang tinggal kita make install untuk membuat file eggdrop binarynya

ada dua cara yaitu make install atau make install DEST=/path/tempat/install

kalau make install maka langsung ditaruh di /home/usernamenya/eggdrop

systrojan@inferno [~/eggdrop1.6.18]# make installEggdrop v1.6.18 (C) 1997 Robey Pointer (C) 2006 EggheadsInstalling in directory: '/home/eggdrop/eggdrop'.

Creating directory: /home/eggdrop/eggdrop.

mkdir /home/eggdrop/eggdrop

...

...

...

make[1]: Leaving directory `/home/eggdrop/eggdrop1.6.18/scripts'

Installation completed.

You MUST ensure that you edit/verify your configuration file.

Use one of the three configuration files (eggdrop.simple.conf,

eggdrop.advanced.conf and eggdrop.complete.conf) distributed

with your bot.

Remember to change directory to /home/systrojan/eggdrop before you proceed.

systrojan@inferno [~/eggdrop1.6.18]#

Selesai sudah install eggdropnya

Sekarang tinggal configurasi botnya, untuk mengedit eggdrop.conf kita

memerlukan pico editor(semacam notepad pada windows) dengan cara :
systrojan@inferno:~/eggdrop$ pico eggdrop.conf
Nah setelah kebuka
GNU nano 2.0.2 File: eggdrop.conf
disini kita harus membaca terlebih dahulu apa saja isinya, termasuk langkah untuk mengeditnya, dapat kita lihat disana, ada beberapa yang kita harus hilangkan tanda “#” untuk mengaktifkan command pada access bot tersebut sesuai kebutuhan, dan perlu diingat “kita harus cukup teliti mengedit file.conf ini agar pada saat compilingnya tidak ada bentuk error”. Dan yg terpenting, di bagian awal pico editor kita hapus :

#! /path/to/executable/eggdrop
..
..
..
# More detailed descriptions of all these settings can be found in
# doc/settings/.

Hasilnya pada bagian awal .conf tersebut kita lihat :

##### BASIC SETTINGS #####

# This setting defines the username the bot uses on IRC. This setting has
# no effect if an ident daemon is running on your bot’s machine.
set username “lamest”

Dan juga kita hapus yang ada tulisan :
die “Please make sure you edit your config file completely.”

Nah sisanya anda tinggal ubah sesuai data yang diinginkan, namun ada satu yang saya masih contek, yaitu pada Channels Module, disana tertera commentar yg cukup banyak, dan tugas anda hapus comment tersebut dan ganti dengan contoh seperti ini :
}
channel add #main {
chanmode “+nt-likm”
idle-kick 0
stopnethack-mode 0
flood-chan 10:60
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60
}

channel set #main +enforcebans +dynamicbans +userbans
channel set #main +dynamicexempts +userexempts +dynamicinvites +userinvites
channel set #main -autoop -bitch +protectops +protectfriends +dontkickops
channel set #main +greet +statuslog
channel set #main +revenge +autovoice
channel set #main -secret -shared -cycle
channel set #main -inactive +seen +nodesynch

#### SERVER MODULE ####

So tau kan batasan mana yang kita harus hapus dan diganti !!!

Setelah selesai editingnya, kluar dari pico editor dengan ketik : [ctrl+x] -> (y)yes -> enter(tdk usah menggati nama eggdrop.conf.

Untuk compilingnya, kita gunakan perintah : ./eggdrop -m eggdrop.conf

Apabila masih ada error anda dapat kembali ke pico editor dan memperbaikinya, apabila ada masalah dalam memperbaikinya, anda dapat share langsung disini atau sebelumnya anda dapat melihat bentuk default eggdrop.conf disini

Nah kurang lebih seperti itu yang bisa saya share pengetahuannya, sisanya anda dapat berlatih sendiri dengan batuan Master Google.

0 comments: