Apa itu cPanel?
Bagi kalian yang sebelumnya pernah menggunakan hosting tentunya sudah tahu apa itu cPanel?. cPanel merupakan salah satu dari sekian banyak dashboard control panel hosting yang digunakan untuk mengatur berbagai hal yang terkait dengan hosting, mulai dari File manager, Setting DNS, Webmail, dan Database.
Banyak provider atau penyedia layanan jasa hosting yang menggunakan cPanel sebagai control panel hosting mereka karena cPanel sangatlah familiar dan mudah digunakan untuk kalangan pengguna hosting baik dari pemula hingga web developer. Lalu bagaimana cara install cPanel di VPS berikut ini panduannya.
Cara Install cPanel di VPS
Bagaimana caranya jika kita mempunyai VPS atau Private Server sendiri dan ingin menggunakan cPanel sebagai control panel hosting untuk manage VPS atau Private Server. Sebelum membahas cara install cPanel di VPS atau Private Server terlebih mari simak dahulu requirement dari cPanel berikut ini :
Component | OS | Minimum | Recommended |
---|---|---|---|
Processor | All supported operating systems. | 226 MHz | 226 MHz |
Memory | CentOS 7 | 1 GB of RAM | 2 GB of RAM or more, for heavily-populated servers. |
Disk Space | All supported operating systems. | 20 GB of disk space | 40 GB of disk space |
Perlu di ingat juga kalau ingin menggunakan cPanel kita harus membeli License Key terlebih dahulu karena jika tidak membeli License cPanel maka cPanel hanya aktif selama 30 hari untuk masa Trial.
Jika semua requirements sudah terpenuhi, selanjutnya ke tahap proses installasi cPanel.
- Requirement install cPanel
Sebelum memulai install cPanel pertama install dahulu requirement package seperti perl dan curl terlebih dahulu dengan command :
yum install -y perl curl
kemudian setting hostname pada server dengan command :
hostnamectl set-hostname host.domain.com
- Install cPanel
Setelah requirement package dan setting hostname terpenuhi selanjutnya download installer cPanel dan menjalankan installernya untuk installasi cPanel dengan command :
curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Kemudian akan muncul output seperti berikut ini :
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 31447 100 31447 0 0 20865 0 0:00:01 0:00:01 --:--:-- 20867 Verifying archive integrity... All good. Uncompressing cPanel & WHM Installer...... ____ _ ___| _ \ __ _ _ __ ___| | / __| |_) / _` | '_ \ / _ \ | | (__| __/ (_| | | | | __/ | \___|_| \__,_|_| |_|\___|_| Installer Version v00088 r643f08aa43cd9e3ed313614b870449cca32d6512 Beginning main installation. 2019-04-04 16:08:36 843 ( INFO): cPanel & WHM installation started at: Thu Apr 4 16:08:36 2019! 2019-04-04 16:08:36 844 ( INFO): This installation will require 10-50 minutes, depending on your hardware and network. 2019-04-04 16:08:36 845 ( INFO): Now is the time to go get another cup of coffee/jolt. 2019-04-04 16:08:36 846 ( INFO): The install will log to the /var/log/cpanel-install.log file. 2019-04-04 16:08:36 847 ( INFO): 2019-04-04 16:08:36 848 ( INFO): Beginning Installation v3... 2019-04-04 16:08:37 498 (DEBUG): Detected distro “centos-release”, version “7.6”, arch “x86_64” 2019-04-04 16:08:37 523 ( INFO): CentOS 7.6 (Linux) detected! 2019-04-04 16:08:37 539 ( INFO): Checking RAM now... 2019-04-04 16:08:37 599 ( INFO): Validating that the system hostname ('igneel.nimetech.com') is a FQDN... 2019-04-04 16:08:37 623 ( INFO): Checking for NetworkManager now... ... ... 2019-04-04 16:29:25 286 ( INFO): cPanel install finished in 20 minutes and 49 seconds! 2019-04-04 16:29:26 1152 ( INFO): Congratulations! Your installation of cPanel & WHM 11.78 is now complete. The next step is to configure your server. 2019-04-04 16:29:26 1152 ( INFO): 2019-04-04 16:29:26 1152 ( INFO): Before you configure your server, ensure that your firewall allows access on port 2087. 2019-04-04 16:29:26 1152 ( INFO): 2019-04-04 16:29:26 1152 ( INFO): After ensuring that your firewall allows access on port 2087, you can configure your server. 2019-04-04 16:29:26 1152 ( INFO): 2019-04-04 16:29:26 1152 ( INFO): 1. Open your preferred browser 2019-04-04 16:29:26 1152 ( INFO): 2019-04-04 16:29:26 1152 ( INFO): 2. Navigate to the following url using the address bar and enter this one-time autologin url: 2019-04-04 16:29:26 1152 ( INFO): 2019-04-04 16:29:26 1152 ( INFO): https://128.199.122.147:2087/cpsess0561975785/login/?session=root%3aVtrKPM5FNfofp2Kv%3acreate_user_session%2c8bd85d651b94b4a0e99f12ae9450a7fa 2019-04-04 16:29:26 1152 ( INFO): 2019-04-04 16:29:26 1152 ( INFO): After the login url expires you generate a new one using the 'whmlogin' command or manually login at: 2019-04-04 16:29:26 1152 ( INFO): 2019-04-04 16:29:26 1152 ( INFO): https://128.199.122.147:2087 2019-04-04 16:29:26 1152 ( INFO): 2019-04-04 16:29:26 1152 ( INFO): Visit https://go.cpanel.net/whminit for more information about first-time configuration of your server. 2019-04-04 16:29:26 1152 ( INFO): 2019-04-04 16:29:26 1152 ( INFO): Visit http://support.cpanel.net or https://go.cpanel.net/whmfaq for additional support 2019-04-04 16:29:26 1152 ( INFO): 2019-04-04 16:29:26 1152 ( INFO): Thank you for installing cPanel & WHM 11.78! Removing /root/installer.lock.
Jika output proses installasi sudah selesai dan muncul tulisan `Thank you for installing cPanel & WHM 11.78!`, sampai sini proses installasi sudah berhasil dan sudah bisa diakses WHM dan cPanel
Akses WHM dan cPanel
Sebelum mengakses cPanel yang telah berhasil di install, perlu di ketahui dahulu perbedaan antara WHM dan cPanel. Apa sih WHM? WHM (Web Host Manager) adalah panel administrator yang mengatur cPanel mulai dari cara mengatur/menambahkan user, mengatur nameserver, dan lainnya. Untuk mengakses WHM biasanya menggunakan url https://ip_address:2087 atau https://host.domain.com:2087
Untuk login ke WHM username dan passwordnya menggunakan root
dan root_password
Dan untuk mengakses cPanel gunakan url https://ip_address:2083 atau https://host.domain.com:2083
Kesimpulan
cPanel merupakan salah satu dari sekian banyak panel hosting yang digunakan untuk memudahkan dalam manage server. Selain itu cPanel memberikan kemudahan bagi pemula hingga web developer dalam melakukan developer website. Dengan adanya panduan cara install cPanel di VPS ini semoga bisa membantu kalian dalam melakukan manage VPS/Server
Kami NimeTech.com menggunakan cPanel untuk memudahkan dalam melakukan jasa manage server