Install WHM Cpanel di CentOS 7

Hi…

Kali ini kita akan mencoba untuk instalasi whm/cpanel. Apa itu whm/cpanel? Definisi nya cari sendiri ya… hehehe… Intinya, whm/cpanel merupakan panel hosting, dan saat ini banyak digunakan oleh kebanyakan hosting provider. Sayangnya, whm/cpanel ini berbayar, tapi masih ada trial nya selama 7 hari.

Ok mari kita mulai….

Langkah awal, update dulu centos 7 nya, kemudian direstart, menggunakan perintah

$ sudo yum -y update

$ sudo reboot

Setup hostname (FQDN or Fully Qualified Domain Name) dan kemudian cek

[[email protected] home]# hostname cpanel.konfigurasi.net
[[email protected] home]# hostname
cpanel.konfigurasi.net

Kemudian, install perl dan curl, 

# yum install perl curl

Kemudian, disable Network Manager, karena cpanel tidak bisa menggunakan Network Manager, dan aktifkan Network Service

[[email protected] home]# systemctl disable NetworkManager
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
[[email protected] home]# systemctl stop NetworkManager
[[email protected] home]# systemctl enable network
network.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig network on
[[email protected] home]# systemctl start network

Download script untuk instalasi whm/cpanel. Script ini berisi otomasi untuk install

# curl -o latest -L https://securedownloads.cpanel.net/latest

Setelah itu baru jalan kan scriptnya

# sh latest

Nah, karena proses nya lama, ada baiknya proses menjalankan script latest, menggunakan screen, agar tidak terputus prosesnya. Jadi kita bisa melakukan kegiatan yang lain, mungkin sambil ngopi dan makan roti.

2018-02-27 19:10:52 1146 ( INFO): Congratulations! Your installation of cPanel & WHM 11.68 is now complete. The next step is to configure your server.
2018-02-27 19:10:52 1146 ( INFO):
2018-02-27 19:10:52 1146 ( INFO): Before you configure your server, ensure that your firewall allows access on port 2087.
2018-02-27 19:10:52 1146 ( INFO): On RHEL, CentOS, and CloudLinux systems, execute /scripts/configure_firewall_for_cpanel to accomplish this.
2018-02-27 19:10:52 1146 ( INFO):
2018-02-27 19:10:52 1146 ( INFO): After ensuring that your firewall allows access on port 2087, you can configure your server.
2018-02-27 19:10:52 1146 ( INFO):
2018-02-27 19:10:52 1146 ( INFO): 1. Open your preferred browser
2018-02-27 19:10:52 1146 ( INFO):
2018-02-27 19:10:52 1146 ( INFO): 2. Type https://192.168.192.111:2087 in the address bar
2018-02-27 19:10:52 1146 ( INFO):
2018-02-27 19:10:52 1146 ( INFO): 3. Enter the word root in the Username text box
2018-02-27 19:10:52 1146 ( INFO):
2018-02-27 19:10:52 1146 ( INFO): 4. Enter your root password in the Password text box
2018-02-27 19:10:52 1146 ( INFO):
2018-02-27 19:10:52 1146 ( INFO): 5. Click the Login button
2018-02-27 19:10:52 1146 ( INFO):
2018-02-27 19:10:52 1146 ( INFO): Visit https://go.cpanel.net/whminit for more information about first-time configuration of your server.
2018-02-27 19:10:52 1146 ( INFO):
2018-02-27 19:10:52 1146 ( INFO): Visit http://support.cpanel.net or https://go.cpanel.net/whmfaq for additional support
2018-02-27 19:10:52 1146 ( INFO):
2018-02-27 19:10:52 1146 ( INFO): Thank you for installing cPanel & WHM 11.68!