Test Block Top

The Blog...
Articles, Tips & Trick and Other Interesting Information...
Tampilkan postingan dengan label Code. Tampilkan semua postingan
Tampilkan postingan dengan label Code. Tampilkan semua postingan
11 Maret 2012

Install ConfigServer Mail Queues WHM Plugin

Satu lagi plugin add-on gratis cPanel/WHM dari ConfigServer.Com "ConfigServer Mail Queues (CMQ)". Plugin ini berguna untuk:


  1. Memberitahukan penyebab inbound atau outbound pengiriman email gagal

  2. Hapus bounce email

  3. Hapus frozen email (email tidak terkirim)

  4. Force antrian email dalam proses

  5. Terintegrasi dengan MailScanner. jika MailScanner terinstall, dapat melihat/hapus email baik itu dalam status pending atau dalam antrian kirim

  6. Cari, lihat atau hapus email dari/ke domain yang ditentukan

  7. Melihat history email dari log mail exim untuk email yang sudah ditentukan sebelumnya

  8. Retry delivery (kirim ulang) email untuk alamat email tertentu



Berikut cara install Plugin ConfigServer Mail Queues (CMQ) pada cPanel/WHM Server:

Download File cmq.tgz dengan command:

wget http://www.configserver.com/free/cmq.tgz

[bash collapse="false"]
root@server5 [~]# wget http://www.configserver.com/free/cmq.tgz
--2012-05-28 02:02:41-- http://www.configserver.com/free/cmq.tgz
Resolving www.configserver.com... 85.13.195.235
Connecting to www.configserver.com|85.13.195.235|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15702 (15K) [application/x-tar]
Saving to: âcmq.tgzâ

100%[======================================>] 15,702 15.2K/s in 1.0s

2012-05-28 02:02:44 (15.2 KB/s) - âcmq.tgzâ

root@server5 [~]#
[/bash]

Untar file dengan command:

tar -xzf cmq.tgz

[bash collapse="false"]
root@server5 [~]# tar -xzf cmq.tgz
root@server5 [~]#
[/bash]

cd (arahkan) ke direktori extract, kemudian jalankan proses install dengan command:

cd cmq/sh install.sh

[bash collapse="false"]
root@server5 [~]# cd cmq/
root@server5 [~/cmq]#
[/bash]

[bash collapse="false"]
root@server5 [~/cmq]# sh install.sh
`addon_cmq.cgi' -> `/usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi'
mode of `/usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi' changed to 0700 (rwx------)
`cmqversion.txt' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmqversion.txt'
`cmq/' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmq'
`cmq/cmq.js' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/cmq.js'
`cmq/minus.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/minus.png'
`cmq/viewdelivery.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/viewdelivery.png'
`cmq/delete.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/delete.png'
`cmq/deliver.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/deliver.png'
`cmq/plus.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/plus.png'
ConfigServer Mail Queues has been installed.
root@server5 [~/cmq]#
[/bash]

Selesai. Login ke WHM dan klik link 'ConfigServer Mail Queues' untuk mulai melakukan konfigurasi plugin.

[caption id="attachment_1213" align="alignnone" width="150" caption="Config Server Mail Queues WHM Plugin"]Config Server Mail Queues WHM Plugin[/caption]

Untuk uninstall, ketikkan command berikut ini:

rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmqversion.txt
rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmq/

[bash collapse="false"]
root@server5 [~/cmq]# rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi
removed `/usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi'
root@server5 [~/cmq]#
[/bash]

[bash collapse="false"]
root@server5 [~/cmq]# rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmqversion.txt
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmqversion.txt'
root@server5 [~/cmq]#
[/bash]

[bash collapse="false"]
root@server5 [~/cmq]# rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmq/
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/cmq.js'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/minus.png'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/viewdelivery.png'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/delete.png'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/deliver.png'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmq/plus.png'
removed directory: `/usr/local/cpanel/whostmgr/docroot/cgi/cmq'
root@server5 [~/cmq]#
[/bash]

Visit Publisher Script

Selesai.
:D
10 Maret 2012

Install ConfigServer Explorer Plugin cPanel/WHM

Satu lagi plugin cPanel/WHM gratis dari ConfigServer.Com "ConfigServer Explorer (CSE)". Plugin ini mempunyai kemampuan untuk melihat semua file/folder (Filesystem/Top Level Disk) cukup dengan login pada halaman WHM (Web Host Manager). Tentu saja hanya user root WHM yang dapat akses & menggunakan fitur plugin ini.

Beberapa fungsi Plugin ConfigServer Explorer (CSE) diantaranya:


  1. Memudahkan Server Administrator yang tidak terlalu familiar dengan penggunaan command shell

  2. Repair server jika akses SSH tidak tersedia

  3. Repair akses ke server dikarenakan kesalahan pada konfigurasi firewall atau SSH

  4. Edit file Server langsung via CSE

  5. File & Direktori:

    • Copy

    • Delete

    • Rename

    • Move

    • CHMOD (change permissions)

    • CHOWN (change ownership)



  6. Upload file ke server dalam mode BINARY atau ASCII

  7. Download file dari server langsung via CSE

  8. Akses mudah ke file/direktori server hanya dengan menggunakan web browser



Berikut cara singkat install Plugin ConfigServer Explorer (CSE) pada cPanel/WHM Server:

Command:

rm -fv cse.tgz
wget http://www.configserver.com/free/cse.tgz
tar -xzf cse.tgz
cd cse
sh install.sh
cd ..
rm -Rfv cse/ cse.tgz


[bash collapse="false"]
root@server5 [~]# rm -fv cse.tgz
root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# wget http://www.configserver.com/free/cse.tgz
--2012-05-28 02:55:29-- http://www.configserver.com/free/cse.tgz
Resolving www.configserver.com... 85.13.195.235
Connecting to www.configserver.com|85.13.195.235|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12207 (12K) [application/x-tar]
Saving to: âcse.tgzâ

100%[======================================>] 12,207 17.9K/s in 0.7s

2012-05-28 02:55:30 (17.9 KB/s) - âcse.tgzâ

root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# tar -xzf cse.tgz
root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# cd cse
root@server5 [~/cse]#
[/bash]

[bash collapse="false"]
root@server5 [~/cse]# sh install.sh
`addon_cse.cgi' -> `/usr/local/cpanel/whostmgr/docroot/cgi/addon_cse.cgi'
mode of `/usr/local/cpanel/whostmgr/docroot/cgi/addon_cse.cgi' changed to 0700 (rwx------)
`cseversion.txt' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cseversion.txt'
ConfigServer Explorer has been installed.
root@server5 [~/cse]#
[/bash]

[bash collapse="false"]
root@server5 [~/cse]# cd ..
root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# rm -Rfv cse/ cse.tgz
removed `cse/CHANGELOG.txt'
removed `cse/INSTALL.txt'
removed `cse/install.sh'
removed `cse/cseversion.txt'
removed `cse/addon_cse.cgi'
removed `cse/license.txt'
removed directory: `cse'
removed `cse.tgz'
root@server5 [~]#
[/bash]

Selesai. Plugin dapat langsung digunakan. Login pada WHM dan klik link 'ConfigServer Explorer'.

[caption id="attachment_1215" align="alignnone" width="150" caption="Config Server Explorer WHM Plugin"]Config Server Explorer WHM Plugin[/caption]

Untuk uninstall ConfigServer Explorer (CSE), ketikkan command berikut:

rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cse.cgi
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cseversion.txt


[bash collapse="false"]
root@server5 [~]# rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cse.cgi
removed `/usr/local/cpanel/whostmgr/docroot/cgi/addon_cse.cgi'
root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cseversion.txt
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cseversion.txt'
root@server5 [~]#
[/bash]

Visit Publisher Script
09 Maret 2012

Install ConfigServer Firewall WHM Plugin & Webmin Modul

ConfigServer Firewall (CSF) merupakan salah satu plugin cPanel/WHM (free/gratis) dari ConfigServer.Com dengan fungsi utama sebagai security firewall pada Linux Server.

Kemampuan script ConfigServer Firewall ini diantaranya:


  1. Dapat cek otentikasi gagal login pada:

    • Courier imap, Dovecot, uw-imap, Kerio

    • openSSH

    • cPanel, WHM, Webmail (hanya pada server cPanel)

    • Pure-ftpd, vsftpd, Proftpd

    • Password protected web pages (htpasswd)

    • Mod_security failures (v1 and v2)

    • Suhosin failures

    • Exim SMTP AUTH

    • Custom login failures with separate log file and regular expression matching



  2. Notifikasi login SSH

  3. Notifikasi login SU (Super User)

  4. Notifikasi WHM root login (hanya pada server cPanel)

  5. Integrasi User Interface (UI) untuk cPanel, DirectAdmin dan Webmin

  6. Exploit checks

  7. BOGON packet protection

  8. Port Scan tracking & blocking

  9. dan beberapa fungsi lainnya. Selengkapnya dapat dilihat pada halaman ini.



Berikut tutorial singkat install ConfigServer Firewall pada cPanel/WHM Server:

Command:
rm -fv csf.tgz
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh


[bash collapse="false"]
root@server5 [~]# rm -fv csf.tgz
root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# wget http://www.configserver.com/free/csf.tgz
--2012-05-28 03:38:24-- http://www.configserver.com/free/csf.tgz
Resolving www.configserver.com... 85.13.195.235
Connecting to www.configserver.com|85.13.195.235|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 434432 (424K) [application/x-tar]
Saving to: âcsf.tgzâ

100%[======================================>] 434,432 91.8K/s in 4.6s

2012-05-28 03:38:30 (91.8 KB/s) - âcsf.tgzâ

root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# tar -xzf csf.tgz
root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# cd csf
root@server5 [~/csf]#
[/bash]

[bash]
root@server5 [~/csf]# sh install.sh

Configuring for OS

Running csf cPanel installer

Installing csf and lfd

Check we're running as root

Checking Perl modules...Using configuration defaults
ok

mkdir: created directory `/etc/csf'
mkdir: created directory `/etc/csf/zone'
mkdir: created directory `/etc/csf/stats'
mkdir: created directory `/etc/csf/lock'
`csf.conf' -> `/etc/csf/./csf.conf'
`csf.allow' -> `/etc/csf/./csf.allow'
`csf.deny' -> `/etc/csf/./csf.deny'
`csf.redirect' -> `/etc/csf/./csf.redirect'
`csf.resellers' -> `/etc/csf/./csf.resellers'
`reselleralert.txt' -> `/etc/csf/./reselleralert.txt'
`csf.dirwatch' -> `/etc/csf/./csf.dirwatch'
`csf.logfiles' -> `/etc/csf/./csf.logfiles'
`csf.logignore' -> `/etc/csf/./csf.logignore'
`logalert.txt' -> `/etc/csf/./logalert.txt'
`csf.ignore' -> `/etc/csf/./csf.ignore'
`csf.pignore' -> `/etc/csf/./csf.pignore'
`csf.rignore' -> `/etc/csf/./csf.rignore'
`csf.fignore' -> `/etc/csf/./csf.fignore'
`csf.signore' -> `/etc/csf/./csf.signore'
`csf.suignore' -> `/etc/csf/./csf.suignore'
`csf.mignore' -> `/etc/csf/./csf.mignore'
`csf.sips' -> `/etc/csf/./csf.sips'
`csf.dyndns' -> `/etc/csf/./csf.dyndns'
`alert.txt' -> `/etc/csf/./alert.txt'
`logfloodalert.txt' -> `/etc/csf/./logfloodalert.txt'
`integrityalert.txt' -> `/etc/csf/./integrityalert.txt'
`exploitalert.txt' -> `/etc/csf/./exploitalert.txt'
`queuealert.txt' -> `/etc/csf/./queuealert.txt'
`tracking.txt' -> `/etc/csf/./tracking.txt'
`connectiontracking.txt' -> `/etc/csf/./connectiontracking.txt'
`processtracking.txt' -> `/etc/csf/./processtracking.txt'
`accounttracking.txt' -> `/etc/csf/./accounttracking.txt'
`usertracking.txt' -> `/etc/csf/./usertracking.txt'
`sshalert.txt' -> `/etc/csf/./sshalert.txt'
`sualert.txt' -> `/etc/csf/./sualert.txt'
`consolealert.txt' -> `/etc/csf/./consolealert.txt'
`uialert.txt' -> `/etc/csf/./uialert.txt'
`cpanelalert.txt' -> `/etc/csf/./cpanelalert.txt'
`scriptalert.txt' -> `/etc/csf/./scriptalert.txt'
`relayalert.txt' -> `/etc/csf/./relayalert.txt'
`filealert.txt' -> `/etc/csf/./filealert.txt'
`watchalert.txt' -> `/etc/csf/./watchalert.txt'
`loadalert.txt' -> `/etc/csf/./loadalert.txt'
`resalert.txt' -> `/etc/csf/./resalert.txt'
`portscan.txt' -> `/etc/csf/./portscan.txt'
`permblock.txt' -> `/etc/csf/./permblock.txt'
`netblock.txt' -> `/etc/csf/./netblock.txt'
`portknocking.txt' -> `/etc/csf/./portknocking.txt'
`regex.custom.pm' -> `/etc/csf/./regex.custom.pm'
`pt_deleted_action.pl' -> `/etc/csf/./pt_deleted_action.pl'
`messenger' -> `/etc/csf/./messenger'
`messenger/index.text' -> `/etc/csf/./messenger/index.text'
`messenger/index.html' -> `/etc/csf/./messenger/index.html'
`messenger/csf_small.png' -> `/etc/csf/./messenger/csf_small.png'
`ui' -> `/etc/csf/./ui'
`ui/server.key' -> `/etc/csf/./ui/server.key'
`ui/ui.ban' -> `/etc/csf/./ui/ui.ban'
`ui/server.crt' -> `/etc/csf/./ui/server.crt'
`ui/ui.allow' -> `/etc/csf/./ui/ui.allow'
`ui/images' -> `/etc/csf/./ui/images'
`ui/images/cxs.png' -> `/etc/csf/./ui/images/cxs.png'
`ui/images/icon.gif' -> `/etc/csf/./ui/images/icon.gif'
`ui/images/cxs_small.png' -> `/etc/csf/./ui/images/cxs_small.png'
`ui/images/minus.png' -> `/etc/csf/./ui/images/minus.png'
`ui/images/viewdelivery.png' -> `/etc/csf/./ui/images/viewdelivery.png'
`ui/images/delete.png' -> `/etc/csf/./ui/images/delete.png'
`ui/images/deliver.png' -> `/etc/csf/./ui/images/deliver.png'
`ui/images/cxs-loader.gif' -> `/etc/csf/./ui/images/cxs-loader.gif'
`ui/images/plus.png' -> `/etc/csf/./ui/images/plus.png'
`ui/images/perm.png' -> `/etc/csf/./ui/images/perm.png'
`ui/images/cse_small.png' -> `/etc/csf/./ui/images/cse_small.png'
`ui/images/csf_small.png' -> `/etc/csf/./ui/images/csf_small.png'
`lfd.logrotate' -> `/etc/logrotate.d/lfd'
`csfcron.sh' -> `/etc/cron.d/csfcron.sh'
`lfdcron.sh' -> `/etc/cron.d/lfdcron.sh'
`csf.pl' -> `/etc/csf/csf.pl'
`csfui.pl' -> `/etc/csf/csfui.pl'
`csfuir.pl' -> `/etc/csf/csfuir.pl'
`cseui.pl' -> `/etc/csf/cseui.pl'
`csftest.pl' -> `/etc/csf/csftest.pl'
`lfd.pl' -> `/etc/csf/lfd.pl'
`regex.pm' -> `/etc/csf/regex.pm'
`servercheck.pm' -> `/etc/csf/servercheck.pm'
`readme.txt' -> `/etc/csf/readme.txt'
`sanity.txt' -> `/etc/csf/sanity.txt'
`x-arf.txt' -> `/etc/csf/x-arf.txt'
`changelog.txt' -> `/etc/csf/changelog.txt'
`install.txt' -> `/etc/csf/install.txt'
`version.txt' -> `/etc/csf/version.txt'
`license.txt' -> `/etc/csf/license.txt'
`uninstall.sh' -> `/etc/csf/uninstall.sh'
`remove_apf_bfd.sh' -> `/etc/csf/remove_apf_bfd.sh'
`lfd.sh' -> `/etc/init.d/lfd'
`csf.sh' -> `/etc/init.d/csf'
`Net' -> `/etc/csf/Net'
`Net/CIDR' -> `/etc/csf/Net/CIDR'
`Net/CIDR/Lite.pm' -> `/etc/csf/Net/CIDR/Lite.pm'
`Geo' -> `/etc/csf/Geo'
`Geo/IP' -> `/etc/csf/Geo/IP'
`Geo/IP/PurePerl.pm' -> `/etc/csf/Geo/IP/PurePerl.pm'
`Crypt' -> `/etc/csf/Crypt'
`Crypt/Blowfish_PP.pm' -> `/etc/csf/Crypt/Blowfish_PP.pm'
`Crypt/CBC.pm' -> `/etc/csf/Crypt/CBC.pm'
`csf.div' -> `/etc/csf/csf.div'
`ui/images/cxs.png' -> `/etc/csf/ui/./images/cxs.png'
`ui/images/icon.gif' -> `/etc/csf/ui/./images/icon.gif'
`ui/images/cxs_small.png' -> `/etc/csf/ui/./images/cxs_small.png'
`ui/images/minus.png' -> `/etc/csf/ui/./images/minus.png'
`ui/images/viewdelivery.png' -> `/etc/csf/ui/./images/viewdelivery.png'
`ui/images/delete.png' -> `/etc/csf/ui/./images/delete.png'
`ui/images/deliver.png' -> `/etc/csf/ui/./images/deliver.png'
`ui/images/cxs-loader.gif' -> `/etc/csf/ui/./images/cxs-loader.gif'
`ui/images/plus.png' -> `/etc/csf/ui/./images/plus.png'
`ui/images/perm.png' -> `/etc/csf/ui/./images/perm.png'
`ui/images/cse_small.png' -> `/etc/csf/ui/./images/cse_small.png'
`ui/images/csf_small.png' -> `/etc/csf/ui/./images/csf_small.png'
chmod: cannot access `/var/log/lfd.log*': No such file or directory
mode of `/etc/csf/cseui.pl' changed to 0700 (rwx------)
mode of `/etc/csf/csf.pl' changed to 0700 (rwx------)
mode of `/etc/csf/csftest.pl' changed to 0700 (rwx------)
mode of `/etc/csf/csfui.pl' changed to 0700 (rwx------)
mode of `/etc/csf/csfuir.pl' changed to 0700 (rwx------)
mode of `/etc/csf/lfd.pl' changed to 0700 (rwx------)
mode of `/etc/csf/pt_deleted_action.pl' changed to 0700 (rwx------)
mode of `/etc/csf/regex.custom.pm' changed to 0700 (rwx------)
mode of `/etc/csf/regex.pm' changed to 0700 (rwx------)
mode of `/etc/csf/servercheck.pm' changed to 0700 (rwx------)
mode of `/etc/csf/remove_apf_bfd.sh' changed to 0700 (rwx------)
mode of `/etc/csf/uninstall.sh' changed to 0700 (rwx------)
chmod: cannot access `/etc/csf/*.php': No such file or directory
failed to change mode of `/etc/csf/*.php' to 0000 (---------)
mode of `/etc/init.d/lfd' changed to 0700 (rwx------)
mode of `/etc/init.d/csf' changed to 0700 (rwx------)
mode of `/etc/cron.d/lfdcron.sh' changed to 0644 (rw-r--r--)
mode of `/etc/cron.d/csfcron.sh' changed to 0644 (rw-r--r--)
`/usr/sbin/csf' -> `/etc/csf/csf.pl'
`/usr/sbin/lfd' -> `/etc/csf/lfd.pl'
`addon_csf.cgi' -> `/usr/local/cpanel/whostmgr/docroot/cgi/./addon_csf.cgi'
mode of `/usr/local/cpanel/whostmgr/docroot/cgi/addon_csf.cgi' changed to 0700 (rwx------)
`csf/' -> `/usr/local/cpanel/whostmgr/docroot/cgi/csf'
`csf/minus.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/csf/minus.png'
`csf/delete.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/csf/delete.png'
`csf/plus.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/csf/plus.png'
`csf/perm.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/csf/perm.png'
`csf/csf_small.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/csf/csf_small.png'

*** IPV6 Enabled


*** IPV6_SPI set to 1


TCP ports currently listening for incoming connections:
21,22,25,53,80,110,143,443,465,587,993,995,2077,2078,2082,2083,2086,2087,2095,2096,3306,5672

UDP ports currently listening for incoming connections:
53,68

IPv6 TCP ports currently listening for incoming connections:
21,22,25,465,587,5672

IPv6 UDP ports currently listening for incoming connections:


Note: The port details above are for information only, csf hasn't been auto-configured.

Don't forget to:
1. Configure the following options in the csf configuration to suite your server: TCP_*, UDP_*, IPV6, TCP6_*, UDP6_*
2. Restart csf and lfd
3. Set TESTING to 0 once you're happy with the firewall

Adding current SSH session IP address to the csf whitelist in csf.allow:
Adding 192.168.211.1 to csf.allow only while in TESTING mode (not iptables ACCEPT)
*WARNING* TESTING mode is enabled - do not forget to disable it in the configuration

Installation Completed

root@server5 [~/csf]#
[/bash]

Selanjutnya, cek apakah iptables modules diminta (diperlukan) dengan menjalankan command berikut:

[bash]
root@server5 [~/csf]# perl /etc/csf/csftest.pl
Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...OK
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...OK
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing xt_connlimit...OK
Testing ipt_owner/xt_owner...OK
Testing iptable_nat/ipt_REDIRECT...OK
Testing iptable_nat/ipt_DNAT...OK

RESULT: csf should function on this server
root@server5 [~/csf]#
[/bash]

Konfigurasi iptables apapun lainnya harus di-disabled, misal jika sebelumnya menggunakan APF+BFD dengan terlebih dahulu men-disable (hapus/remove).

Command:

sh /etc/csf/remove_apf_bfd.sh

Selesai. CSF dapat dikonfigurasikan langsung via edit file /etc/csf/*, atau pada cPanel dapat menggunakan WHM UI (User Interface).

[caption id="attachment_1217" align="alignnone" width="150" caption="ConfigServer Security & Firewall (CSF) WHM Plugin"]CSF WHM Plugin[/caption]

Harap diingat, CSF auto configure port ssh sesuai pada saat instalasi dan juga otomatis menambahkan IP Address administrator waktu install ke daftar whitelist.

Webmin Module Installation/Upgrade

Untuk install atau upgrade module csf pada webmin, install csf seperti command di atas, kemudian install module csf.

WebminWebmin ConfigurationWebmin ModulesFrom local file/etc/csf/csfwebmin.tgzInstall Module


[caption id="attachment_1218" align="alignleft" width="150" caption="CSF Webmin Module 1"]CSF Webmin Module 1[/caption][caption id="attachment_1219" align="alignleft" width="150" caption="CSF Webmin Module 2"]CSF Webmin Module 2[/caption][caption id="attachment_1220" align="alignleft" width="150" caption="CSF Webmin Module 3"]CSF Webmin Module 3[/caption]


Klik Refresh ModuleSystemConfigServer Security & Firewall untuk mulai configurasi CSF.


[caption id="attachment_1221" align="alignleft" width="150" caption="CSF Webmin Module 4"]CSF Webmin Module 4[/caption][caption id="attachment_1222" align="alignleft" width="150" caption="CSF Webmin Module 5"]CSF Webmin Module 5[/caption]


Uninstall CSF

cPanel Server, gunakan command berikut:

[bash collapse="false"]
[root@localhost ~]# cd /etc/csf
[root@localhost csf]# sh uninstall.sh
[/bash]

Pada DirectAdmin servers, jalankan command berikut:

[bash collapse="false"]
[root@localhost ~]# cd /etc/csf
[root@localhost csf]# sh uninstall.directadmin.sh
[/bash]

Pada Generic Linux Server, jalankan command berikut:

[bash collapse="false"]
[root@localhost ~]# cd /etc/csf
[root@localhost csf]# sh uninstall.generic.sh
[/bash]

Visit Publisher Script
08 Maret 2012

Install ConfigServer Mail Manage WHM Plugin

ConfigServer Mail Manage merupakan plugin gratis WHM yang memberikan kemudahan kepada server administrator untuk melihat ataupun edit konfigurasi email cPanel user account tanpa harus login ke account client (cukup dengan login ke WHM / root access).

Kemudahan yang akan anda dapatkan pada plugin ini:


  1. Lihat, edit dan hapus email account

  2. Lihat, edit dan hapus email forwarder

  3. Lihat, edit dan hapus email filter

  4. Lihat dan edit quota email account (batasan ruang penyimpanan)

  5. Edit email account password

  6. Edit Outgoing Mail Hourly Limits (batasan pengiriman email per jam)

  7. Men-sortir hanya pada account email yang overquota.
  8. Men-sortir hanya pada account email sesuai dengan size (ukuran kapasitas) yang ditentukan (melalui filter).

  9. Lihat jumlah email pada account email tertentu

  10. Hapus account email

  11. Lihat email pada account email tertentu

  12. Hapus email pada account email tertentu



Berikut tutorial install ConfigServer Mail Manage WHM plugin:

Download cmm.tgz:

wget http://www.configserver.com/free/cmm.tgz

[bash collapse="false"]
root@server5 [~]# wget http://www.configserver.com/free/cmm.tgz
--2012-05-28 21:07:06-- http://www.configserver.com/free/cmm.tgz
Resolving www.configserver.com... 85.13.195.235
Connecting to www.configserver.com|85.13.195.235|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21507 (21K) [application/x-tar]
Saving to: âcmm.tgzâ

100%[======================================>] 21,507 20.0K/s in 1.0s

2012-05-28 21:07:10 (20.0 KB/s) - âcmm.tgzâ

root@server5 [~]#
[/bash]

Untar file cmm.tgz

tar -xzf cmm.tgz

[bash collapse="false"]
root@server5 [~]# tar -xzf cmm.tgz
root@server5 [~]#
[/bash]

Navigasikan ke directory dimana file ter-ekstract, kemudian jalankan command install ConfigServer Mail Manage:

cd cmm/
sh install.sh


[bash collapse="false"]
root@server5 [~]# cd cmm/
root@server5 [~/cmm]# sh install.sh
`addon_cmm.cgi' -> `/usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi'
mode of `/usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi' changed to 0700 (rwx------)
`cmmversion.txt' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmmversion.txt'
`cmm/' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmm'
`cmm/sa.jpg' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/sa.jpg'
`cmm/empty.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/empty.png'
`cmm/up.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/up.png'
`cmm/view.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/view.png'
`cmm/delete.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/delete.png'
`cmm/manage.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/manage.png'
`cmm/quota.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/quota.png'
`cmm/password.png' -> `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/password.png'
ConfigServer Mail Management has been installed.
root@server5 [~/cmm]#
[/bash]

Login ke WHM kemudian scroll ke bawah. Untuk mulai meng-konfigurasikan plugin CMM, klik pada link "ConfigServer Mail Manage".

[caption id="attachment_1228" align="alignnone" width="150" caption="ConfigServer Mail Manage WHM Plugin"]ConfigServer Mail Manage WHM Plugin[/caption]

Jika ingin uninstall script, jalankan command uninstall berikut ini:

rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmmversion.txt
rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmm/


[bash collapse="false"]
root@server5 [~]# rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi
removed `/usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi'
root@server5 [~]#
[/bash]


[bash collapse="false"]
root@server5 [~]# rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmmversion.txt
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmmversion.txt'
root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmm/
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/sa.jpg'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/empty.png'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/up.png'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/view.png'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/delete.png'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/manage.png'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/quota.png'
removed `/usr/local/cpanel/whostmgr/docroot/cgi/cmm/password.png'
removed directory: `/usr/local/cpanel/whostmgr/docroot/cgi/cmm'
root@server5 [~]#
[/bash]

Visit Publisher Script
07 Maret 2012

Install Account DNS Check WHM Plugin

Account DNS Check merupakan salah satu plugin cPanel WHM Gratis yang berfungsi untuk memeriksa/cek resolve tidaknya DNS (IP) domain account client yang terdaftar pada server dengan setting DNS pada domain panel manager. Dengan menggunakan plugin ini, anda dapat menghemat waktu untuk cek daftar account yang resolve atau tidak ke IP Server.

Install Plugin Account DNS Check pada WHM menggunakan command berikut:

cd /home
rm -f latest-accountdnscheck
wget http://www.ndchost.com/cpanel-whm/plugins/accountdnscheck/download.php
sh latest-accountdnscheck


[bash collapse="false"]
root@server5 [~]# cd /home
root@server5 [/home]# rm -f latest-accountdnscheck
root@server5 [/home]# wget http://www.ndchost.com/cpanel-whm/plugins/accountdnscheck/download.php
--2012-05-28 21:54:24-- http://www.ndchost.com/cpanel-whm/plugins/accountdnscheck/download.php
Resolving www.ndchost.com... 204.10.36.37
Connecting to www.ndchost.com|204.10.36.37|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.ndchost.com/accountdnscheck/latest-accountdnscheck [following]
--2012-05-28 21:54:26-- http://download.ndchost.com/accountdnscheck/latest-accountdnscheck
Resolving download.ndchost.com... 204.10.39.137
Connecting to download.ndchost.com|204.10.39.137|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14414 (14K) [text/plain]
Saving to: âlatest-accountdnscheckâ

100%[======================================>] 14,414 19.6K/s in 0.7s

2012-05-28 21:54:27 (19.6 KB/s) - âlatest-accountdnscheckâ

root@server5 [/home]#
[/bash]

[bash collapse="false"]
root@server5 [/home]# sh latest-accountdnscheck
Creating directory installd-accountdnscheck
Verifying archive integrity... All good.
Uncompressing cPanel/WHM Account DNS Check Plugin by NDCHost.com...........
/bin/mkdir: created directory `/var/cpanel/accountdnscheck'
/bin/mkdir: created directory `/var/cpanel/accountdnscheck/scripts'
/bin/mkdir: created directory `/usr/local/cpanel/whostmgr/docroot/accountdnscheck'
`web/addon_acountdnscheck.cgi' -> `/usr/local/cpanel/whostmgr/docroot/accountdnscheck/addon_acountdnscheck.cgi'
`web/index.php' -> `/usr/local/cpanel/whostmgr/docroot/accountdnscheck/index.php'
`scripts/cli_run.sh' -> `/var/cpanel/accountdnscheck/scripts/cli_run.sh'
`scripts/uninstall' -> `/var/cpanel/accountdnscheck/scripts/uninstall'
`accountdnscheck.class.php' -> `/var/cpanel/accountdnscheck/accountdnscheck.class.php'
`version' -> `/var/cpanel/accountdnscheck/version'
`changelog' -> `/var/cpanel/accountdnscheck/changelog'
`/usr/local/cpanel/whostmgr/docroot/accountdnscheck/addon_acountdnscheck.cgi' -> `/usr/local/cpanel/whostmgr/docroot/cgi/addon_acountdnscheck.cgi'
root@server5 [/home]#
[/bash]

Login pada halaman WHM (root akses), klik pada Plugin Account DNS Check. Lama tidaknya hasil sortir (output) list account tergantung pada banyaknya domain yang terdaftar di server, kecepatan koneksi server, banyaknya domain yang tidak resolve, dan faktor penentu lainnya.

[caption id="attachment_1233" align="alignnone" width="150" caption="Account DNS Check WHM Plugin"]Account DNS Check WHM Plugin[/caption]

Plugin ini juga dapat dijalankan langsung dengan cara menggunakan command line.

/var/cpanel/accountdnscheck/scripts/cli_run.sh

[bash]
root@server5 [/home]# /var/cpanel/accountdnscheck/scripts/cli_run.sh
Version: 8 written by NDCHost.com

Account DNS Check

Checking Domains HTTP/1.0 200 OK Connection: close Server:
whostmgr/11.32.2.25 Content-type: text/html; charset=utf-8
Support
cPanel & WHM FAQ Support Forums WHM Documentation cPanel Documentation
Contact cPanel

Main >> Cluster/Remote Access >> Setup Remote Access Key

Setup Remote Access Key

Remote access keys allow you to log into your server without using a
password. You can use a remote access key (or access hash) to
authenticate with WHMâs remote API or DNS clustering features. If you
are using a remote billing solution, you will probably need to set up a
remote access key on all your cPanel and WHM servers. Read our
documentation for specific information about how to use remote access
keys.

Access key for user ârootâ



You may generate a new access key here. Note that generating a new
remote access key will invalidate any existing remote access key. If
you generate a new key, systems using the existing key will no longer
be able to connect.
(Submit) Generate New Key

. Completed

Resolved to correct IP

Resolved to wrong IP

ngetest.com [ 113.212.163.130 ]

This script was written by NDCHost.com

a58a6f37ff9a28a6cbe0bed7dc38b95c aac98e08xxxxxxxxxxxxxxxxc1c7cced
baf2039a15bcca9090253c9844a93862 05f10b1fdfa23939f61b6bb3bb365cdd
0927ab7988bc21fb921247fab5faf4e3 102d6d530b7d795f23b2712923205069
3d1e25c01e412235609c60ce12bc48b5 2cd2axxxxxx10d097c247d8a64fb7aee
16e1f3d548exxxxxddf5faacf69687d2 e71837168a5fffd5e2b2e03440f7e320
50dc90ff1dba5076113907f36f7c17e4 cc06c409f21070fe8f593d6f0def5348
4689f822afe181e10ab868c3ae0e91b0 514638b3ecf6272f1233e48473059251
42ec7xxxxx308a590c756fb5becb9fa3 bd82cfe1957ba378431f9cfba588e494
68f97f54562c4d673684226c8a59a47e f39e9xxxxx77e23dd706b1f301872cb0
9e4ae2fb7475xxxxxxxxx6899868408d 6bd58ce36504e11d521688d3420568ea
fb7785e204207212df83204502c0229a 99af9efxxxxxxxx55e9a261de6b07c27
63d53d14505ffe986e8066fdec73eaca fae5546fdd018c0fb11541eabf952fbc
525525607021862394886ab787bb52e6 a6cc4b624908xxxxxxxxx2b38b830aa6
a7dbe640xxxxxxxxxxxxb0946611bcae 82d985aa45302b1681257283790410bb
401df1bc5e75abdxxxxxxxxxxaea8191
root@server5 [/home]#
[/bash]

Visit Publisher Script
06 Maret 2012

Install Softaculous Plugin cPanel/WHM

Softaculous Auto Installer sama fungsinya dengan plugin cPanel/WHM sebelumnya (Fantastico Auto Installer). Berikut cara install Softaculous pada cPanel/WHM Server:

Command:

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://www.softaculous.com/ins/addon_softaculous.php
chmod 755 addon_softaculous.php


[bash collapse="false"]
root@server5 [~]# cd /usr/local/cpanel/whostmgr/docroot/cgi
root@server5 [/usr/local/cpanel/whostmgr/docroot/cgi]# wget -N http://www.softaculous.com/ins/addon_softaculous.php
--2012-05-28 23:59:23-- http://www.softaculous.com/ins/addon_softaculous.php
Resolving www.softaculous.com... 216.18.221.243
Connecting to www.softaculous.com|216.18.221.243|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: âaddon_softaculous.phpâ

[ <=> ] 16,352 25.3K/s in 0.6s

Last-modified header missing -- time-stamps turned off.
2012-05-28 23:59:24 (25.3 KB/s) - âaddon_softaculous.phpâ

root@server5 [/usr/local/cpanel/whostmgr/docroot/cgi]# chmod 755 addon_softaculous.php
root@server5 [/usr/local/cpanel/whostmgr/docroot/cgi]#
[/bash]

Login pada "WHM" & klik plugin "Softaculous - Instant Installs".


[caption id="attachment_1243" align="alignleft" width="150" caption="Softaculous WHM Plugin"]Softaculous WHM Plugin[/caption][caption id="attachment_1267" align="alignleft" width="150" caption="Softaculous WHM Plugin 2"]Install Softaculous WHM Plugin[/caption]


Jika muncul pesan error:



Error:



Site error: the file /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.


Solusi:

  1. "WHM" → klik"Server Configuration""Tweak Setting"
  2. Di bawah tab "PHP", klik "** cPanel PHP loader [?]".
  3. "Use oldsourceguardian for version 1.x and 2.x." pilih "ioncube".


Dampak:

Setiap login cPanel atau WHM harus menggunakan SSL, cara mengatasinya:

  1. "WHM" → klik "Server Configuration → "Tweak Setting".
  2. Di bawah tab "Security", "Require SSL [?]" set ke "Off".


Selesai.
05 Maret 2012

Install Fantastico Autoinstaller WHM Plugin

Berikut cara install Fantastico Auto Installer pada cPanel server. Login ke SSH Server dan jalankan command berikut ini pada jendela shell.

Command:

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
tar -xzpf fantastico_whm_admin.tgz
rm -rf fantastico_whm_admin.tgz


[bash collapse="false"]
root@server5 [~]# cd /usr/local/cpanel/whostmgr/docroot/cgi
root@server5 [/usr/local/cpanel/whostmgr/docroot/cgi]# wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
--2012-05-29 00:37:13-- http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
Resolving files.betaservant.com... 72.52.238.116
Connecting to files.betaservant.com|72.52.238.116|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 196007 (191K) [application/x-tar]
Saving to: âfantastico_whm_admin.tgzâ

100%[======================================>] 196,007 71.4K/s in 2.7s

2012-05-29 00:37:16 (71.4 KB/s) - âfantastico_whm_admin.tgzâ

root@server5 [/usr/local/cpanel/whostmgr/docroot/cgi]# tar -xzpf fantastico_whm_admin.tgz
root@server5 [/usr/local/cpanel/whostmgr/docroot/cgi]# rm -rf fantastico_whm_admin.tgz
root@server5 [/usr/local/cpanel/whostmgr/docroot/cgi]#
[/bash]

Login ke WHM → Plugins → Fantastico De Luxe WHM Admin → jika plugin fantastico fresh install (pertama kali di install), klik link 'Click here'. Jika sebelumnya sudah terinstall, Fantastico De Luxe WHM Admin akant otomatis update file. Semua admin file (masterfiles, tarballs, setting dlsb) akan dipindah atau dibuat pada direktori "/var/netenberg".

[caption id="attachment_1246" align="alignnone" width="150" caption="Fantastico Deluxe WHM Plugin"]Fantastico Deluxe WHM Plugin[/caption]

Jika anda menerima pesan error ("Source Guardian Error") ketika klik pada menu plugin "Fantastico De Luxe WHM Admin", jalankan command berikut ini pada shell:

chmod -R 0755 /usr/local/cpanel/3rdparty/etc/ixed

Selesai.

Install, Uninstall & Reinstall Zamfoo Hosting Reseller WHM Plugin

Zamfoo merupakan salah satu plugin WHM yang memberi kemudahan untuk membuat dan mengelola akun Reseller, Master Reseller, Alpha Reseller dan Super Alpha Reseller. Untuk install zamfoo cPanel/WHM plugin ini anda sebelumnya harus sudah mempunyai (membeli) license key yang dapat anda peroleh pada halaman ini. Atau bisa juga coba versi trial license (6 akun Alpha atau Master Reseller selama 2 bulan).

Untuk mulai install, anda terlebih dahulu harus sudah login ke SSH server. Setelah itu ketikkan command berikut:

Install Zamfoo Pada cPanel

cd /
wget http://www.zamfoo.com/downloads/zamfoo_installer.tar
tar -xvf zamfoo_installer.tar
chmod 755 runme.cgi
./runme.cgi


[bash collapse="false"]
root@server5 [~]# cd /
root@server5 [/]# wget http://www.zamfoo.com/downloads/zamfoo_installer.tar
--2012-05-29 01:13:59-- http://www.zamfoo.com/downloads/zamfoo_installer.tar
Resolving www.zamfoo.com... 174.120.83.5
Connecting to www.zamfoo.com|174.120.83.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10240 (10K) [application/x-tar]
Saving to: âzamfoo_installer.tarâ

100%[======================================>] 10,240 --.-K/s in 0.04s

2012-05-29 01:14:00 (255 KB/s) - âzamfoo_installer.tarâ

root@server5 [/]# tar -xvf zamfoo_installer.tar
runme.cgi
root@server5 [/]# chmod 755 runme.cgi
[/bash]

[bash highlight="69"]
root@server5 [/]# ./runme.cgi
Content-Type: text/html; charset=ISO-8859-1

starting script
perl version: v5.8.8
Perl Full Version: 5.8.8
Perl Major Version: 5
Perl Minor Version: 8
Perl Sub Version: 8
Architecture version: x86_64-linux
Root access hash exists....doing nothing
compile result: 0
0
1
0
0
archtype: x86_64-linux
--2012-05-29 01:14:33-- http://www.zamfoo.com/downloads/perl5.8/zamfoo/x86_64-linux/zamfoo_reseller.tar
Resolving www.zamfoo.com... 174.120.83.5
Connecting to www.zamfoo.com|174.120.83.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23101440 (22M) [application/x-tar]
Saving to: âzamfoo_reseller.tarâ

100%[======================================>] 23,101,440 140K/s in 3m 37s

2012-05-29 01:18:11 (104 KB/s) - âzamfoo_reseller.tarâ

Obtaining files: wget "http://www.zamfoo.com/downloads/perl5.8/zamfoo/x86_64-linux/zamfoo_reseller.tar"mkdir: cannot create directory `/zamfoo_reseller': File exists

Downloading: Done

Unpacking: Done
root access hash exists....doing nothing
cp: omitting directory `/zamfoo_reseller/zamfoo'
cp: omitting directory `/zamfoo_reseller/magicwand/backupdnszones'
cp: omitting directory `/zamfoo_reseller/b9/configfiles/modsec_rules'
cp: omitting directory `/zamfoo_reseller/whmcs/whmcs'
mv: cannot stat `/scripts/postwwwacct': No such file or directory
mv: cannot stat `/scripts/prekillacct': No such file or directory
chmod: cannot access `/zamfoo_reseller/zamfoo_uninstall_everything.cgi': No such file or directory
cp -rf /root/cpanel3-skel/.zamfoo/settings_autogrant /home/ngetest/.zamfoo
cp -rf /root/cpanel3-skel/.zamfoo/settings_logins /home/ngetest/.zamfoo
cp -rf /root/cpanel3-skel/.zamfoo/settings_defaultacl /home/ngetest/.zamfoo
cp -rf /home/root/.zamfoo/settings_acl /home/ngetest/.zamfoo
cp -rf /root/cpanel3-skel/.zamfoo/ip_nameservers /home/ngetest/.zamfoo
cp -rf /root/cpanel3-skel/.zamfoo/accounts* /home/ngetest/.zamfoo
cp -rf /root/cpanel3-skel/.zamfoo/autogrant* /home/ngetest/.zamfoo
chown root:root /home/ngetest/.zamfoo


Disregard Installation Errors
Installation Complete
GNU nano 2.0.9 File: .../cgi/zamfoo/zamfoo_reseller_license_key.php

<?PHP
//Replace the words Enter License Key Here with
//your license key on LINE 15 below

//SOME....NOT ALL Correct EXAMPLES are Provided:
// $l1cense="Trial-e430e667d5e4";
// $l1cense="Monthly-e430e667d5e4";
// $l1cense="Free-e430e667d5e4";
// $l1cense="MasterOnly-e430e667d5e4";

//Then hit 'control' key and the letter 'o' key at the same time(not number 0 k$
//Then hit the 'enter' key to save the file
//Then hit 'control' key and the letter 'x' key at the same time to exit

$license="Enter License Key Here";

?>


[ Wrote 17 lines ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
[/bash]

Untuk update lisensi zamfoo (dari trial ke versi bayar atau install trial license), edit file "zamfoo_reseller_license_key.php", atau submit license key pada proses instalasi (lihat baris ke-69 pada code di atas → $license="Enter License Key Here";):

Command:
nano /usr/local/cpanel/whostmgr/docroot/cgi/zamfoo/zamfoo_reseller_license_key.php
// atau
vi /usr/local/cpanel/whostmgr/docroot/cgi/zamfoo/zamfoo_reseller_license_key.php

[caption id="attachment_1250" align="alignnone" width="150" caption="Zamfoo Reseller WHM Plugin"]Zamfoo Reseller WHM Plugin[/caption]

Untuk ReInstall Zamfoo, ketikkan command berikut:

[bash collapse="false"]
[root@server ~]# cd /
[root@server /]# wget http://www.zamfoo.com/downloads/zamfoo_reinstaller.tar
[root@server /]# tar -xvf zamfoo_reinstaller.tar
[root@server /]# chmod 755 reinstall.cgi
[root@server /]# ./reinstall.cgi
[/bash]

Reinstall Zamfoo tidak menghapus data-data client reseller yang sudah ada, melainkan hanya update file script zamfoo pada server.

Uninstall Zamfoo.
Sebelum melakukan proses uninstall dianjurkan anda membuat backup file data client terlebih dahulu, karena uninstall ini akan menghapus semua file script dan file data zamfoo pada server.

Untuk uninstall Zamfoo, ketikkan command berikut:

[bash collapse="false"]
[root@server ~]# cd /
[root@server /]# wget wget http://www.zamfoo.com/downloads/zamfoo_uninstaller.tar
[root@server /]# tar -xvf zamfoo_uninstaller.tar
[root@server /]# chmod 755 uninstall.cgi
[root@server /]# ./uninstall.cgi
[/bash]

Referensi:


  1. http://www.zamfoo.com/control2/kb/index.php?task=article&article_id=1

04 Maret 2012

Install Ruby On Rails & Ruby Gems Pada cPanel

Berikut cara Install Ruby On Rails & Ruby Gems pada cPanel server. Login SSH Server & ketikkan command berikut:

/scripts/installruby

[bash]
root@server5 [~]# /scripts/installruby
..
..
gcc -I. -I../.. -I../../. -I../.././ext/zlib -DHAVE_ZLIB_H -DOS_CODE=OS_UNIX -fPIC -g -O2 -fPIC -c zlib.c
gcc -shared -o ../../.ext/x86_64-linux/zlib.so zlib.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -lz -lrt -ldl -lcrypt -lm -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p334/ext/zlib'
making ruby
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p334'
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -L. -rdynamic -Wl,-export-dynamic main.o -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -lrt -ldl -lcrypt -lm -o ruby
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p334'
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./instruby.rb --make="gmake" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc"
installing binary commands
installing command scripts
installing library scripts
installing headers
installing manpages
installing extension objects
installing extension scripts
Removing source directory /home/cprubybuild
Installing rubygems version: 1.3.7
Using Dir: /home/cprubygemsbuild/rubygems-1.3.7
Setting up rubygems ...
RubyGems 1.3.7 installed

=== 1.3.7 / 2010-05-13

NOTE:

http://rubygems.org is now the default source for downloading gems.

You may have sources set via ~/.gemrc, so you should replace
http://gems.rubyforge.org with http://rubygems.org

http://gems.rubyforge.org will continue to work for the forseeable future.

New features:

* `gem` commands
* `gem install` and `gem fetch` now report alternate platforms when a
matching one couldn't be found.
* `gem contents` --prefix is now the default as specified in --help. Bug
#27211 by Mamoru Tasaka.
* `gem fetch` can fetch of old versions again. Bug #27960 by Eric Hankins.
* `gem query` and friends output now lists platforms. Bug #27856 by Greg
Hazel.
* `gem server` now allows specification of multiple gem dirs for
documentation. Bug #27573 by Yuki Sonoda.
* `gem unpack` can unpack gems again. Bug #27872 by Timothy Jones.
* `gem unpack` now unpacks remote gems.
* --user-install is no longer the default. If you really liked it, see
Gem::ConfigFile to learn how to set it by default. (This change was made
in 1.3.6)
* RubyGems now has platform support for IronRuby. Patch #27951 by Will Green.

Bug fixes:

* Require rubygems/custom_require if --disable-gem was set. Bug #27700 by
Roger Pack.
* RubyGems now protects against exceptions being raised by plugins.
* rubygems/builder now requires user_interaction. Ruby Bug #1040 by Phillip
Toland.
* Gem::Dependency support #version_requirements= with a warning. Fix for old
Rails versions. Bug #27868 by Wei Jen Lu.
* Gem::PackageTask depends on the package dir like the other rake package
tasks so dependencies can be hooked up correctly.


------------------------------------------------------------------------------

RubyGems installed the following executables:
/usr/bin/gem

Removing source directory /home/cprubygemsbuild
gem system update ...
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.8.24
Updating RubyGems to 1.8.24
Installing RubyGems 1.8.24
RubyGems 1.8.24 installed

== 1.8.24 / 2012-04-27

* 1 bug fix:

* Install the .pem files properly. Fixes #320
* Remove OpenSSL dependency from the http code path


------------------------------------------------------------------------------

RubyGems installed the following executables:
/usr/bin/gem

gem system update complete.

Installing rails...

Fetching: rake-0.9.2.2.gem (100%)
Fetching: activesupport-2.3.14.gem (100%)
Fetching: activerecord-2.3.14.gem (100%)
Fetching: rack-1.1.3.gem (100%)
Fetching: actionpack-2.3.14.gem (100%)
Fetching: actionmailer-2.3.14.gem (100%)
Fetching: activeresource-2.3.14.gem (100%)
Fetching: rails-2.3.14.gem (100%)
Successfully installed rake-0.9.2.2
Successfully installed activesupport-2.3.14
Successfully installed activerecord-2.3.14
Successfully installed rack-1.1.3
Successfully installed actionpack-2.3.14
Successfully installed actionmailer-2.3.14
Successfully installed activeresource-2.3.14
Successfully installed rails-2.3.14
8 gems installed
Installing ri documentation for rake-0.9.2.2...
Installing ri documentation for activesupport-2.3.14...
Installing ri documentation for activerecord-2.3.14...
Installing ri documentation for rack-1.1.3...
Installing ri documentation for actionpack-2.3.14...
Installing ri documentation for actionmailer-2.3.14...
Installing ri documentation for activeresource-2.3.14...
Installing ri documentation for rails-2.3.14...
Installing RDoc documentation for rake-0.9.2.2...
Installing RDoc documentation for activesupport-2.3.14...
Installing RDoc documentation for activerecord-2.3.14...
Installing RDoc documentation for rack-1.1.3...
Installing RDoc documentation for actionpack-2.3.14...
Installing RDoc documentation for actionmailer-2.3.14...
Installing RDoc documentation for activeresource-2.3.14...
Installing RDoc documentation for rails-2.3.14...
Fetching: gem_plugin-0.2.3.gem (100%)
Fetching: daemons-1.1.8.gem (100%)
Fetching: fastthread-1.0.7.gem (100%)
Building native extensions. This could take a while...
Fetching: cgi_multipart_eof_fix-2.5.0.gem (100%)
Fetching: mongrel-1.1.5.gem (100%)
Building native extensions. This could take a while...
Successfully installed gem_plugin-0.2.3
Successfully installed daemons-1.1.8
Successfully installed fastthread-1.0.7
Successfully installed cgi_multipart_eof_fix-2.5.0
Successfully installed mongrel-1.1.5
Fetching: sqlite3-1.3.6.gem (100%)
Building native extensions. This could take a while...
Successfully installed sqlite3-1.3.6
6 gems installed
Installing ri documentation for gem_plugin-0.2.3...
Installing ri documentation for daemons-1.1.8...
Installing ri documentation for fastthread-1.0.7...

No definition for dummy_dump

No definition for dummy_dump

No definition for rb_queue_marshal_load

No definition for rb_queue_marshal_dump

No definition for dummy_dump

No definition for dummy_dump

No definition for rb_queue_marshal_load

No definition for rb_queue_marshal_dump
Installing ri documentation for cgi_multipart_eof_fix-2.5.0...
Installing ri documentation for mongrel-1.1.5...
Installing ri documentation for sqlite3-1.3.6...

No definition for libversion

Enclosing class/module 'mSqlite3' for class Statement not known
Installing RDoc documentation for gem_plugin-0.2.3...
Installing RDoc documentation for daemons-1.1.8...
Installing RDoc documentation for fastthread-1.0.7...

No definition for dummy_dump

No definition for dummy_dump

No definition for rb_queue_marshal_load

No definition for rb_queue_marshal_dump

No definition for dummy_dump

No definition for dummy_dump

No definition for rb_queue_marshal_load

No definition for rb_queue_marshal_dump
Installing RDoc documentation for cgi_multipart_eof_fix-2.5.0...
Installing RDoc documentation for mongrel-1.1.5...
Installing RDoc documentation for sqlite3-1.3.6...

No definition for libversion

Enclosing class/module 'mSqlite3' for class Statement not known
Ruby - & - Rails Installed
Configuring perl magic....Off
Configuring php-pear magic....Off
Configuring ruby magic....Off
Configuring php-pecl magic....Off
patching file /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/cgi.rb
Mongrel update to 1.1.5cp1
root@server5 [~]#
[/bash]

Untuk memastikan Ruby sudah terinstall, cek versi Ruby & Gems dengan mengetikkan command berikut:

ruby -v
gem -v


[bash collapse="false"]
root@server5 [~]# ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
root@server5 [~]# gem -v
1.8.24
root@server5 [~]#
[/bash]


[caption id="attachment_1256" align="alignleft" width="150" caption="Ruby On Rails & Gems"]Install Ruby On Rails & Gems Pada cPanel[/caption][caption id="attachment_1254" align="alignleft" width="150" caption="Ruby On Rails & Gems 2"]Install Ruby On Rails & Gems Pada cPanel 2[/caption]


Anda juga dapat install gems tambahan dengan mengetikkan command "gem install nama gem". Contoh:

gem install nokogiri

Jika gagal, coba download gems di halaman http://rubygems.org/gems/

Referensi: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/RubyonRails/InstallingRuby

PostgreSQL Problem (could not connect to server: No such file or directory.)

"PostgreSQL Problem (could not connect to server: No such file or directory.)"



Cara mengatasinya, buka putty. Kemudian ketikkan command:

mv /var/lib/pgsql/data{,.backup}
/sbin/service postgresql initdb
/sbin/service postgresql start


[bash collapse="false"]
root@server5 [~]# mv /var/lib/pgsql/data{,.backup}
root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# /sbin/service postgresql initdb
Initializing database: [ OK ]
root@server5 [~]#
[/bash]

[bash collapse="false"]
root@server5 [~]# /sbin/service postgresql start
Starting postgresql service: [ OK ]
root@server5 [~]#
[/bash]

Selesai.
03 Maret 2012

Install PostgreSQL Pada cPanel/WHM Server

PostgreSQL merupakan salah satu basis data yang paling banyak digunakan saat ini, selain MySQL dan Oracle. PostgreSQL menyediakan fitur yang berguna untuk replikasi basis data. Fitur-fitur yang disediakan PostgreSQL antara lain DB Mirror, PGPool, Slony, PGCluster, dan lain-lain.

PostgreSQL adalah sistem database yang kuat untuk urusan relasi, open source. Memiliki lebih dari 15 tahun pengembangan aktif dan sudah terbukti segala rancangan arsitekturnya telah mendapat reputasi tentang "kuat", "handal", "integritas data", dan "akurasi data".
Sumber: http://id.wikipedia.org/wiki/PostgreSQL

Install PostgreSQL pada cPanel/WHM server sangatlah mudah, ketikkan command berikut:

/scripts/installpostgres

[bash]
root@server5 [~]# /scripts/installpostgres
This script will install PostgreSQL 7.4.x or later
If you have an older version installed you wil need to
Dump your databases to a file and then restore them
after the install as 7.4.x is not backwards compatible.
If you do not have any databases, you can just run:
mv /var/lib/pgsql /var/lib/pgsql.old
/sbin/service postgresql stop
/sbin/service postgresql start
to force creating a 7.4.x style setup. Do not do this if
you have databases that you wish to keep!

Are you sure you wish to proceed? y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.idrepo.or.id
* extras: centos.idrepo.or.id
* updates: centos.idrepo.or.id
Setting up Install Process
No package rh-postgresql available.
No package rh-postgresql-devel available.
No package rh-postgresql-libs available.
No package rh-postgresql-server available.
Resolving Dependencies
--> Running transaction check
---> Package postgresql.x86_64 0:8.4.11-1.el6_2 will be installed
---> Package postgresql-devel.x86_64 0:8.4.11-1.el6_2 will be installed
---> Package postgresql-libs.x86_64 0:8.4.11-1.el6_2 will be installed
---> Package postgresql-server.x86_64 0:8.4.11-1.el6_2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
postgresql x86_64 8.4.11-1.el6_2 updates 2.7 M
postgresql-devel x86_64 8.4.11-1.el6_2 updates 808 k
postgresql-libs x86_64 8.4.11-1.el6_2 updates 198 k
postgresql-server x86_64 8.4.11-1.el6_2 updates 3.3 M

Transaction Summary
================================================================================
Install 4 Package(s)

Total download size: 7.0 M
Installed size: 32 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 154 kB/s | 7.0 MB 00:46
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : postgresql-libs-8.4.11-1.el6_2.x86_64 1/4
Installing : postgresql-8.4.11-1.el6_2.x86_64 2/4
Installing : postgresql-devel-8.4.11-1.el6_2.x86_64 3/4
Installing : postgresql-server-8.4.11-1.el6_2.x86_64 4/4

Installed:
postgresql.x86_64 0:8.4.11-1.el6_2
postgresql-devel.x86_64 0:8.4.11-1.el6_2
postgresql-libs.x86_64 0:8.4.11-1.el6_2
postgresql-server.x86_64 0:8.4.11-1.el6_2

Complete!

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.
Installing Bundle::DBD::Pg
.........
.........
.........
.........
.........

The PostgreSQL packages have been installed successfully. To configure,
navigate to WHM's Postgres Config feature where you can set your password
and enable PostgreSQL functionality for existing user accounts.

root@server5 [~]#
[/bash]

Untuk mengaktifkan PostgreSQL, Login WHMSQL ServicesPostgres Config → Klik tombol Install Config - Popup dialog konfirmasi, klik tombol OK

[caption id="attachment_1259" align="alignnone" width="150" caption="PostgreSQL cPanel"]PostgreSQL cPanel[/caption]

Selesai. PostgreSQL database siap digunakan.


[caption id="attachment_1260" align="alignleft" width="150" caption="PostgreSQL cPanel 2"]PostgreSQL cPanel 2[/caption][caption id="attachment_1261" align="alignleft" width="150" caption="PostgreSQL cPanel 3"]PostgreSQL cPanel 3[/caption][caption id="attachment_1262" align="alignleft" width="150" caption="PostgreSQL cPanel 4"]PostgreSQL cPanel 4[/caption]


Untuk uninstall PostgreSQL, jalankan command berikut:

rpm -qa | grep postgre

[bash collapse="false"]
[root@server5 ~]# rpm -qa | grep postgre

// this will show the rpm's for postgre.. now remove it as below ..
// where file is the rpm names that you got from the above command (1).
// there will be a problem uninstalling the lib rpm... just don't worry.. he is of no harm.

#rpm -e
[/bash]

Dokumentasi install PostgreSQL cPanel: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/InstallationGuide/InstallingPostgresql
02 Maret 2012

Panduan Singkat Install cPanel

cPanel merupakan control panel web yang memudahkan user account hosting memanage mail, Database MySQL, subdomain, dns, ftp account, SSH/Shell Access dan beberapa fitur lainnya. Pengertian cPanel menurut Wikipedia:



Dari Wikipedia bahasa Indonesia, ensiklopedia bebas


cPanel adalah sebuah control panel web hosting pada Linux yang memberikan tampilan grafis dan peralatan automasi yang dibuat untuk memudahkan proses hosting di sebuah situs web. cPanel menggunakan 3 tingkat struktur untuk memberikan fungsi administrator, agen, dan pemilik situs web untuk mengatur berbagai macam aspek dari situs web dan administrasi server melalui sebuah penjelajah web standar. Selain memberikan Guide User Interface untuk memudahkan pengguna, cPanel juga dilengkapi dengan perintah dalam teks dan berdasarkan API agar vendor perangkat lunak pihak ketiga, organisasi web hosting dan pengembang untuk automasi sistem standar proses administrasinya


cPanel didesain untuk berfungsi pada dedicated server ataupun virtual private server yang bisa digunakan pada Sistem Operasi centOS, Red Hat Linux, dan FreeBSD. Aplikasi-aplikasi didukung cPanel termasuk Apache, PHP, mySQL, Postgres, Perl, Python, and BIND, dengan email seperti POP3, IMAP, layanan-layanan SMTP.



Sumber: http://id.wikipedia.org/wiki/CPanel

Install cPanel/WHM sebagai control panel website tidaklah rumit. Berikut panduan singkat install cPanel (Fresh Install OS):

Login ke SSH Server sebagai root user, kemudian ketikkan command:

cd /home
wget -N http://httpupdate.cpanel.net/latest
sh latest


[bash collapse="false"]
[root@server5 ~]# cd /home
[root@server5 home]#
[/bash]

[bash collapse="false"]
[root@server5 home]# wget -N http://httpupdate.cpanel.net/latest
--2012-05-27 22:43:52-- http://httpupdate.cpanel.net/latest
Resolving httpupdate.cpanel.net... 208.78.42.4, 208.82.118.100, 209.85.80.214, ...
Connecting to httpupdate.cpanel.net|208.78.42.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32145 (31K) [application/octet-stream]
Saving to: âlatestâ

100%[======================================>] 32,145 16.6K/s in 1.9s

2012-05-27 22:43:55 (16.6 KB/s) - âlatestâ

[root@server5 home]#
[/bash]

[bash]
[root@server5 home]# sh latest
Creating directory installd
Verifying archive integrity... All good.
Uncompressing Cpanel & WHM Installer.............
____ _
___| _ \ __ _ _ __ ___| |
/ __| |_) / _` | '_ \ / _ \ |
| (__| __/ (_| | | | | __/ |
\___|_| \__,_|_| |_|\___|_|

Installer Version v00021 r76bbb37d4fd42509adbd80d6b12bf47e3845c762

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
...
...
opt/curlssl//include -I/opt/php_with_imap_client//include -I/usr/include/mysql -I/home/cpeasyapache/src/php-5.3.13/TSRM -I/home/cpeasyapache/src/php-5.3.13/Zend -g -O2 -fvisibility=hidden -c /home/cpeasyapache/src/php-5.3.13/ext/dom/domimplementation.c -o ext/dom/domimplementation.lo
2012-05-27 20:44:58 788 (DEBUG): /bin/sh /home/cpeasyapache/src/php-5.3.13/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/dom/ -I/home/cpeasyapache/src/php-5.3.13/ext/dom/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.3.13/include -I/home/cpeasyapache/src/php-5.3.13/main -I/home/cpeasyapache/src/php-5.3.13 -I/home/cpeasyapache/src/php-5.3.13/ext/date/lib -I/home/cpeasyapache/src/php-5.3.13/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/opt/php_with_imap_client//include -I/usr/include/mysql -I/home/cpeasyapache/src/php-5.3.13/TSRM -I/home/cpeasyapache/src/php-5.3.13/Zend -g -O2 -fvisibility=hidden -c /home/cpeasyapache/src/php-5.3.13/ext/dom/element.c -o ext/dom/element.lo
2012-05-27 20:44:59 788 (DEBUG): /bin/sh /home/cpeasyapache/src/php-5.3.13/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/dom/ -I/home/cpeasyapache/src/php-5.3.13/ext/dom/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.3.13/include -I/home/cpeasyapache/src/php-5.3.13/main -I/home/cpeasyapache/src/php-5.3.13 -I/home/cpeasyapache/src/php-5.3.13/ext/date/lib -I/home/cpeasyapache/src/php-5.3.13/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/opt/php_with_imap_client//include -I/usr/include/mysql -I/home/cpeasyapache/src/php-5.3.13/TSRM -I/home/cpeasyapache/src/php-5.3.13/Zend -g -O2 -fvisibility=hidden -c /home/cpeasyapache/src/php-5.3.13/ext/dom/node.c -o ext/dom/node.lo
2012-05-27 20:45:00 788 (DEBUG): /bin/sh /home/cpeasyapache/src/php-5.3.13/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/dom/ -I/home/cpeasyapache/src/php-5.3.13/ext/dom/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.3.13/include -I/home/cpeasyapache/src/php-5.3.13/main -I/home/cpeasyapache/src/php-5.3.13 -I/home/cpeasyapache/src/php-5.3.13/ext/date/lib -I/home/cpeasyapache/src/php-5.3.13/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/opt/php_with_imap_client//include -I/usr/include/mysql -I/home/cpeasyapache/src/php-5.3.13/TSRM -I/home/cpeasyapache/src/php-5.3.13/Zend -g -O2 -fvisibility=hidden -c /home/cpeasyapache/src/php-5.3.13/ext/dom/string_extend.c -o ext/dom/string_extend.lo
2012-05-27 20:45:00 788 (DEBUG): /bin/sh /home/cpeasyapache/src/php-5.3.13/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/dom/ -I/home/cpeasyapache/src/php-5.3.13/ext/dom/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.3.13/include -I/home/cpeasyapache/src/php-5.3.13/main -I/home/cpeasyapache/src/php-5.3.13 -I/home/cpeasyapache/src/php-5.3.13/ext/date/lib -I/home/cpeasyapache/src/php-5.3.13/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/opt/php_with_imap_client//include -I/usr/include/mysql -I/home/cpeasyapache/src/php-5.3.13/TSRM -I/home/cpeasyapache/src/php-5.3.13/Zend -g -O2 -fvisibility=hidden -c /home/cpeasyapache/src/php-5.3.13/ext/dom/characterdata.c -o ext/dom/characterdata.lo
2012-05-27 20:45:00 788 (DEBUG): /bin/sh /home/cpeasyapache/src/php-5.3.13/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/dom/ -I/home/cpeasyapache/src/php-5.3.13/ext/dom/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.3.13/include -I/home/cpeasyapache/src/php-5.3.13/main -I/home/cpeasyapache/src/php-5.3.13 -I/home/cpeasyapache/src/php-5.3.13/ext/date/lib -I/home/cpeasyapache/src/php-5.3.13/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/opt/php_with_imap_client//include -I/usr/include/mysql -I/home/cpeasyapache/src/php-5.3.13/TSRM -I/home/cpeasyapache/src/php-5.3.13/Zend -g -O2 -fvisibility=hidden -c /home/cpeasyapache/src/php-5.3.13/ext/dom/documenttype.c -o ext/dom/documenttype.lo
2012-05-27 20:45:00 788 (DEBUG): /bin/sh /home/cpeasyapache/src/php-5.3.13/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/dom/ -I/home/cpeasyapache/src/php-5.3.13/ext/dom/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.3.13/include -I/home/cpeasyapache/src/php-5.3.13/main -I/home/cpeasyapache/src/php-5.3.13 -I/home/cpeasyapache/src/php-5.3.13/ext/date/lib -I/home/cpeasyapache/src/php-5.3.13/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/opt/php_with_imap_client//include -I/usr/include/mysql -I/home/cpeasyapache/src/php-5.3.13/TSRM -I/home/cpeasyapache/src/php-5.3.13/Zend -g -O2 -fvisibility=hidden -c /home/cpeasyapache/src/php-5.3.13/ext/dom/domimplementationlist.c -o ext/dom/domimplementationlist.lo
2012-05-27 20:45:00 788 (DEBUG): /bin/sh /home/cpeasyapache/src/php-5.3.13/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/dom/ -I/home/cpeasyapache/src/php-5.3.13/ext/dom/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.3.13/include -I/home/cpeasyapache/src/php-5.3.13/main -I/home/cpeasyapache/src/php-5.3.13 -I/home/cpeasyapache/src/php-5.3.13/ext/date/lib -I/home/cpeasyapache/src/php-5.3.13/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/opt/php_with_imap_client//include -I/usr/include/mysql -I/home/cpeasyapache/src/php-5.3.13/TSRM -I/home/cpeasyapache/src/php-5.3.13/Zend -g -O2 -fvisibility=hidden -c /home/cpeasyapache/src/php-5.3.13/ext/dom/entity.c -o ext/dom/entity.lo
...
...
2012-05-27 20:47:20 788 (DEBUG): /opt/php_with_imap_client//lib64/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
2012-05-27 20:47:20 788 (DEBUG): /home/cpeasyapache/src/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
2012-05-27 20:47:20 788 (DEBUG): Generating phar.php
2012-05-27 20:47:20 788 (DEBUG): Generating phar.phar
2012-05-27 20:47:20 788 (DEBUG): PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
2012-05-27 20:47:20 788 (DEBUG): invertedregexiterator.inc
2012-05-27 20:47:20 788 (DEBUG): pharcommand.inc
2012-05-27 20:47:20 788 (DEBUG): directorygraphiterator.inc
2012-05-27 20:47:20 788 (DEBUG): clicommand.inc
2012-05-27 20:47:20 788 (DEBUG): directorytreeiterator.inc
2012-05-27 20:47:20 788 (DEBUG): phar.inc
2012-05-27 20:47:20 788 (DEBUG): Build complete.
2012-05-27 20:47:20 788 (DEBUG): Don't forget to run 'make test'.
2012-05-27 20:47:20 788 (DEBUG): -- End step 'make for system PHP' --
2012-05-27 20:47:20 788 (DEBUG): -- Begin step 'make install for system PHP' --
2012-05-27 20:47:20 788 (DEBUG): Installing PHP SAPI module: cgi
2012-05-27 20:47:20 788 (DEBUG): Installing PHP CGI binary: /usr/bin/
2012-05-27 20:47:20 788 (DEBUG): Installing build environment: /usr/lib/php/build/
2012-05-27 20:47:25 788 (DEBUG): Installing header files: /usr/include/php/
2012-05-27 20:47:31 788 (DEBUG): Installing helper programs: /usr/bin/
2012-05-27 20:47:31 788 (DEBUG): program: phpize
2012-05-27 20:47:31 788 (DEBUG): program: php-config
2012-05-27 20:47:31 788 (DEBUG): Installing man pages: /usr/man/man1/
2012-05-27 20:47:31 788 (DEBUG): page: phpize.1
2012-05-27 20:47:31 788 (DEBUG): page: php-config.1
2012-05-27 20:47:31 788 (DEBUG): Installing PEAR environment: /usr/lib/php/
2012-05-27 20:47:31 788 (DEBUG): [PEAR] Archive_Tar - installed: 1.3.7
2012-05-27 20:47:31 788 (DEBUG): [PEAR] Console_Getopt - installed: 1.3.0
2012-05-27 20:47:31 788 (DEBUG): [PEAR] Structures_Graph- installed: 1.0.4
2012-05-27 20:47:31 788 (DEBUG): [PEAR] XML_Util - installed: 1.2.1
2012-05-27 20:47:31 788 (DEBUG): [PEAR] PEAR - installed: 1.9.4
2012-05-27 20:47:31 788 (DEBUG): Wrote PEAR system config file at: /usr/etc/pear.conf
2012-05-27 20:47:31 788 (DEBUG): You may want to add: /usr/lib/php to your php.ini include_path
2012-05-27 20:47:31 788 (DEBUG): /home/cpeasyapache/src/php-5.3.13/build/shtool install -c ext/phar/phar.phar /usr/bin
2012-05-27 20:47:31 788 (DEBUG): ln -s -f /usr/bin/phar.phar /usr/bin/phar
2012-05-27 20:47:31 788 (DEBUG): -- End step 'make install for system PHP' --
2012-05-27 20:47:31 788 (DEBUG): -- Begin step 'symlink php.ini' --
2012-05-27 20:47:31 788 (DEBUG): -- End step 'symlink php.ini' --
2012-05-27 20:47:31 788 (DEBUG): -- Begin step 'set extension_dir in php.ini' --
2012-05-27 20:47:31 788 (DEBUG): -- End step 'set extension_dir in php.ini' --
2012-05-27 20:47:31 788 (DEBUG): -- Begin step 'PHP httpd.conf setup' --
2012-05-27 20:47:31 788 (DEBUG): -- End step 'PHP httpd.conf setup' --
2012-05-27 20:47:31 788 (DEBUG): -- Begin step 'Update PHP magicloader if necessary' --
2012-05-27 20:47:31 788 (DEBUG): -- End step 'Update PHP magicloader if necessary' --
2012-05-27 20:47:31 788 (DEBUG): -- Begin step 'Update PHP version files' --
2012-05-27 20:47:31 788 (DEBUG): !! '/usr/local/apache/conf/php5.version' has been updated to '5.3.13' !!
...
...
2012-05-27 20:49:01 211 (DEBUG): [20120527.204901] [10741] The following modules are now being installed/updated/verified: Locales,version,CDB_File,Module::Build,BSD::Resource,Class::Std,Digest::MD5::File,Expect,Encode::Guess,Encode::MIME::Name,Encode::Detect::Detector,Data::Dump,File::Copy::Recursive,File::ReadBackwards,File::Find::Rule,IO::Tty,Sys::Hostname::Long,local::lib,AppConfig,Template,YAML::Syck,JSON::Syck,cPanel::MemTest,List::MoreUtils,DateTime::Locale,DateTime,DB_File,HTTP::Date,Scalar::Util,MIME::Base64,URI,Net::FTP,HTML::Tagset,HTML::Parser,HTML::HeadParser,LWP,Bundle::LWP,DBI,Crypt::SSLeay,CPAN::SQLite,Data::Dumper,Digest::MD5,Digest::SHA1,Encode,ExtUtils::Constant,ExtUtils::Install,ExtUtils::ParseXS,File::Touch,Filesys::Df,Filesys::Virtual,Filter::Util::Call,Getopt::Long,Getopt::Param::Tiny,IO::Interactive::Tiny,Compress::Raw::Zlib,Authen::Libwrap,Net::FTPSSL,Net::SSL,Net::SSLeay,IO::Compress::Gzip,IO::Scalar,IO::Socket::INET6,IO::Socket::SSL,IO::Stty,IO::Uncompress::Gunzip,Lchown,List::Util,MD5,Net::DNS,Net::OSCAR,Net::LibIDN,Pod::Perldoc,Socket6,Storable,Sys::Syslog,TAP::Harness,Term::ReadKey,Term::ReadLine::Perl,Time::HiRes,Tree::MultiNode,Unix::PID,Unix::PID::Tiny,XML::LibXML::Common,XML::LibXML,XML::Parser,XML::SAX,XML::Simple,lib::restrict,Crypt::Passwd::XS,DBD::mysql,Filesys::Statvfs,Crypt::GPG,Class::Accessor,Class::Accessor::Fast,File::MMagic::XS,Email::Valid,ExtUtils::MakeMaker,Mail::SRS,Acme::Spork,Archive::Tar,Archive::Tar::Streamed,Archive::Zip,MIME::Lite,Business::OnlinePayment::AuthorizeNet,Business::UPS,CGI,Class::Std::Utils,Compress::Bzip2,Compress::Zlib,DBIx::MyParsePP,DBD::SQLite2,Date::Parse,File::Tail,GD::Graph,GD::Text::Align,Memoize,Geo::IPfree,HTTP::Daemon::App,IO::Socket::ByteCounter,Image::Size,Mail::DomainKeys,Error,NetAddr::IP,Net::DNS::Resolver::Programmable,Mail::SPF,Mail::SPF::Query,Mail::DKIM,IP::Country,Graph::Easy,Graph::Flowchart,Mail::SpamAssassin,URI::Escape,File::Find::Rule::Filesys::Virtual,File::Slurp,Net::DAV::Server,Net::Daemon,Net::Daemon::SSL,Net::LDAP,Net::LDAP::Schema,Net::LDAP::Server,Net::IP::Match::Regexp,OLE::Storage_Lite,Parse::RecDescent,Quota,SVG::TT::Graph,Safe::Hole,Text::CSV,Spreadsheet::ParseExcel,Spreadsheet::WriteExcel,String::CRC32,SQL::Statement,Set::Crontab,Tie::IxHash,Tie::ShadowHash,Tie::DBI,URI::URL,Bundle::Interchange,Devel::PPPort,Linux::Inotify2
...
...
2012-05-27 21:16:26 211 (DEBUG): [20120527.211626] [4308] Provided options list is: deliver_queue_load_max|queue_only_load|daemon_smtp_ports|tls_on_connect_ports|system_filter_user|system_filter_group|tls_require_ciphers|hostlist loopback|hostlist senderverifybypass_hosts|hostlist skipsmtpcheck_hosts|hostlist spammeripblocks|hostlist backupmx_hosts|hostlist trustedmailhosts|hostlist relay_hosts|domainlist user_domains|remote_max_parallel|smtp_receive_timeout|ignore_bounce_errors_after|rfc1413_query_timeout|timeout_frozen_after|auto_thaw|callout_domain_negative_expire|callout_negative_expire|acl_smtp_connect|acl_smtp_data|acl_smtp_mail|acl_smtp_quit|acl_smtp_notquit|acl_smtp_rcpt|message_body_newlines|deliver_queue_load_max|queue_only_load|daemon_smtp_ports|tls_on_connect_ports|system_filter_user|system_filter_group|tls_require_ciphers|spamd_address
2012-05-27 21:16:26 211 (DEBUG): [20120527.211626] [4308] Exim Insert Regex is: virtual_userdelivery|virtual_aliases|democheck|remote_smtp|lookuphost|address_pipe|virtual_user|localuser|virtual_sa_user
2012-05-27 21:16:26 211 (DEBUG): [20120527.211626] [4308] Exim Replace Regex is: virtual_sa_user|sa_localuser|virtual_sa_userdelivery|local_sa_delivery|central_filter|central_user_filter|democheck|fail_remote_domains|fixed_login|fixed_plain|has_alias_but_no_mailbox_discarded_to_prevent_loop|literal|local_delivery|local_delivery_spam|localuser|localuser_spam|lookuphost|remote_smtp|secure_login|secure_plain|userforward|virtual_aliases|virtual_aliases_nostar|virtual_user|virtual_user_spam|virtual_userdelivery|virtual_userdelivery_spam
2012-05-27 21:16:26 211 (DEBUG): [20120527.211626] [4308] Exim Match Insert Regex is: quota_directory|maildir_format
2012-05-27 21:16:26 211 (DEBUG): [20120527.211626] [4308] Exim version 4.77 #2 built 03-Nov-2011 00:54:21
2012-05-27 21:16:26 211 (DEBUG): [20120527.211626] [4308] Copyright (c) University of Cambridge, 1995 - 2007
2012-05-27 21:16:26 211 (DEBUG): [20120527.211626] [4308] Berkeley DB: Berkeley DB 4.7.25: (November 12, 2010)
2012-05-27 21:16:26 211 (DEBUG): [20120527.211626] [4308] Support for: crypteq iconv() IPv6 PAM Perl OpenSSL Content_Scanning DKIM Old_Demime Experimental_SPF Experimental_SRS
2012-05-27 21:16:26 211 (DEBUG): [20120527.211626] [4308] Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz passwd
2012-05-27 21:16:26 211 (DEBUG): [20120527.211626] [4308] Authenticators: cram_md5 dovecot plaintext spa
...
...
2012-05-27 21:17:39 211 (DEBUG): [20120527.211739] Removing upcp pidfile
2012-05-27 21:17:39 211 (DEBUG): [20120527.211739]
2012-05-27 21:17:39 211 (DEBUG): [20120527.211739] Completed all updates
2012-05-27 21:17:39 211 (DEBUG): => Log closed Sun May 27 21:17:39 2012
2012-05-27 21:17:39 211 (DEBUG): - ssystem [END]
2012-05-27 21:17:39 217 ( INFO): Adding services to chkconfig.
2012-05-27 21:17:39 219 ( INFO): - Enabling cpanel
2012-05-27 21:17:39 220 (DEBUG): - ssystem [BEGIN]: /sbin/chkconfig --level 35 cpanel on
2012-05-27 21:17:39 220 (DEBUG): - ssystem [END]
2012-05-27 21:17:39 219 ( INFO): - Enabling mysql
2012-05-27 21:17:39 220 (DEBUG): - ssystem [BEGIN]: /sbin/chkconfig --level 35 mysql on
2012-05-27 21:17:40 220 (DEBUG): - ssystem [END]
2012-05-27 21:17:40 219 ( INFO): - Enabling sshd
2012-05-27 21:17:40 220 (DEBUG): - ssystem [BEGIN]: /sbin/chkconfig --level 35 sshd on
2012-05-27 21:17:40 220 (DEBUG): - ssystem [END]
2012-05-27 21:17:40 1755 ( INFO): Enabling cphulkd ...
2012-05-27 21:17:40 1762 ( INFO): Done
2012-05-27 21:17:40 236 ( INFO): cPanel install finished in 329 minutes and 54 seconds!
2012-05-27 21:17:40 1582 ( WARN): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2012-05-27 21:17:40 1583 ( WARN): Your system kernel may have been updated.
2012-05-27 21:17:40 1584 ( WARN): Current kernel (2.6.32-220.el6.x86_64) has been changed to: 2.6.32-220.17.1.el6.x86_64
2012-05-27 21:17:40 1585 ( WARN): Before rebooting the system, please ensure that the installed kernel version is compatible with your deployment.
2012-05-27 21:17:40 1595 ( WARN): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Removing /root/installer.lock
[root@server5 home]#
[/bash]

Tunggu beberapa saat sampai proses instalasi selesai (tergantung koneksi server yang dipakai). Setelah itu validasi lisensi cPanel dengan cara mengetikkan command:

/usr/local/cpanel/cpkeyclt

[bash collapse="false"]
root@server5 [~]# /usr/local/cpanel/cpkeyclt
Updating cPanel license...Done. Update succeeded.
Building global cache for cpanel...Done
root@server5 [~]#
[/bash]

cPanel/WHM Setup:

» Login WHM sebagai root user (http://ip-address:2086)

[caption id="attachment_1271" align="alignnone" width="150" caption="WHM Login"]Tutorial Install cPanel 1[/caption]

» Klik tombol I Agree/Go to Step 2

[caption id="attachment_1272" align="alignnone" width="150" caption="Install cPanel 2"]Install cPanel 2[/caption]

» Server Contact Email Address, isikan email administrator server → This Server's Hostname, isikan dengan hostname server (misal; server.domainmuxyz.com).

[caption id="attachment_1273" align="alignnone" width="150" caption="Install cPanel 3"]Install cPanel 3[/caption]

» Primary Resolver *, isikan IP Address 1 → Secondary Resolver *, isikan IP Address 2 → Klik tombol Save & go to Step 3

[caption id="attachment_1274" align="alignnone" width="150" caption="Install cPanel 4"]Install cPanel 4[/caption]

» Jika ingin menambahkan IP, masukkan IP pada text field IP Address(es) to add kemudian klik tombol Add IP(s). Jika tidak klik pada tombol Skip This Step and Use Default Settings.

[caption id="attachment_1275" align="alignnone" width="150" caption="Install cPanel 5"]Install cPanel 5[/caption]

» Nameserver Configuration pilih BIND DNS

[caption id="attachment_1276" align="alignnone" width="150" caption="Install cPanel 6"]Install cPanel 6[/caption]

» Nameserver 1 * isikan dengan default NS1, Nameserver 2 * isikan dengan default NS2 → Centang checkbox Add "A Entries" for all Nameservers & Add "A Entries" for Hostname. Klik tombol Save & go to Step 5.

[caption id="attachment_1277" align="alignnone" width="150" caption="Install cPanel 7"]Install cPanel 7[/caption]

» FTP Configuration pilih default setting Pure-FTPDMail Configuration pilih Dovecot → Klik tombol Save & go to Step 6


[caption id="attachment_1278" align="alignleft" width="150" caption="FTP Configuration"]FTP Configuration[/caption][caption id="attachment_1279" align="alignleft" width="150" caption="Mail Configuration"]Mail Configuration[/caption][caption id="attachment_1280" align="alignleft" width="150" caption="Save Setting Step 5"]Save Setting Step 5[/caption]


» Quotas pilih Use file system quotas. → Klik tombol Finish Setup Wizard

[caption id="attachment_1281" align="alignnone" width="150" caption="File System Quotas"]File System Quotas[/caption]

» Anda akan diarahkan ke halaman main page WHM.

[caption id="attachment_1282" align="alignnone" width="150" caption="WHM Main Page"]WHM Main Page[/caption]

Selesai, cPanel/WHM siap digunakan.

Dokumentasi install cPanel.
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/InstallationGuide/WebHome
Loncat ke Atas ↑