Desinstalar Cloud Linux

Uninstalling CloudLinux is a fairly involved process, as the CloudLinux repos ship their own version of many software packages that need to be re-downgraded to CentOS defaults. I will be using this guide as a basis, with a few tweaks because uninstalling kernels with yum makes me nervous (dependency issues mean that you could be uninstalling the entire glibc system from your server…)

  • Run the CloudLinux uninstaller
    /usr/local/cpanel/bin/cloudlinux_system_install -c
  • Update any packages available from your newly-default CentOS repos
    yum upgrade -y
  • Recompile Apache to remove liblve and mod_hostinglimits
    /scripts/easyapache --build
  • Install the CentOS kernel
    yum --disableexcludes=all install kernel
  • Manually uninstall the CloudLinux kernel
    rpm -qa |awk '/^kernel.*lve/ {print $1|"xargs rpm -e --nodeps"}'
  • Make sure the uninstaller updated grub
    grep -r lve /boot/*
    If this finds anything in menu.lst or any other GRUB config files, manually remove the entries for kernels with “lve” in the name.
  • Reinstall the packages CloudLinux supplied with CentOS defaults
    rpm -qa --qf "[%{VENDOR} %{NAME}\n]"|awk '/CloudLinux/ {print $2|"xargs yum reinstall -y"}'
  • Downgrade any packages supplied by CloudLinux with CentOS versions
    rpm -qa --qf "[%{VENDOR} %{NAME}\n]"|awk '/CloudLinux/ {print $2|"xargs yum downgrade -y"}'
  • Remove any packages supplied by CloudLinux not available in CentOS
    rpm -qa --qf "[%{VENDOR} %{NAME}\n]"|awk '/CloudLinux/ {print $2|"xargs yum erase -y"}'
  • Final upgrade. Make sure kernel-headers and kernel-devel are installed.
    yum upgrade -y
    yum install kernel-headers kernel-devel
  • Reboot
    shutdown -rf now

    That should be it. If Apache fails to start, try another EasyApache build.

    • 0 Users Found This Useful
    Was this answer helpful?

    Related Articles

    Como restaurar Key en CloudLinux

    A veces no aparece el cloudLinux en la consola principal.... porque se pierde la llave, ...

    No response from subprocess exit 0

    Sale:  No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/CloudLinux.cgi)...

    Como instalar CloudLinux

    It is easy to switch cPanel server from CentOS 5.x or 6.x to CloudLinux. The process takes a...

    Abreviaturas de CloudLunux LVE

    Output ID LVE Id or username aCPU Average CPU usage mCPU...

    Instalar CageFS

    Ver:  http://docs.cloudlinux.com/index.html?installation2.html Installation Minimum...