Friday, January 19, 2018

Memasang ZNC versi 1.6.5 di Shell.

Memasang ZNC versi 1.6.5 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.5.tar.gz  
 $ tar -xzvf znc-1.6.5.tar.gz  
 $ cd znc-1.6.5  
 $ ./configure  
 $ make  
 $ make install  
 $ znc --makeconf  
3. Ikut arahan seperti berikut;
[ .. ] Checking for list of available modules...
[ >> ] ok
[ ** ]
[ ** ] -- Global settings --
[ ** ]
[ ?? ] Listen on port (1025 to 65534): 11335
[ ?? ] Listen using SSL (yes/no) [no]: no
[ ?? ] Listen using both IPv4 and IPv6 (yes/no) [yes]: yes
[ .. ] Verifying the listener...
[ >> ] ok
[ ** ] Enabled global modules [webadmin]
[ ** ]
[ ** ] -- Admin user settings --
[ ** ]
[ ?? ] Username (alphanumeric): GaBaN
[ ?? ] Enter password:
[ ?? ] Confirm password:
[ ?? ] Nick [GaBaN]: GaBaN
[ ?? ] Alternate nick [GaBaN_]: GaBaNz
[ ?? ] Ident [GaBaN]: gaban
[ ?? ] Real name [Got ZNC?]: leh kenalan?
[ ?? ] Bind host (optional):
[ ** ] Enabled user modules [chansaver, controlpanel]
[ ** ]
[ ?? ] Set up a network? (yes/no) [yes]: yes
[ ** ]
[ ** ] -- Network settings --
[ ** ]
[ ?? ] Name [freenode]: KampungChat
[ ?? ] Server host (host only): irc.kampungchat.org
[ ?? ] Server uses SSL? (yes/no) [no]: no
[ ?? ] Server port (1 to 65535) [6667]: 6667
[ ?? ] Server password (probably empty):
[ ?? ] Initial channels: #underground
[ ** ] Enabled network modules [simple_away]
[ ** ]
[ .. ] Writing config [/home/tembaga/.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 11335 GaBaN:
[ ** ]
[ ** ] To manage settings, users and networks, point your web browser to
[ ** ] http://:11335/
[ ** ]
[ ?? ] Launch ZNC now? (yes/no) [yes]: yes
[ .. ] Opening config [/home/tembaga/.znc/configs/znc.conf]...
[ >> ] ok
[ .. ] Loading global module [webadmin]...
[ >> ] [/usr/lib/znc/webadmin.so]
[ .. ] Binding to port [11335]...
[ >> ] ok
[ ** ] Loading user [GaBaN]
[ ** ] Loading network [KampungChat]
[ .. ] Loading network module [simple_away]...
[ >> ] [/usr/lib/znc/simple_away.so]
[ .. ] Adding server [irc.kampungchat.org 6667 ]...
[ >> ] ok
[ .. ] Loading user module [chansaver]...
[ >> ] ok
[ .. ] Loading user module [controlpanel]...
[ >> ] ok
[ .. ] Forking into the background...
[ >> ] [pid: 5008]
[ .. ] Writing pid file [/run/znc/znc.pid]...
[ !! ] failed
[ ** ] ZNC 1.6.5 - http://znc.in
4. Siap!


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

No comments:

Post a Comment