Test Block Top

The Blog...
Articles, Tips & Trick and Other Interesting Information...
Tampilkan postingan dengan label cPanel/WHM. Tampilkan semua postingan
Tampilkan postingan dengan label cPanel/WHM. Tampilkan semua postingan
11 Mei 2012

Repair 'wp_posts' Crashed Database WordPress

Beberapa saat yang lalu, kaget ketika login pada situs WordPress milik saya. Posting, page, comment, custome menu semuanya HILANG begitu saja.
WordPress Table Database Crashed wp_posts

Screenshot 1

WordPress Table Database Crashed wp_posts 3

Screenshot 2

Sempat terlintas dibenak, mungkin situsku kena hack!!! Hehe... nggak mau buru-buru ambil kesimpulan, coba cek dulu database di Webmin. Ternyata oh... ternyata..., table wp_post crashed dengan pesan error:

Error Message:

SQL show index from 'wp_posts' failed:Table './wordpress/wp_posts' is marked as crashed and should be repaired
WordPress Database Table Crashed wp_posts 1

Screenshot 3

Begitu juga pada halaman phpMyAdmin yang manampakkan pesan error serupa:

Error Message:

#145 - Table './wordpress/wp_posts' is marked as crashed and should be repaired
WordPress Database Table Crashed Error wp_posts 4

Screenshot 4

Bagi anda yang mempunyai masalah serupa dengan saya, jangan panik!! Berikut cara repair database table error (wp_posts) WordPress. Pertama login pada halaman phpMyAdmin, kemudian klik pada database WordPress anda → centang checkbox wp_posts → pada dropdown menu pilih Repair table → kemudian klik tombol Go (Screenshot lihat pada gambar di bawah).
WordPress Database Table Crashed wp_posts 5

Screenshot 5

Jika repair berhasil, anda akan menerima pesan konfirmasi sukses yang bertuliskan (Gambar; lihat pada screenshot di bawah):

Success Message:

Your SQL query has been executed successfully
REPAIR TABLE 'wp_posts'
Table 'wordpress.wp_posts', Operation 'repair', Message type 'status', Message 'OK'

WordPress Database Table Crashed wp_posts 6

Screenshot 6

Sampai di sini situs WordPress sudah kembali seperti semula (normal). Posting, page, comment, custome menu dan elemen-elemen lainnya yang hilang akan kembali muncul.

Untuk menghindari kejadian serupa pada situs WordPress anda dilain waktu, berikut ada sedikit tips yang bisa anda terapkan:
  1. Backup database WordPress secara berkala baik itu menggunakan plugin WordPress database backup atau langsung via halaman interface phpMyAdmin.
  2. Optimalkan Database MySQL. Cek overhead table & lakukan table optimizing pada halaman phpMyAdmin setidak-tidaknya sebulan sekali.
  3. Sedia payung sebelum hujan. Lakukan full website backup, tidak menutup kemungkinan error atau gangguan lain pada server bisa menimpa account-account anda yang lain (email, addon domain, subdomain, dlsb) kapan & dimana saja. Jika control panel website anda menggunakan cPanel, lakukan full website backup pada halaman interface cPanel.
Selesai. Semoga bermanfaat.
:)

Disable Auto Login SSL cPanel/WHM Server

Otomatis login menggunakan alamat SSL (https://) → port 2087; pada cPanel/WHM biasanya terjadi setelah ioncube PHP Loader baru saja di install pada server. Berikut cara men-disable SSL login ketika akan akses halaman cPanel/WHM:

» Login ke WHM → Untrusted security certificate, klik I Understand the RisksAdd Exception...

» Add Security Exception centang Permanently store this exception → klik tombol Confirm Security Exception

Login ke WHM sebagai root user.
Untrusted security certificate

Untrusted security certificate

Add Security Exception

Add Security Exception

WHM Login

WHM Login

WHMserver configurationtweak settingSecurityRequire SSL [?] → setting ke off → Klik tombol save (lihat Screenshot di bawah).
cPanel/WHM: Disable Auto Login

cPanel/WHM: Disable Auto Login

Save Setting

Save Setting

Logout WHM & login menggunakan port standar WHM (2086)

Selesai. Semoga bermanfaat...
:)
23 Maret 2012

Install ImageMagick Pada cPanel/WHM Server

ImageMagick merupakan aplikasi pendukung PHP (PHP extention) untuk membuat atau memodifikasi gambar menggunakan ImageMagick API. Berikut cara install ImageMagick pada cPanel/WHM server:

Cek Status ImageMagick apakah sudah terinstall atau belum

Command:

/scripts/installimagemagick

[apache collapse="false"]
[root@localhost ~]# /scripts/installimagemagick
Version: ImageMagick 6.4.8 2009-05-11 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
[/apache]

Jika belum, mulai lakukan proses instalasi dengan cara:

Login pada server sebagai root via ssh.. Buat direktori baru (cpmins) dengan cara mengetikkan command:

[apache collapse="false"]
[root@localhost ~]# mkdir /home/cpimins
[root@localhost ~]#
[/apache]

Navigasikan ke direktori cpmins

[apache collapse="false"]
[root@localhost ~]# cd /home/cpimins
[root@localhost cpimins]#
[/apache]

Download file tar.gz

[apache collapse="false"]
[root@localhost cpimins]# wget http://layer1.cpanel.net/magick.tar.gz
--2012-05-27 10:43:49-- http://layer1.cpanel.net/magick.tar.gz
Resolving layer1.cpanel.net... 208.43.108.66, 208.43.129.162, 208.74.123.21, ...
Connecting to layer1.cpanel.net|208.43.108.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4189045 (4.0M) [application/x-gzip]
Saving to: `magick.tar.gz'

100%[======================================>] 4,189,045 120K/s in 37s

2012-05-27 10:44:27 (112 KB/s) - `magick.tar.gz' saved [4189045/4189045]
[root@localhost cpimins]#
[/apache]

Untar File

[apache collapse="false"]
[root@localhost cpimins]# tar zxvf magick.tar.gz
magick/
magick/ImageMagick-5.5.1-6.tar.gz
magick/install
[root@localhost cpimins]#
[/apache]

Navigasikan ke direktori 'magick'

[apache collapse="false"]
[root@localhost cpimins]# cd magick
[root@localhost magick]#
[/apache]

Install rpm

[apache collapse="false"]
[root@localhost magick]# /scripts/installrpm ImageMagick
[root@localhost magick]# /scripts/installrpm ImageMagick-devel
[/apache]

Install

[apache collapse="false"]
[root@localhost magick]# sh ./install
[/apache]

Cek status & versi imagick menggunakan command di atas (/scripts/installimagemagick)
18 Maret 2012

SMTP Error 451 Temporary Local Problem (please try later) "cPanel/WHM Server"

SMTP Error 451 adalah peringatan error tidak dapat diprosesnya pengiriman email yang dibatalkan oleh ISP karena masalah internal server (Local Error atau Local Problem). Kesalahan ini biasanya terjadi karena overloading pada ISP atau service SMTP memproses terlalu banyak pesan (biasanya email akan sukses terkirim setelah beberapa saat jika email yang diproses terlalu banyak).

Ketika anda akses webmail (roundcube, SquirremMail atau horde) & coba kirim email anda mendapat pesan peringatan "SMTP Error 451 Temporary Local Problem (please try later)", penyebab yang paling umum jika anda menggunakan cPanel/WHM Server adalah domain tidak terdaftar pada file "/etc/localdomains".

Solusinya adalah dengan cara berikut:


  1. Pastikan / cek domain sudah terdaftar pada file "localdomains (/etc/localdomains)"

  2. Tambahkan domain jika domain tidak terdaftar (tanpa http/www)

  3. Restart EXIM (WHM » Restart Services » Mail Server (Exim))

  4. Selesai



Coba kirim test email untuk cek pesan error "SMTP Error 451 Temporary Local Problem (please try later)" apakah sudah hilang & email terkirim dengan sukses.

Semoga membantu.
17 Maret 2012

Install Plugin cPanel/WHM "WatchMySQL"

Plugin ini memberikan kemudahan kepada administrator untuk memonitor semua script/situs user yang terkoneksi ke MySQL. WatchMySQL plugin dapat disetting/dikonfigurasikan untuk mengirimkan email pemberitahuan/notifikasi kepada administrator dan/atau user jika script/situs user melebihi batas (limit) koneksi ke MySQL. Plugin ini juga dapat dikonfigurasikan untuk memutus koneksi user yang melampaui batas maksimal koneksi ke MySQL database secara otomatis.

Berikut cara install WatchMySQL plugin pada cPanel/WHM Server:

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

[bash collapse="false"]
[root@server5 home]# rm -f latest-watchmysql
[root@server5 home]#
[/bash]

[bash]
[root@server5 home]# wget http://www.ndchost.com/cpanel-whm/plugins/watchmysql/download.php
--2012-05-27 12:30:08-- http://www.ndchost.com/cpanel-whm/plugins/watchmysql/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/watchmysql/latest-watchmysql [following]
--2012-05-27 12:30:09-- http://download.ndchost.com/watchmysql/latest-watchmysql
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: 32551 (32K) [text/plain]
Saving to: `latest-watchmysql'

100%[======================================>] 32,551 26.6K/s in 1.2s

2012-05-27 12:30:11 (26.6 KB/s) - `latest-watchmysql' saved [32551/32551]

[root@server5 home]#
[/bash]

[bash]
[root@server5 home]# sh latest-watchmysql
Creating directory installd-watchmysql
Verifying archive integrity... All good.
Uncompressing WatchMySQL by NDCHost.com....................................
Detected CentOS release 5.8 (Final) Operating System
Installing watchmysql daemon into /usr/sbin/
Installing default watchmysql.config into /etc/
Detected Redhat Style OS, Installing init script
WatchMySQL installation has completed, you should now edit the /etc/watchmysql.config file before starting the watchmysql service
[root@server5 home]#
[/bash]

Visit Publisher Script
14 Maret 2012

Install Clean Backups plug-in cPanel/WHM

Script default backup cPanel tidak punya fitur otomatis menghapus file backup user/account yang sudah tidak lagi host pada server. File-file backup user/account yang tidak aktif ini akan terus tersimpan pada hard disk server sampai file terkait dihapus dengan cara manual oleh root user/administrator server (Dedicated Server maupun Virtual Private Server/VPS).

Namun sekarang ada plugin gratis cPanel/WHM "Clean Backups" yang memberi kemudahan kepada administrator server untuk menghapus file-file backup user/account yang sudah tidak aktif lagi secara otomatis. Dengan menggunakan plugin ini, administrator dapat setting/menentukan berapa lama jangka waktu penyimpanan file backup untuk user/account yang sudah tidak aktif lagi dan kapan file-file backup tersebut akan dihapus dari server.

Berikut cara simpel install plugin cPanel/WHM "Clean Backups". Buka putty atau program sejenis lainnya & login sebagai root user.

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

[bash collapse="false"]
root@server5 [/home]# rm -f latest-cleanbackups
root@server5 [/home]#
[/bash]

[bash collapse="false"]
root@server5 [/home]# wget http://www.ndchost.com/cpanel-whm/plugins/cleanbackups/download.php
--2012-05-28 01:22:49-- http://www.ndchost.com/cpanel-whm/plugins/cleanbackups/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/cleanbackups/latest-cleanbackups [following]
--2012-05-28 01:22:50-- http://download.ndchost.com/cleanbackups/latest-cleanbackups
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: 183982 (180K) [text/plain]
Saving to: âlatest-cleanbackupsâ

100%[======================================>] 183,982 77.5K/s in 2.3s

2012-05-28 01:22:53 (77.5 KB/s) - âlatest-cleanbackupsâ

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

[bash]
root@server5 [/home]# sh latest-cleanbackups
Creating directory installd-cleanbackups
Verifying archive integrity... All good.
Uncompressing cPanel/WHM Clean Backups Plug-in by NDCHost.com.......................................................................................................................................................
/bin/mkdir: created directory `/var/cpanel/cleanbackups'
/bin/mkdir: created directory `/var/cpanel/cleanbackups/scripts'
/bin/mkdir: created directory `/usr/local/cpanel/whostmgr/docroot/cleanbackups'
`scripts/addcpbackuphook' -> `/var/cpanel/cleanbackups/scripts/addcpbackuphook'
`scripts/cleanbackupsnow' -> `/var/cpanel/cleanbackups/scripts/cleanbackupsnow'
`scripts/clearsmartycache' -> `/var/cpanel/cleanbackups/scripts/clearsmartycache'
`scripts/ensureconfig' -> `/var/cpanel/cleanbackups/scripts/ensureconfig'
`scripts/ensurephpjson' -> `/var/cpanel/cleanbackups/scripts/ensurephpjson'
`scripts/relinkphp' -> `/var/cpanel/cleanbackups/scripts/relinkphp'
`scripts/upgrade' -> `/var/cpanel/cleanbackups/scripts/upgrade'
`scripts/whmioncube' -> `/var/cpanel/cleanbackups/scripts/whmioncube'
`web/addon_cleanbackups.cgi' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/addon_cleanbackups.cgi'
`web/ajax_backuplist.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/ajax_backuplist.php'
`web/cleanbackups.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/cleanbackups.php'
`web/images' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/images'
`web/images/loading2.gif' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/images/loading2.gif'
`web/images/bottom-shadow.png' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/images/bottom-shadow.png'
`web/images/top-highlight.png' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/images/top-highlight.png'
`web/images/loading.gif' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/images/loading.gif'
`web/images/gradient-black-down.png' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/images/gradient-black-down.png'
`web/index.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/index.php'
`web/jquery-1.4.2.min.js' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/jquery-1.4.2.min.js'
`web/removebackups.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/removebackups.php'
`web/settings.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/settings.php'
`web/sidebar.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/sidebar.php'
`web/smarty' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty'
`web/smarty/version' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/version'
`web/smarty/Smarty.class.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/Smarty.class.php'
`web/smarty/debug.tpl' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/debug.tpl'
`web/smarty/sysplugins' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins'
`web/smarty/sysplugins/smarty_internal_compile_private_registered_function.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_private_registered_function.php'
`web/smarty/sysplugins/smarty_internal_compile_private_function_plugin.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_private_function_plugin.php'
`web/smarty/sysplugins/smarty_internal_compile_private_print_expression.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_private_print_expression.php'
`web/smarty/sysplugins/smarty_internal_filter_handler.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_filter_handler.php'
`web/smarty/sysplugins/smarty_internal_compile_foreach.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_foreach.php'
`web/smarty/sysplugins/smarty_internal_resource_file.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_resource_file.php'
`web/smarty/sysplugins/smarty_internal_compile_while.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_while.php'
`web/smarty/sysplugins/smarty_internal_cache.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_cache.php'
`web/smarty/sysplugins/smarty_internal_config.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_config.php'
`web/smarty/sysplugins/smarty_internal_compile_private_object_function.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_private_object_function.php'
`web/smarty/sysplugins/smarty_internal_resource_php.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_resource_php.php'
`web/smarty/sysplugins/smarty_internal_compile_nocache.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_nocache.php'
`web/smarty/sysplugins/smarty_internal_config_file_compiler.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_config_file_compiler.php'
`web/smarty/sysplugins/smarty_internal_compile_private_special_variable.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_private_special_variable.php'
`web/smarty/sysplugins/smarty_internal_function_call_handler.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_function_call_handler.php'
`web/smarty/sysplugins/smarty_internal_compile_extends.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_extends.php'
`web/smarty/sysplugins/smarty_internal_compile_private_modifier.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_private_modifier.php'
`web/smarty/sysplugins/smarty_internal_unregister.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_unregister.php'
`web/smarty/sysplugins/smarty_internal_resource_string.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_resource_string.php'
`web/smarty/sysplugins/smarty_internal_compile_function.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_function.php'
`web/smarty/sysplugins/smarty_internal_compile_append.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_append.php'
`web/smarty/sysplugins/smarty_internal_templatecompilerbase.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_templatecompilerbase.php'
`web/smarty/sysplugins/smarty_internal_compile_for.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_for.php'
`web/smarty/sysplugins/smarty_internal_compile_ldelim.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_ldelim.php'
`web/smarty/sysplugins/smarty_internal_compile_include.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_include.php'
`web/smarty/sysplugins/smarty_internal_wrapper.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_wrapper.php'
`web/smarty/sysplugins/smarty_internal_compile_capture.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_capture.php'
`web/smarty/sysplugins/smarty_internal_resource_registered.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_resource_registered.php'
`web/smarty/sysplugins/smarty_internal_compile_rdelim.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_rdelim.php'
`web/smarty/sysplugins/smarty_internal_parsetree.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_parsetree.php'
`web/smarty/sysplugins/smarty_internal_resource_extends.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_resource_extends.php'
`web/smarty/sysplugins/smarty_internal_compile_private_object_block_function.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_private_object_block_function.php'
`web/smarty/sysplugins/smarty_internal_write_file.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_write_file.php'
`web/smarty/sysplugins/smarty_internal_compile_if.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_if.php'
`web/smarty/sysplugins/smarty_internal_compile_private_block_plugin.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_private_block_plugin.php'
`web/smarty/sysplugins/smarty_internal_cacheresource_file.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_cacheresource_file.php'
`web/smarty/sysplugins/smarty_internal_compile_assign.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_assign.php'
`web/smarty/sysplugins/smarty_internal_templateparser.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_templateparser.php'
`web/smarty/sysplugins/smarty_internal_compile_section.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_section.php'
`web/smarty/sysplugins/smarty_internal_compile_config_load.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_config_load.php'
`web/smarty/sysplugins/smarty_internal_compile_call.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_call.php'
`web/smarty/sysplugins/smarty_internal_configfilelexer.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_configfilelexer.php'
`web/smarty/sysplugins/smarty_internal_compile_private_registered_block.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_private_registered_block.php'
`web/smarty/sysplugins/smarty_internal_compilebase.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compilebase.php'
`web/smarty/sysplugins/smarty_internal_compile_debug.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_debug.php'
`web/smarty/sysplugins/smarty_internal_utility.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_utility.php'
`web/smarty/sysplugins/smarty_internal_register.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_register.php'
`web/smarty/sysplugins/smarty_internal_security_handler.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_security_handler.php'
`web/smarty/sysplugins/smarty_internal_configfileparser.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_configfileparser.php'
`web/smarty/sysplugins/smarty_internal_debug.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_debug.php'
`web/smarty/sysplugins/smarty_internal_templatelexer.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_templatelexer.php'
`web/smarty/sysplugins/smarty_internal_compile_eval.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_eval.php'
`web/smarty/sysplugins/smarty_internal_data.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_data.php'
`web/smarty/sysplugins/smarty_internal_resource_stream.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_resource_stream.php'
`web/smarty/sysplugins/smarty_security.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_security.php'
`web/smarty/sysplugins/smarty_internal_compile_insert.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_insert.php'
`web/smarty/sysplugins/smarty_internal_compile_block.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_block.php'
`web/smarty/sysplugins/smarty_internal_compile_include_php.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_compile_include_php.php'
`web/smarty/sysplugins/smarty_internal_template.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_template.php'
`web/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php'
`web/smarty/plugins' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins'
`web/smarty/plugins/function.html_select_time.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.html_select_time.php'
`web/smarty/plugins/modifier.count_characters.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.count_characters.php'
`web/smarty/plugins/modifier.escape.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.escape.php'
`web/smarty/plugins/modifier.cat.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.cat.php'
`web/smarty/plugins/function.popup_init.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.popup_init.php'
`web/smarty/plugins/modifier.capitalize.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.capitalize.php'
`web/smarty/plugins/modifier.wordwrap.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.wordwrap.php'
`web/smarty/plugins/modifier.indent.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.indent.php'
`web/smarty/plugins/modifier.spacify.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.spacify.php'
`web/smarty/plugins/modifier.debug_print_var.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.debug_print_var.php'
`web/smarty/plugins/modifier.count_words.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.count_words.php'
`web/smarty/plugins/function.counter.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.counter.php'
`web/smarty/plugins/function.mailto.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.mailto.php'
`web/smarty/plugins/modifier.truncate.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.truncate.php'
`web/smarty/plugins/modifier.strip.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.strip.php'
`web/smarty/plugins/function.html_table.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.html_table.php'
`web/smarty/plugins/function.html_radios.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.html_radios.php'
`web/smarty/plugins/modifier.regex_replace.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.regex_replace.php'
`web/smarty/plugins/modifier.default.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.default.php'
`web/smarty/plugins/function.popup.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.popup.php'
`web/smarty/plugins/function.html_checkboxes.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.html_checkboxes.php'
`web/smarty/plugins/function.cycle.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.cycle.php'
`web/smarty/plugins/shared.escape_special_chars.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/shared.escape_special_chars.php'
`web/smarty/plugins/modifier.replace.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.replace.php'
`web/smarty/plugins/function.html_options.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.html_options.php'
`web/smarty/plugins/function.html_image.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.html_image.php'
`web/smarty/plugins/function.html_select_date.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.html_select_date.php'
`web/smarty/plugins/shared.make_timestamp.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/shared.make_timestamp.php'
`web/smarty/plugins/outputfilter.trimwhitespace.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/outputfilter.trimwhitespace.php'
`web/smarty/plugins/variablefilter.htmlspecialchars.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/variablefilter.htmlspecialchars.php'
`web/smarty/plugins/modifier.strip_tags.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.strip_tags.php'
`web/smarty/plugins/block.php.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/block.php.php'
`web/smarty/plugins/modifier.upper.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.upper.php'
`web/smarty/plugins/modifier.lower.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.lower.php'
`web/smarty/plugins/function.fetch.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.fetch.php'
`web/smarty/plugins/modifier.count_sentences.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.count_sentences.php'
`web/smarty/plugins/modifier.string_format.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.string_format.php'
`web/smarty/plugins/function.math.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/function.math.php'
`web/smarty/plugins/block.textformat.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/block.textformat.php'
`web/smarty/plugins/modifier.noprint.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.noprint.php'
`web/smarty/plugins/modifier.count_paragraphs.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.count_paragraphs.php'
`web/smarty/plugins/modifier.date_format.php' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/plugins/modifier.date_format.php'
`web/smarty/.DS_Store' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/smarty/.DS_Store'
`web/style.css' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/style.css'
`web/templates' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/templates'
`web/templates/sidebar.tpl' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/templates/sidebar.tpl'
`web/templates/topbar.tpl' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/templates/topbar.tpl'
`web/templates/header.tpl' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/templates/header.tpl'
`web/templates/ajax_backuplist.tpl' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/templates/ajax_backuplist.tpl'
`web/templates/index.tpl' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/templates/index.tpl'
`web/templates/cleanbackups.tpl' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/templates/cleanbackups.tpl'
`web/templates/footer.tpl' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/templates/footer.tpl'
`web/templates/settings.tpl' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/templates/settings.tpl'
`web/templates_c' -> `/usr/local/cpanel/whostmgr/docroot/cleanbackups/templates_c'
`cleanbackups.class.php' -> `/var/cpanel/cleanbackups/cleanbackups.class.php'
`version' -> `/var/cpanel/cleanbackups/version'
`changelog' -> `/var/cpanel/cleanbackups/changelog'
`cleanbackups.cron' -> `/etc/cron.d/cleanbackups.cron'
Linking /var/cpanel/cleanbackups/bin/php to /usr/local/cpanel/3rdparty/bin/php
`/var/cpanel/cleanbackups/bin/php' -> `/usr/local/cpanel/3rdparty/bin/php'
Found /usr/local/cpanel/3rdparty/bin/php , checking for JSON support
JSON support found!
Updating md5sum list
Fetching http://httpupdate.cpanel.net/cpanelsync/easy/targz.yaml (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/httpupdate.cpanel.net......searching for mirrors (mirror search attempt 1/3)......loaded mirror speeds from cache......mirror search success......connecting to 112.140.180.1...@112.140.180.1......connected......receiving...100%......request success......Done
Downloading tarball for IonCubeLoader
Fetching http://httpupdate.cpanel.net/cpanelsync/easy/targz/Cpanel/Easy/IonCubeLoader.pm.tar.gz.linux-generic-64 (connected:0).......(request attempt 1/12)......connecting to 112.140.180.1...@112.140.180.1......connected......receiving...4%...8%...12%...16%...20%...24%...28%...32%...36%...40%...44%...48%...52%...56%...60%...64%...68%...72%...76%...80%...85%...89%...93%...97%...100%......request success......Done
Installing IonCubeLoader
Creating install directory at /usr/local/IonCube
Determining PHP version
Installing IonCube Loader binaries
Activating IonCube Loader extension in /usr/local/cpanel/3rdparty/etc/php.ini
IonCube Loader extension activated
`/usr/local/cpanel/whostmgr/docroot/cleanbackups/addon_cleanbackups.cgi' -> `/usr/local/cpanel/whostmgr/docroot/cgi/addon_cleanbackups.cgi'
root@server5 [/home]#
[/bash]

Selesai. Login pada WHM sebagai root user & klik pada link plugin "Clean Backups" untuk mulai melakukan konfigurasi script.

[caption id="attachment_1210" align="alignnone" width="150" caption="Clean backups WHM Plugin"]Clean backups WHM Plugin[/caption]

Visit Publisher script

Selesai.
:D
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

Install GD Image Support For PHP Pada cPanel/WHM Server

PHP (PHP Hypertext Preprocessor) tidak hanya terbatas untuk membuat output dokumen HTML saja, namun juga bisa digunakan untuk membuat dan memanipulasi file-file gambar dalam variasi format yang berbeda (GIF, PNG, JPEG, WBMP, dan XPM). Dengan kata lain, PHP dapat membuat output stream gambar langsung ke browser.

Untuk dapat mengaktifkan fungsi ini, diperlukan compile "GD Image Support For PHP". Berikut tutorial singkat install 'GD Image Support For PHP' pada cPanel/WHM Server:

» WHM » Software » EasyApache (Apache Update)

[caption id="attachment_1235" align="alignnone" width="150" caption="EasyApache: Image Manipulation"]GD Image Support For PHP cPanel/WHM[/caption]

» Klik 'PHP Encryption and Image Manipulation [More Info]'

» Klik tombol 'Build Profile Now'

[caption id="attachment_1237" align="alignnone" width="150" caption="EasyApache: Image Manipulation 2"]GD Image Support For PHP cPanel/WHM2[/caption]

» Kotak dialog konfirmasi 'Recompile Apache and PHP now?' → klik tombol Yes

[caption id="attachment_1238" align="alignnone" width="150" caption="EasyApache: Image Manipulation 3"]GD Image Support For PHP cPanel WHM3[/caption]

» Please acknowledge 'Termination of the build process will result in data loss! The build process is...' → klik tombol I Understand

[caption id="attachment_1239" align="alignnone" width="150" caption="EasyApache: Image Manipulation 4"]GD Image Support For PHP cPanel/WHM4[/caption]

» Tunggu beberapa menit sampai proses build selesai (lama tidaknya tergantung pada spesifikasi mesin server).

[caption id="attachment_1240" align="alignnone" width="150" caption="EasyApache: Image Manipulation 5"]GD Image Support For PHP cPanel/WHM5[/caption]

» Configure PHP and SuExec, biarkan default (tidak usah diedit / optional). Klik tombol Close

[caption id="attachment_1241" align="alignnone" width="150" caption="EasyApache: Image Manipulation 6"]GD Image Support For PHP cPanel/WHM6[/caption]

Untuk cek apakah GD Image Support For PHP sudah terinstall (gd baris ke-13), cek via putty dan jalankan command berikut.

php -m

[bash highlight="13"]
root@server5 [~]# php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
ereg
filter
ftp
gd
hash
iconv
imap
json
libxml
mcrypt
mysql
openssl
pcre
Phar
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

root@server5 [~]#
[/bash]

Selesai

Referensi manual Image Processing and GD:
http://php.net/manual/en/book.image.php
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.
Loncat ke Atas ↑