CatatankuCC

Monday, April 8, 2013

CatatankuCC


Cara Install WHM dan cPanel di VPS

Posted: 07 Apr 2013 12:52 PM PDT

Cara Install WHM dan cPanel di VPS.

cPanel yang merupakan control panel web hosting grafis yang paling banyak digunakan karena kemudahan instalasi dan setting-nya. Pada instalasi cPanel, kita diberikan juga WebHost Manager (WHM) yang berfungsi untuk manage semua account di server sekaligus manage services, deployment package, control DNS and FTP configuration, accounts, security settings.

Fitur dari WHM antara lain :

  • Set up and modify customer accounts
  • Receive alerts if the server goes down
  • Install applications and programming language modules
  • Create and apply hosting plans
  • Block spam
  • Integrate new web technologies
  • Brand customers' cPanel interfaces with custom logos.

Fitur dari cPanel antara lain :

  • Manage email
  • Control spam through SpamAssassin and cPanel's exclusive BoxTrapper
  • Manage files via FTP & built-in File Manager
  • Manage databases using MySQL, PostgreSQL and phpMyAdmin
  • Manage DNS and maintain full control over your zone files
  • View website stats

WHM dan cPanel ini tidak gratis alias berbayar dengan perincian :

Direct from cPanelcPanel Distributor
Billing Cycle1-Year, 2-Year, or 3-YearMonthly
SupportPriorityComplimentary
Discountson 2 or more cPanel & WHM licenses purchasedVaries
VPS Cost$200 Annually$15.00 – $20.00
Dedicated Cost$425 AnnuallyVaries
Cloud Linux Cost$150/$250 AnnuallyVaries

Cara Install WHM dan cPanel di VPS

WHM / cPanel tidak support 32-bit Virtual Environments yang berjalan di 64-bit host kernel.
Virtualisasi yang support dengan WHM / cPanel :

  • KVM
  • Linux-VServer
  • Microsoft Server® 2008 Hyper-V (supports the drivers and configurations)
  • OpenVZ (stable releases only)
  • Oracle VM VirtualBox, VirtualBox OSE
  • Virtuozzo™
  • VMware® Server, VMware® ESX Server
  • Xen, XenEnterprise™, XenExpress™, XenServer™

WHM / cPanel support Operating Systems :

  • CentOS versions 5.x, 6.x
  • Red Hat® Enterprise Linux® versions 5.x, 6.x
  • CloudLinux 5.x, 6.x (not compatible with OpenVZ or Virtuozzo)

Hardware Requirements

  • Component : Minimum Requirement
  • Processor : 266 MHz processor
  • Memory : 512 MB RAM (1 GB recommended when hosting many accounts)
  • Disk Space : 10GB hard disk

Persiapan Install WHM dan cPanel di VPS

Persiapan install WHM / cPanel di VPS atau server adalah sebagai berikut :

Cara Install WHM dan cPanel di VPS

Gunakan SSH client seperti putty atau bitvise SSH client untuk akses ssh

Hapus YUM groups

Hapus YUM groups dengan perintah yum groupremove. Cek terlebih dahulu list yum group dengan perintah  yum grouplist
Pastikan yum group di bawah ini tidak terinstall :

  • FTP Server
  • GNOME Desktop Environment
  • KDE (K Desktop Environment)
  • Mail Server or E-mail Server
  • Mono
  • Web Server
  • X Window System

Hapus jika ada yang terinstall.
Contoh untuk hapus Mono dan Mail Server adalah :
yum groupremove "Mono" "Mail Server"

Disable SELinux

Untuk disable SELinux dengan :

  • Menggunakan graphical interface yang terdapat di  operating system, atau
  • Edit /etc/selinux/config dan set SELINUX parameter menjadi disabled. Ini bisa menggunakan command line SSH – text editor, seperti nano atau vi.

Isi dari SELinux yang terletak di /etc/selinux/config harus sebagai berikut :

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

Matikan iptable VPS

Deactivate default firewall dan check updates dengan menggunakan perintah :

chkconfig iptables off
service iptables stop
yum update

Instal cPanel dan WHM

Untuk memulai install cpanel pada vps, adalah sebagai berikut :

  • Buka direktori /home dengan mengetik perintah
    cd /home
  • Download file instalasi cPanel terbaru dari server cPanel dengan mengetik perintah
    wget -N http://httpupdate.cpanel.net/latest
  • Buka dan jalankan file instalasi dengan mengetik perintah
    sh latest

Jika lisensi gagal (karena firewall atau IP yang berubah), jalankan perintah berikut untuk mengaktifkan lisensi Anda:
/usr/local/cpanel/cpkeyclt

Instal cPanel DNSONLY

Untuk memulai instalasi, gunakan perintah berikut:

  • Buka direktori /home dengan mengetik perintah
    cd /home
  • Download file instalasi cPanel terbaru dari server cPanel dengan mengetik perintah
    wget -N http://httpupdate.cpanel.net/latest-dnsonly
  • Buka dan jalankan file instalasi dengan mengetik perintah
    sh latest-dnsonly

Login di WHM

Untuk mengakses halaman WHM:

  • Ketik https://$IP:2087 dalam browser web Anda. ($IP = alamat IP web server Anda).
  • Gunakan root sebagai user login
  • Masukkan password root anda.
  • Klik login

Selanjutnya kita dapat men-setup WHM dan cPanel sesuai kebutuhan yang kita inginkan.

Demikianlah Cara Install WHM dan cPanel di VPS

0 comments: