Tuesday, November 3, 2015

Memasang ZNC versi 1.6.3 di Shell

Memasang ZNC versi 1.6.3 di Shell.

ZNC banyak digunakan di server IRC.
Ianya membolehkan 'Nickname' kita untuk berada di canel walaupon kita tidak 'Online'.
Untuk memasangnya amatlah mudah.

Cara-cara membuatnya:
1. Log masuk ke shell anda.
2. Kemudian;
 $ wget http://znc.in/releases/znc-1.6.3.tar.gz  
 $ tar -xzvf znc-1.6.3.tar.gz  
 $ cd znc-1.6.3  
 $ ./configure  
 $ make  
 $ make install  
 $ znc --makeconf  
3. Ikut arahan seperti berikut;
 [ .. ] Checking for list of available modules...  
 [ >> ] ok  
 [ ** ] Building new config  
 [ ** ]  
 [ ** ] First let's start with some global settings...  
 [ ** ]  
 [ ?? ] What port would you like ZNC to listen on? (1025 to 65535): 5678  
 [ ?? ] Would you like ZNC to listen using SSL? (yes/no) [no]: no  
 [ ?? ] Would you like ZNC to listen using both IPv4 and IPv6? (yes/no) [yes]: yes  
 [ .. ] Verifying the listener...  
 [ >> ] ok  
 [ ** ] Unable to locate pem file: [/home/gaban/.znc/znc.pem], creating it  
 [ .. ] Writing Pem file [/home/gaban/.znc/znc.pem]...  
 [ >> ] ok  
 [ ** ]  
 [ ** ] -- Global Modules --  
 [ ** ]  
 [ ** ] +-----------+----------------------------------------------------------+  
 [ ** ] | Name   | Description                       |  
 [ ** ] +-----------+----------------------------------------------------------+  
 [ ** ] | partyline | Internal channels and queries for users connected to znc |  
 [ ** ] | webadmin | Web based administration module             |  
 [ ** ] +-----------+----------------------------------------------------------+  
 [ ** ] And 10 other (uncommon) modules. You can enable those later.  
 [ ** ]  
 [ ?? ] Load global module <partyline>? (yes/no) [no]: yes  
 [ ?? ] Load global module <webadmin>? (yes/no) [no]: yes  
 [ ** ]  
 [ ** ] Now we need to set up a user...  
 [ ** ]  
 [ ?? ] Username (AlphaNumeric): GaBaN  
 [ ?? ] Enter Password:  
 [ ?? ] Confirm Password:  
 [ ?? ] Would you like this user to be an admin? (yes/no) [yes]: yes  
 [ ?? ] Nick [GaBaN]: GaBaN  
 [ ?? ] Alt Nick [GaBaN_]: GaBaNz  
 [ ?? ] Ident [GaBaN]: gaban  
 [ ?? ] Real Name [Got ZNC?]: leh kenalan?  
 [ ?? ] Bind Host (optional):  
 [ ?? ] Number of lines to buffer per channel [50]: 50  
 [ ?? ] Would you like to clear channel buffers after replay? (yes/no) [yes]: yes  
 [ ?? ] Default channel modes [+stn]: +stn  
 [ ** ]  
 [ ** ] -- User Modules --  
 [ ** ]  
 [ ** ] +--------------+---------------------------------------------------------                                            ---------------------------------+  
 [ ** ] | Name     | Description                                                                                   |  
 [ ** ] +--------------+---------------------------------------------------------                                            ---------------------------------+  
 [ ** ] | chansaver  | Keep config up-to-date when user joins/parts                                                                   |  
 [ ** ] | controlpanel | Dynamic configuration through IRC. Allows editing only y                                            ourself if you're not ZNC admin. |  
 [ ** ] | perform   | Keeps a list of commands to be executed when ZNC connect                                            s to IRC.            |  
 [ ** ] | webadmin   | Web based administration module                                                                         |  
 [ ** ] +--------------+---------------------------------------------------------                                            ---------------------------------+  
 [ ** ] And 21 other (uncommon) modules. You can enable those later.  
 [ ** ]  
 [ ?? ] Load module <chansaver>? (yes/no) [no]: yes  
 [ ?? ] Load module <controlpanel>? (yes/no) [no]: yes  
 [ ?? ] Load module <perform>? (yes/no) [no]: yes  
 [ ?? ] Load module <webadmin>? (yes/no) [no]: yes  
 [ ** ]  
 [ ?? ] Would you like to set up a network? (yes/no) [no]: yes  
 [ ?? ] Network (e.g. `freenode' or `efnet'): KampungChat  
 [ ** ]  
 [ ** ] -- Network Modules --  
 [ ** ]  
 [ ** ] +-------------+----------------------------------------------------------                                            ---------------------------------------+  
 [ ** ] | Name    | Description                                                                                       |  
 [ ** ] +-------------+----------------------------------------------------------                                            ---------------------------------------+  
 [ ** ] | chansaver  | Keep config up-to-date when user joins/parts    
 [ ** ] | keepnick  | Keep trying for your primary nick                                                                            |  
 [ ** ] | kickrejoin | Autorejoin on kick                                                                                   |  
 [ ** ] | nickserv  | Auths you with NickServ                                                                                 |  
 [ ** ] | perform   | Keeps a list of commands to be executed when ZNC connects                                             to IRC.                |  
 [ ** ] | simple_away | This module will automatically set you away on IRC while                                             you are disconnected from the bouncer. |  
 [ ** ] +-------------+----------------------------------------------------------                                            ---------------------------------------+  
 [ ** ] And 19 other (uncommon) modules. You can enable those later.  
 [ ** ]  
 [ ?? ] Load module <chansaver>? (yes/no) [no]: yes  
 [ ?? ] Load module <keepnick>? (yes/no) [no]: yes  
 [ ?? ] Load module <kickrejoin>? (yes/no) [no]: yes  
 [ ?? ] Load module <nickserv>? (yes/no) [no]: yes  
 [ ?? ] Load module <perform>? (yes/no) [no]: yes  
 [ ?? ] Load module <simple_away>? (yes/no) [no]: yes  
 [ ** ]  
 [ ** ] -- IRC Servers --  
 [ ** ] Only add servers from the same IRC network.  
 [ ** ] If a server from the list can't be reached, another server will be used.  
 [ ** ]  
 [ ?? ] IRC server (host only): irc.kampungchat.org  
 [ ?? ] [irc.kampungchat.org] Port (1 to 65535) [6667]: 6667  
 [ ?? ] [irc.kampungchat.org] Password (probably empty):  
 [ ?? ] Does this server use SSL? (yes/no) [no]: no  
 [ ** ]  
 [ ?? ] Would you like to add another server for this IRC network? (yes/no) [no]: no                                             no  
 [ ** ]  
 [ ** ] -- Channels --  
 [ ** ]  
 [ ?? ] Would you like to add a channel for ZNC to automatically join? (yes/no) [yes]: yes                                            yes]: yes  
 [ ?? ] Channel name: #underground  
 [ ?? ] Would you like to add another channel? (yes/no) [no]: no  
 [ ?? ] Would you like to set up another network? (yes/no) [no]: no  
 [ ** ]  
 [ ?? ] Would you like to set up another user? (yes/no) [no]: no  
 [ .. ] Writing config [/home/gaban/.znc/configs/znc.conf]...  
 [ >> ] ok  
 [ ** ]  
 [ ** ]To connect to this ZNC you need to connect to it as your IRC server  
 [ ** ]using the port that you supplied. You have to supply your login info  
 [ ** ]as the IRC server password like this: user/network:pass.  
 [ ** ]  
 [ ** ]Try something like this in your IRC client...  
 [ ** ]/server <znc_server_ip> 5678 GaBaN:<pass>  
 [ ** ]And this in your browser...  
 [ ** ]http://<znc_server_ip>:5678/  
 [ ** ]  
 [ ?? ] Launch ZNC now? (yes/no) [yes]: yes  
 [ .. ] Opening config [/home/gaban/.znc/configs/znc.conf]...  
 [ >> ] ok  
 [ .. ] Loading global module [partyline]...  
 [ >> ] [/usr/local/lib/znc/partyline.so]  
 [ .. ] Loading global module [webadmin]...  
 [ >> ] [/usr/local/lib/znc/webadmin.so]  
 [ .. ] Binding to port [5678]...  
 [ >> ] ok  
 [ ** ] Loading user [GaBaN]  
 [ ** ] Loading network [KampungChat]  
 [ .. ] Loading network module [chansaver]...  
 [ >> ] [/usr/local/lib/znc/chansaver.so]  
 [ .. ] Loading network module [keepnick]...  
 [ >> ] [/usr/local/lib/znc/keepnick.so]  
 [ .. ] Loading network module [kickrejoin]...  
 [ >> ] [/usr/local/lib/znc/kickrejoin.so]  
 [ .. ] Loading network module [nickserv]...  
 [ >> ] [/usr/local/lib/znc/nickserv.so]  
 [ .. ] Loading network module [perform]...  
 [ >> ] [/usr/local/lib/znc/perform.so]  
 [ .. ] Loading network module [simple_away]...  
 [ >> ] [/usr/local/lib/znc/simple_away.so]  
 [ .. ] Adding server [irc.kampungchat.org 6667 ]...  
 [ >> ] ok  
 [ .. ] Loading user module [chansaver]...  
 [ >> ] [/usr/local/lib/znc/chansaver.so]  
 [ .. ] Loading user module [controlpanel]...  
 [ >> ] [/usr/local/lib/znc/controlpanel.so]  
 [ .. ] Loading user module [perform]...  
 [ >> ] [/usr/local/lib/znc/perform.so]  
 [ .. ] Loading user module [webadmin]...  
 [ >> ] [/usr/local/lib/znc/webadmin.so]  
 [ .. ] Forking into the background...  
 [ >> ] [pid: 2096]  
 [ ** ] ZNC 1.4 - http://znc.in  
4. Siap!


Nota:
Anda boleh mengubah ZNC anda di laman web. Caranya dengan;
http://servershell:5678/

Monday, November 2, 2015

Memasang EggDrop versi 1.8 di Shell (IPv6)

Memasang EggDrop versi 1.8 di Shell.
Eggdrop versi 1.8 ini boleh menggunakan Ipv6.

Cara-cara membuatnya:
1. Log masuk ke shell anda.
2. Kemudian;
 $ wget ftp://ftp.eggheads.org/pub/eggdrop/source/snapshot/eggdrop1.8-snapshot.tar.gz  
 $ tar zxvf eggdrop1.8-snapshot.tar.gz  
 $ cd eggdrop1.8  
 $ ./configure  
 $ make config  
 $ make  
 $ make install  
3. Setelah siap di Compile, seterusnya menamakan semula folder eggdrop ke nama lain.
 $ cd  
 $ mv eggdrop mybot1.8  
 $ cd mybot1.8  
 $ wget http://bitcoinshell.mooo.com/users/pico/bot1.8.conf  
4. Sila pastikan anda edit fail 'bot1.8.conf'. Setelah siap, lakukan arahan ini;
 $ ./eggdrop -m bot1.8.conf  
5. Siap!


Nota:
Sila tunggu bot di canel dan mesej bot anda dengan ayat 'hello' dan 'myword'.

Memasang EggDrop versi 1.6.21 di Shell

Memasang EggDrop versi 1.6.21 di Shell.

Cara-cara membuatnya:
1. Log masuk ke shell anda.
2. Kemudian;
 $ wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.21.tar.gz  
 $ tar zxvf eggdrop1.6.21.tar.gz  
 $ cd eggdrop1.6.21  
 $ ./configure  
 $ make config  
 $ make  
 $ make install
3. Setelah siap di Compile, seterusnya menamakan semula folder eggdrop ke nama lain.
 $ cd  
 $ mv eggdrop mybot  
 $ cd mybot  
 $ wget http://bitcoinshell.mooo.com/users/pico/bot.conf  
4. Sila pastikan anda edit fail 'bot.conf'. Setelah siap, lakukan arahan ini;
 $ ./eggdrop -m bot.conf  
5. Siap!


Nota:
Sila tunggu bot di canel dan mesej bot anda dengan ayat 'hello' dan 'myword'.

Cara Menggunakan BNC

Selepas siap dipasang BNC nya, mari belajar pula cara menggunakannya.
Cara menggunakannya mudah sahaja.

Langkah-langkahnya:
1. Buka mIRC anda.
2. Masukkan info yang diperlukan seperti Nick dan lain-lain.
3. Kemudian, taip ini di Status mIRC;
 /Server 92.222.40.57:50000  
 /Quote Pass pass123  
 /Quote Conn irc.kampungchat.org:6667  
 /Join #underground  
3. Siap!

Cara Memasang BNC Perl di Shell

Cara Memasang BNC Perl di akaun Shell anda.

Dari sekian banyak BNC yang ada, BNC ini adalah yang sangat mudah dipasang.
BNC ini menggunakan bahasa pengaturcaraan Perl.
Hanya diperlukan PASSWORD, PORT serta IP alamat shell.

Cara-cara membuatnya:
1. Log masuk ke shell anda
2. Kemudian;
 $ wget http://bitcoinshell.mooo.com/users/pico/bnc.pl  
 $ perl bnc.pl pass123 50000 httpd  
3. Siap!


Nota:
Gunakan mIRC anda untuk menggunakan BNC ini.
/server 92.222.40.57:50000 pass123