Hostnic Promo

Cara Uninstall Cloudlinux from Cpanel Server

Cara agar uninstall cloudlinux dengan full dan convert kembali ke system CentOS.

Yang akan dilakukan :

  1. Packet LVE akan di hapus
  2. Cloudlinux repository dan yum plugin akan dihapus
  3. CentOS repository akan di setup kembali

Cara Uninstall CloudLinux
1. Langkah Pertama

$ wget -O cldeploy http://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
$ sh deploy -c

2. Cek jika server terinstall Cloudlinux

# /usr/local/cpanel/bin/cloudlinux_system_install -c

3. Update CentOS-provided RPMs

# yum upgrade -y

4. Rebuild Apache

#  /usr/local/cpanel/scripts/easyapache -build
atau
#/scripts/easyapache  -build

5. Reinstall a non-CloudLinux kernel.

# yum –disableexcludes=all install kernel

6. Remove CloudLinux Kernel

# rpm -qa |awk ‘/^kernel.*lve/ {print $1|”xargs yum -y erase”}’

7. Reinstall any CloudLinux-provided RPMs CentOS

# rpm -qa –qf “[%{VENDOR} %{NAME}n]“|awk ‘/CloudLinux/ {print $2|”xargs yum reinstall -y”}’

8. Downgrade CloudLinux-provided RPMs ke versi CentOS

# rpm -qa –qf “[%{VENDOR} %{NAME}n]“|awk ‘/CloudLinux/ {print $2|”xargs yum downgrade -y”}’

9. Remove any remaining CloudLinux spesifik RPMs

# rpm -qa –qf “[%{VENDOR} %{NAME}n]“|awk ‘/CloudLinux/ {print $2|”xargs yum erase -y”}’

10. Upgrade any downgraded CentOS-provides RPMs

# yum upgrade -y

11. Restart Server

# Reboot

Hostnic Promo

Di tulis oleh: