OS CloudLinux và CageFS có sẵn với CyberPanel v.1.8.6 trở lên, nhưng trước khi sử dụng bất kỳ tính năng nào của nó, bạn cần chuyển đổi hệ điều hành của mình sang HĐH CloudLinux. Và bài viết này mình sẽ hướng dẫn bạn sử dụng các lệnh bên dưới để chuyển đổi máy chủ của bạn sang HĐH CloudLinux.
Đầu tiên bạn cần có License CloudLinux, bạn có thể đăng ký tại link bên dưới.
Bên dưới là License của mình
Tiếp đến bạn truy cập vào máy chủ thông qua SSH và chạy lệnh sau ở quyền root.
wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy sh cldeploy -k <activation_key> reboot
[root@cyber ~]# wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy --2019-12-24 21:06:00-- https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy Resolving repo.cloudlinux.com (repo.cloudlinux.com)... 69.175.3.2, 2001:470:1f10:2bc::3 Connecting to repo.cloudlinux.com (repo.cloudlinux.com)|69.175.3.2|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 50250 (49K) [text/plain] Saving to: ‘cldeploy’ 100%[===========================================================================>] 50,250 101KB/s in 0.5s 2019-12-24 21:06:01 (101 KB/s) - ‘cldeploy’ saved [50250/50250] [root@cyber ~]# sh cldeploy -k 108823-CLN-b50a1190e684e6f9d60cae9367025c8d Checking for an update to cldeploy Downloading version.dat (please wait) cldeploy is already the latest version (1.54) - continuing Loaded plugins: fastestmirror Cleaning repos: copr:copr.fedorainfracloud.org:copart:restic dovecot-2.3-latest : epel gf litespeed litespeed-update mariadb powerdns-auth-42 Other repos take up 285 M of disk space (use --verbose for details) Loaded plugins: fastestmirror Cleaning repos: cloudlinux-imunify360 : copr:copr.fedorainfracloud.org:copart:restic dovecot-2.3-latest : epel gf litespeed litespeed-update mariadb powerdns-auth-42 Cleaning up list of fastest mirrors Other repos take up 160 M of disk space (use --verbose for details) Loaded plugins: fastestmirror Determining fastest mirrors Resolving Dependencies --> Running transaction check ---> Package yum.noarch 0:3.4.3-163.el7.centos will be updated ---> Package yum.noarch 0:3.4.3-163.el7.cloudlinux.1 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: yum noarch 3.4.3-163.el7.cloudlinux.1 cloudlinux-base 1.2 M ................................... Complete! Loaded plugins: fastestmirror, rhnplugin This system is receiving updates from CLN. Loading mirror speeds from cached hostfile * cloudlinux-x86_64-server-7: cln-mirror.matbao.net No packages marked for update Important Warning! We cannot identify your control panel or it doesn't exist at this server. If the control panel already installed then ignore this warning. But if you will install the control panel later then you MUST reinstall CloudLinux LVE Manager packages with the following command: yum reinstall -y lvemanager lve-utils cagefs alt-python27-cllib You can find complete log in /var/log/cldeploy.log
- Kiểm tra lại phiên bản hiện tại bằng lệnh sau
[root@cyber ~]# cat /etc/redhat-release CloudLinux release 7.7 (Valery Bykovsky)
Cài đặt CageFS
Bạn chọn Install Now để cài đặt CageFS
Sau khi đã cài đặt CageFS hoàn tất bạn đã có thể thiết lập Package rồi nhé!
Bài viết của bạn hữu ích, mình đã cài thành công