Cloud linux software inc

Powers 20 million websites!

The super-platform for stability & efficiency in shared hosting

*No credit card required

CloudLinux OS Shared is the leading platform for multitenancy. It improves server stability, density, and security by isolating each tenant and giving them allocated server resources. This creates an environment that feels more like a virtual server than a shared hosting account. By doing so, CloudLinux OS reduces operating costs and churn rates and increases profitability.

Easy to get started with just two commands. Follow our video guide to install it on your server!

Resources overload and downtime

Shield your servers from performance spikes and prevent slowdowns and downtimes by limiting and partitioning resources per user, thus reducing resource spikes and support costs.

LVE manager gives you full control over CPU, IO, memory, number of processes, and concurrent connections per user. Limit abusers, provide good customers with what they need and upsell at any time.

MySQL is one of the main causes of issues on a shared server. MySQL Governor monitors MySQL usage, and throttles abusers, preventing them from overloading the server and improving overall stability and performance.

Источник

CloudLinux — разделяй и властвуй

Одной из наиболее распространенных хостинговых услуг является так называемый виртуальный хостинг (англ. shared hosting), при котором множество веб-сайтов располагаются на одном сервере. Обычно каждый сайт занимает отдельную папку на сервере, но при этом для управления всем множеством сайтов используется единое ПО (веб-сервер, сервер баз данных и т.п.).

Shared hosting сопряжен с некоторыми техническими проблемами. Довольно часто имеет место ситуация, когда увеличение потребления ресурсов одним пользователем становится причиной замедления работы или даже недоступности всего сервера. Описанную проблему иногда называют «проблемой плохого соседа».

Одним из оптимальных решений описанной выше задачи является использование операционной системы CloudLinux, разработанной специально для хостинг-компаний. Клиенты, арендующие выделенные серверы, могут приобретать лицензии CloudLinux непосредственно у нас, не обращаясь к услугам сторонних компаний.

В чем заключаются преимущества использования CloudLinux?

Как уже было отмечено выше, при размещении множества сайтов на одном веб-сервере часто приходится сталкиваться с ситуацией, когда увеличение нагрузки на один сайт (например, при использовании плохо написанных приложений или в результате злонамеренных действий соседей) существенно замедляет или даже блокирует работу других. CloudLinux решает эту проблему путем изоляции всех пользователей друг от друга и ограничения потребления системных ресурсов. CloudLinux позволяет повысить уровень стабильности и безопасности, увеличить плотность размещения пользователей на серверах и снизить расходы на техническое обслуживание.

Читайте также:  Acrobat reader install windows

Какие технологии лежат в основе CloudLinux?

Разграничение ресурсов между пользователями осуществляется с помощью технологии LVE (Lightweight Virtual Environment). Она обеспечивает полную изоляцию процессов (приложений) каждого пользователя от других. Кроме того, для каждого пользователя можно установить следующие ограничения:

  • на потребление мощности процессора;
  • на ограничение числа используемых процессорных ядер;
  • на использование физической памяти;
  • на использование виртуальной памяти;
  • на скорость дискового ввода-вывода;
  • на количество одновременно выполняемых процессов;
  • на создание новых процессов.

Помимо LVE CloudLinux включает в себя и другие инструменты для контроля над пользовтелями и ресурсами сервера.
Инструмент MySQL Governor позволяет контролировать и ограничивать использование общего для всех пользоветелей MySQL сервера баз данных. С его помощью можно создать своего рода «облачный MySQL», который несколько пользователей могут использовать одновременно, не мешая друг другу.

Инструмент CageFS (слово cage значит «клетка») создает для каждого пользователя свою собственную, изолированную от других пользователей и корневой ФС, виртуальную файловую систему. Это позволяет ограничить доступ процессов одного пользователя к данным других пользователей и самого сервера.

Если вы являетесь клиентом хостинг-провайдера, вы можете проверить, использует ли он CloudLinux, выполнив команду uname -a. На экран будут выведены название и версия ядра. Если в этом названии присутствуют буквы «lve», то ваш провайдер с большой долей вероятности использует CloudLinux.

Способы работы с CloudLinux

Изначально CloudLinux управляется с помощью интерфейса командной строки. Если вы предпочитаете использовать графический интерфейс (GUI), то систему можно интегрировать с такими панелями управления хостингом, как cPanel, Parallels Plesk, DirectAdmin, ISPManager, Webmin, Interworx. Никакой дополнительной настройки при этом не требуется.

Посмотреть, как выглядит интеграция с панелью управления на примере Plesk Panel, можно на скриншотах приведенных в спойлере.


После установки CloudLinux в списке плагинов Plesk появятся два плагина LVE Manager и CageFS.


Настройки CageFS: возможно включение и выключение плагина как для всех пользователей сразу, так и для каждого в отдельности.


Настройки ограничений клиентов в LVE Manager. Ограничения пользователя могут наследоваться от его сервис-плана или могут быть настроены индивидуально для каждого пользователя.


Текущая нагрузка по клиентам в LVE Manager.


Вкладка Packages (сервис-планы с терминологии Plesk) — пример интеграции тарифных планов в панели управления с ограничениями в LVE Manager.


Управление ограничениями для сервис-плана. Эти ограничения применятся для всех пользователей с таким сервис-планом.

Сколько стоит CloudLinux?

Селектел является официальным партнером CloudLinux, аренда лицензии доступна для выделенных серверов и серверов произвольной конфигурации по цене 400 руб/мес.

Услуга аренды лицензии CloudLinux отлично дополняет уже существующие наши услуги для организации хостинга: аренда выделенных серверов и аренда лицензий Parallels.

Вы можете установить CloudLinux как с помощью специалистов нашей службы техподдержки, так и самостоятельно. Техническая поддержка осуществляется непосредственно специалистами CloudLinux (в том числе и на русском языке) и уже включена в стоимость лицензии.

Для тех кто не может комментировать посты на Хабре, но хотел бы узнать больше о CloudLinux, приглашаем к нам в блог.

Источник

# Installation

# Hardware compatibility

CloudLinux OS Shared supports all the hardware supported by RHEL/CentOS, with few exceptions. Exceptions are usually hardware that require binary drivers, and that doesn’t have any open source alternatives.

Читайте также:  Не удаляется onedrive windows 10

CloudLinux OS Shared does not support ARM-based CPUs (e.g. Graviton)

There are some incompatible devices with CL 6:

Device Binary Driver Source
B110i Smart Array RAID controller hpahcisr https://h10032.www1.hp.com/ctg/Manual/c01754456
B120i/B320i Smart Array SATA RAID Controller hpvsa https://www8.hp.com/h20195/v2/GetPDF.aspx/c04168333.pdf
SanDisk DAS Cache https://www.dell.com/en-us/work/learn/server-technology-components-caching

# Converting existing servers

It is easy to convert your existing CentOS or AlmaLinux server to CloudLinux OS Shared. The process takes a few minutes and replaces just a handful of RPMs.

Supported OS for conversion

  • CentOS 7
  • CentOS 8
  • AlmaLinux OS 8
  • CentOS Stream versions aren’t supported

Download the conversion script: cldeploy

If you have an activation key, run the following commands:

  • If you have an IP-based license, run the following commands:
  • Reboot by running the following command:

Once you reboot, you are running CloudLinux OS Shared kernel with LVE enabled.

  • For CloudLinux OS Shared 6 — (RHEL) 2.6 kernel
  • For CloudLinux OS Shared 6 hybrid — (RHEL) 3.10 kernel
  • For CloudLinux OS Shared 7 — (RHEL) 3.10 kernel
  • For CloudLinux OS Shared 7 hybrid — (RHEL) 4.18 kernel
  • For CloudLinux OS Shared 8 — CloudLinux OS Shared 8 follows the upstream (RHEL) 4.18 kernel mainline. All CloudLinux-specific features are added as a separate module (lve-kmod).

The script automatically detects and supports the following control panels:

It will install CloudLinux OS Shared kernel, Apache module, PAM module, command line tools as well as LVE Manager.

* For InterWorx cldeploy script installs mod_hostinglimits, lve-utils, lve-stats packages. Find more about LVE Manager installation here

CloudLinux OS Shared 8 supports cPanel 11.94 and newer, Plesk Obsidian 18.0.33.0 and newer and DirectAdmin out of the box.

ISPmanager 5 has native support for CloudLinux OS Shared. To deploy CloudLinux OS Shared on a server with ISPmanager 5, you would need to purchase CloudLinux OS Shared license directly from ISPSystems and follow ISPmanager’s deployment guide.

Starting from version 1.61, at the end of conversion from CentOS 7.x to CloudLinux OS Shared 7, the cldeploy script converts CloudLinux OS Shared 7 to CloudLinux OS Shared 7 Hybrid.

Automatic hybridization will be performed for the AMD processors with the following CPU families:

  • Zen / Zen+ / Zen 2 / Zen 3
  • Hygon Dhyana

Automatic hybridization may be skipped by passing extra option ‘—no-force-hybridize’.

We normally recommend to install lvemanager , lve-utils , lve-stats , and cagefs packages after installing a control panel.
But when you deploy CloudLinux OS Shared from the ISO image, these packages will be preinstalled. You can reinstall them after installing the control panel.

# CLDeploy Explained

By its design, CloudLinux OS Shared is very close to the upstream operating system, CentOS. This makes the conversion process relatively straightforward, requiring just one reboot. Here’s what the cldeploy script does when you run it:

# CLDeploy Explained — reverting back to CentOS:

Here’s what the cldeploy script does, if one runs it to revert the system back to CentOS:

  • Restores CentOS repositories, and centos-release/release-notes/logos.
  • Removes lve, mod_hostinglimits, lve-stats, lvemanager.
  • mod_hostinglimits RPM is removed.

Note that cldeploy doesn’t remove the kernel to prevent condition when server has no kernels and wouldn’t boot. Instead, we provide the instructions on how you could remove it manually later, when it is safe to do so.

On cPanel servers, rebuild of Apache with EasyApache will complete the conversion back, but doesn’t have to be performed immediately. *

On DirectAdmin servers, rebuild of Apache with custombuild will complete the conversion back, but doesn’t have to be performed immediately.

# Common issues and troubleshooting during conversion

If you receive any troubles during the conversion process, most likely it is because of some licensing CLN (CloudLinux Network)-related issues. Check our troubleshooting guides here to resolve them: https://cloudlinux.zendesk.com/hc/en-us/sections/360004626919

# Activation

# Getting trial license

You will need a trial activation key to be able to convert your CentOS server to CloudLinux OS Shared. The trial license subscription will work for 30 days.

If you have any issues getting activation key or if you have any questions regarding using your trial subscription – contact sales@cloudlinux.com and we will help.

To get the activation key:

(skip it if you already registered)

  • You will receive an email with activation link
  • Login at https://cln.cloudlinux.com/console/auth/login

  • Click on Get Trial Activation Key
  • You will get a key that looks like: 12314-d34463a182fede4f4d7e140f1841bcf2

    Use it to register your system or to convert CentOS server to CloudLinux OS Shared server.

    # License activation

    To register your CloudLinux OS Shared 6/7 server with CloudLinux Network using activation key, run the following command:

    To register your CloudLinux OS Shared 8 server with CloudLinux Network using activation key, run the following command:

    If you have IP based license, use clnreg_ks command:

    # Installing new servers

    You can download the latest CloudLinux OS Shared ISO and use it to install CloudLinux OS Shared on your server:

    Latest stable CloudLinux OS Shared 8 ISO:

    — network/DVD installation ISOs

    Latest stable CloudLinux OS Shared 7 ISO:

    Latest stable CloudLinux OS Shared 6 ISO:

    Once you install server from the ISO, make sure you register your system and then run yum update .

    We recommend to reinstall lvemanager , lve-utils , lve-stats , and cagefs packages after installing a control panel.

    Mount and boot the image, then follow the steps.

    Configure a network connection as shown below.

    • the network name depends on your operating system
    • you can specify your hostname

    Configure installation sources:

    • select the On the network installation source and enter the following repository URL: https://repo.cloudlinux.com/cloudlinux/6/os/x86_64/Packages/ for CloudLinux OS Shared 6 https://repo.cloudlinux.com/cloudlinux/7/os/x86_64/Packages/ for CloudLinux OS Shared 7 https://repo.cloudlinux.com/cloudlinux/8/BaseOS/x86_64/os for CloudLinux OS Shared 8.
    • also, in case you’d like to get the latest packages from the Update repository, add the additional Update repository URL: https://repo.cloudlinux.com/cloudlinux/6/updates/x86_64/Packages/ for CloudLinux OS Shared 6 https://repo.cloudlinux.com/cloudlinux/7/updates/x86_64/Packages/ for CloudLinux OS Shared 7 and https://repo.cloudlinux.com/cloudlinux/8/AppStream/x86_64/os/ for CloudLinux OS Shared 8.

    Select software: select the Minimal install environment.

    Источник

    Читайте также:  Windows mobile based device management что это такое
    Оцените статью