Install cPanel on AlmaLinux 8

Install cPanel pada AlmaLinux 8

  • Ganti hostname almalinux
hostnamectl set-hostname alma.rainui.cloud
[root@cPanel admin]# hostnamectl
   Static hostname: alma.rainui.cloud
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 6b68149d6ed1fb0ac847c652d8007477
           Boot ID: 92f1290da4a644a08c74c1085ff16593
    Virtualization: kvm
  Operating System: AlmaLinux 8.5 (Arctic Sphynx)
       CPE OS Name: cpe:/o:almalinux:almalinux:8::baseos
            Kernel: Linux 4.18.0-348.12.2.el8_5.x86_64
      Architecture: x86-64
  • Disable SELinux
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
  • Disable service NetworkManager
service NetworkManager stop
chkconfig NetworkManager off
  • Install cPanel dan WHM dengan Trial License
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
  • cPanel berhasil di install pada AlmaLinux 8
  • Enable kembali service NetworkManager
service NetworkManager start
chkconfig NetworkManager on
  • Akses whm dengan url: https://ip_address_almalinux:2087 , login dengan user root
  • Tampilan dashboard whm
  • Tambahkan user cpanel
  • Akses cPanel dengan url: https://ip_address_almalinux:2083

herdiana3389

A system administrator with skills in system administration, virtualization, linux, windows, networking, cloud computing, container, etc.