Knowledgebase

How to use cldeploy to convert CentOS or AlmaLinux server to CloudLinux?

cldeploy is a utility provided by CloudLinux to convert a CentOS or AlmaLinux server to CloudLinux? It automates the process of switching the operating system without requiring a full reinstall. Please note that you'll need an active CloudLinux subscription and access to the CloudLinux Network (CLN) to use this tool.

Here are the steps to use cldeploy:

  1. Ensure Backup: Before proceeding, it's crucial to back up your data, especially configurations and critical files.

  2. Install CloudLinux Repository: Ensure that the CloudLinux repository is set up on your CentOS/AlmaLinux system. You can do this by running the following command:

    bash

 

  • wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy chmod +x cldeploy ./cldeploy -i

    This will install the CloudLinux repository.

  • Check System Requirements: Before performing the conversion, ensure that your system meets CloudLinux's hardware and software requirements.

  • Run cl-deploy: Now, run cldeploy:

    bash
  • ./cldeploy --convert

    This will start the conversion process. cldeploy will automatically download and install the necessary packages and configure your system.

  • Follow Instructions: Follow the on-screen instructions. This may involve accepting license agreements, entering your CLN credentials, and providing other necessary information.

  • Wait for Completion: The process may take some time, depending on your internet connection and the size of your system. Allow it to complete without interruption.

  • Reboot: After the process is complete, reboot your system:

    bash
  • reboot
  • Post-Conversion Configuration: After the system comes back up, you may need to perform some post-conversion configurations, depending on your specific use case. This could include reconfiguring services or adjusting settings.

  • Verify CloudLinux Installation: To confirm that the conversion was successful, you can check the CloudLinux version using:

    bash

 

  1. cat /etc/redhat-release

    It should now show CloudLinux as the operating system.

Remember that any major change like this can have implications for your system. Ensure that you have adequate backups and a rollback plan in case of any unforeseen issues.

As of my last update in September 2021, these are the general steps. For the most accurate and up-to-date instructions, always refer to the official CloudLinux documentation or contact CloudLinux support.

  • 0 Users Found This Useful
Was this answer helpful?