- Установка Clear Linux
- Подготовка к установке
- Шаг 1. Загрузка образа
- Шаг 2. Запись образа
- Шаг 3. Настройка BIOS
- Установка Clear Linux
- Шаг 4. Запуск Live системы
- Шаг 5. Запуск установщика
- Шаг 6. Выбор языка
- Шаг 7. Меню установки
- Шаг 7. Часовой пояс
- Шаг 8. Раскладка клавиатуры
- Шаг 9. Разметка диска
- Шаг 10. Таблица разделов
- Шаг 11. Создание разделов
- Шаг 12. Создание пользователя
- Шаг 13. Отправка данных
- Шаг 14. Выбор имени хоста
- Шаг 15. Программное обеспечение
- Шаг 16. Запуск установки
- Шаг 17. Перезагрузка
- Шаг 18. Вход в систему
- Шаг 19. Готово
- Выводы
- swupdВ¶
- DescriptionВ¶
- VersioningВ¶
- UpdatingВ¶
- How it worksВ¶
- PrerequisitesВ¶
- UpdatesВ¶
- ManifestsВ¶
- Fullfiles, packs, and delta packsВ¶
- Bundle searchВ¶
- ExamplesВ¶
- Example 1: Disable and enable automatic updatesВ¶
- Installation of ClearOS 7 Community Edition
- Download ClearOS 7 ISO Image
- Installation Of ClearOS 7.4
- If You Appreciate What We Do Here On TecMint, You Should Consider:
Установка Clear Linux
Дистрибутив Clear Linux разработан компанией Intel, он максимально оптимизирован для работы на процессорах этой компании. Во время сборки дистрибутива использовались флаги компиляции, патчи и другие методы, позволяющие увеличить производительность работы дистрибутива на оборудовании Intel.
У дистрибутива есть версия для сервера, контейнеров, а также для обычного рабочего компьютера с окружением Gnome. В сегодняшней статье мы рассмотрим как установить Clear Linux на домашний компьютер или ноутбук.
Подготовка к установке
Шаг 1. Загрузка образа
Первым делом надо скачать установочный образ дистрибутива с официального сайта. Я буду загружать образ для рабочих станций под названием Desktop:
Шаг 2. Запись образа
После загрузки образа надо записать его на диск. Для этого существует несколько утилит. В Windows самая популярная Rufus. В Linux — это Etcher или Unetbootin. Подробнее про запись образа на флешку читайте здесь.
Шаг 3. Настройка BIOS
Дальше необходимо перезапустить компьютер и открыть интерфейс настройки BIOS. Тут надо найти раздел настроек Boot и установить свою флешку на первое место. Я не буду подробно рассказывать как это сделать.
Установка Clear Linux
Шаг 4. Запуск Live системы
В первом окне установщика вы можете проверить установочный образ на ошибки или сразу же запустить Live систему. Для запуска Live системы кликните по надписи Clear Linux OS:
После загрузки вы можете посмотреть как выглядит система и что в ней можно сделать.
Шаг 5. Запуск установщика
Для запуска установщика откройте главное меню и кликните по пункту Install Clear Linux OS:
Шаг 6. Выбор языка
Поскольку это оптимизированный для производительности дистрибутив, доступных языков здесь немного и русского в списке нет. Я оставляю английский:
После выбора нажмите Next.
Шаг 7. Меню установки
После выбора языка перед вами откроется меню установки системы:
Здесь надо настроить каждый пункт.
Шаг 7. Часовой пояс
Для выбора часового пояса кликните по Select Time Zone, затем выберите нужный часовой пояс, например, Europe/Kiev:
Шаг 8. Раскладка клавиатуры
Кликните по пункту Select Keyboard и выберите раскладку клавиатуры. Рекомендую оставить раскладку us:
Шаг 9. Разметка диска
Для выбора разделов диска, на которые следует установить систему кликните по пункту Select Installation Media. Тут вы можете выбрать весь диск под установку или вручную разметить разделы:
Для установки рядом с существующей системой выберите Safe Installation, для того чтобы стереть весь диск и установить Clear Linux выберите Destructive Installation. После этого нажмите Confirm. Но в этой статье мы рассмотрим ещё как разбить разделы вручную. Здесь используется не очень обычный и интересный способ. Выберите Advanced Installation и нажмите кнопку Partition meda. После этого установщик свернется и откроется Gparted.
Шаг 10. Таблица разделов
Если диск пустой, вам надо создать на нём таблицу разделов. Для установки Clear Linux понадобится таблица разделов GPT иначе вы даже не сможете назначить какие разделы куда использовать. Кликните по пункту Device и выберите Create Partition Table:
Затем из списка выберите таблицу разделов GPT.
Шаг 11. Создание разделов
Нам надо будет создать как минимум два раздела. Это корневой раздел для установки системы и хранения на нём всех файлов, а также небольшой раздел для установки загрузчика Grub. Для создания корневого раздела кликните по надписи Free space правой кнопкой мыши и выберите Create. В окне создания раздела важно прописать его назначение в поле Partition Name напишите CLR_ROOT, файловую систему выберите Ext4, и размер не менее 10 гигабайт:
Благодаря имени CLR_ROOT установщик будет знать, что данный раздел надо монтировать как корневую файловую систему /. Ещё можно создать раздел для домашней папки /home — CLR_HOME и раздел для размещения файлов загрузчика /boot — CLR_BOOT. Но их создавать не обязательно.
Надо создать небольшой раздел, размером в несколько мегабайт, для установки самого загрузчика в GPT. Создайте один неформатированный раздел для которого в поле Label пропишите bios_boot:
Затем примените изменения кликнув по кнопке с зеленой галочкой и после этого кликните правой кнопкой по только что созданному разделу, выберите Manage Flags и поставьте галочку напротив bios_grub:
Теперь на этот раздел сможет установиться загрузчик. Затем закрывайте Gparted и сразу же после этого вернется установщик, в котором уже будут настроены разделы:
Шаг 12. Создание пользователя
В главном меню кликните по пункту Manage Users и введите имя, логин и два раза пароль для вашего пользователя:
Шаг 13. Отправка данных
Из основного осталось только настроить надо ли отправлять данные телеметрии разработчикам. Для этого кликните по Telemetry в главном меню и выберите Yes (Да) или No (Нет):
Шаг 14. Выбор имени хоста
В главном меню перейдите на вкладку Advanced Options и там выберите Assign Hostname:
Затем введите желаемое имя компьютера.
Шаг 15. Программное обеспечение
На той же вкладке Advanced Options из главного меню выберите Additional Bundles. Затем отметьте галочками дополнительное программное обеспечение, которое вы хотите установить:
Шаг 16. Запуск установки
Когда всё будет готово нажмите кнопку Install внизу окна, затем подтвердите, что всё сделано верно и систему надо установить:
Останется только дождаться завершения установки:
Шаг 17. Перезагрузка
После завершения установки презагрузите компьютер. Для этого кликните по кнопке выполючения, выберите Power Off/Log Out, а затем Restart:
Шаг 18. Вход в систему
После перезагрузки выберите ранее созданного пользователя:
Затем введите его пароль:
Шаг 19. Готово
После входа вы окажетесь в готовой к использованию системе:
Выводы
Вот и всё, теперь вы знаете как установить Clear Linux OS на свой компьютер. Как видите, это обычный дистрибутив. Основная его особенность в том, что он оптимизирован для процессоров Intel и будет показывать на них лучшую производительность по сравнению с другими дистрибутивами.
Источник
swupdВ¶
swupd links a Clear Linux* OS installation with upstream updates and software.
DescriptionВ¶
swupd has two main functions:
Manage software and replace APT or YUM, by installing bundles rather than packages.
Check for system updates and install them.
swupd manages overlapping dependencies behind the scenes, ensuring that all software is compatible across the system. It can be used to verify the OS, clean cached files, and fix issues.
Bundles contain everything needed to deliver a software capability. They are the smallest granularity component that is managed by Clear Linux OS. A bundle comes with all of its dependencies rather than downloading a cascade of package dependencies when installing a piece of software.
VersioningВ¶
Using package managers to monitor software version compatibility or compare multiple systems on many Linux distributions can be cumbersome.
With Clear Linux OS swupd, versioning happens at the individual file level. This means Clear Linux OS generates an entirely new OS version with any set of software changes to the system, including software downgrades or removals. This rolling release versioning model is similar to git internal version tracking, where any of the individual file commits are tracked and move the pointer forward when changed.
A number that represents the current release of the OS describes the versions of all the software on the OS. Each build is composed of a specific set of bundles made from a particular version of packages. On a daily basis, this matters to system administrators who need to determine which of their systems do not have the latest security fixes, or which combinations of software have been tested. Every release of the same number is guaranteed to contain the same versions of software, so there’s no ambiguity between two systems running the same version of Clear Linux OS.
UpdatingВ¶
Clear Linux OS enforces regular updating of the OS by default and automatically checks for updates against a version server. The content server provides the file and metadata content for all versions and can be the same as the version server. The content url server provides metadata in the form of manifests, which list and describe file contents, symlinks, and directories. Additionally, the actual content is provided to clients in the form of archive files.
Software updates with Clear Linux OS are also efficient. Unlike package-based distributions, swupd only updates files that have changed, rather than entire packages. For example, it is quite common for an OS security patch to be as small as 15 KB. Using binary deltas, Clear Linux OS is able to apply only what is needed.
For details on how to generate update content for Clear Linux OS, see the mixer tool.
How it worksВ¶
PrerequisitesВ¶
The device is on a well-connected network.
The device is able to connect to an update server. The default server is: https://cdn.download.clearlinux.org/update/
UpdatesВ¶
Clear Linux OS updates are automatic by default, but can be set to occur only on demand. swupd makes sure that regular updates are simple and secure. It can also check the validity of currently installed files and software, and can correct any problems.
ManifestsВ¶
The Clear Linux OS software update content consists of data and metadata. The data is the files that end up in the OS. The metadata contains relevant information to properly provision the data to the OS file system, as well as update the system and add or remove additional content to the OS.
The manifests are mostly long lists of hashes that describe content. Each bundle gets its own manifest file. There is a master manifest file that describes all manifests to tie it all together.
Fullfiles, packs, and delta packsВ¶
To speed up updates and optimize content delivery, update data provisioned to a system is obtained by one of the following methods:
Fullfiles are always generated for every file in every release. This allows any Clear Linux OS to obtain the exact copy of the content for each version directly. This is used if the OS verification needs to replace a single file, for instance.
Packs are available for some releases. They combine many files to speed up the creation of installation media and large updates.
Delta packs are an optimized version of packs that only contain updates (binary diffs). They cannot be used without having the original file content.
Bundle searchВ¶
swupd searches download manifest data for bundles that match the term. Enter only one term, or hyphenated term, per search. Use the command man swupd to learn more.
Only the base bundle is returned. Bundles can contain other bundles via includes. For more details, see Bundle Definition Files and its subdirectory bundles.
Bundles that are already installed are marked (installed) in search results.
Optionally, you can review our bundles on GitHub*.
ExamplesВ¶
Example 1: Disable and enable automatic updatesВ¶
Clear Linux OS updates are automatic by default, but can be set to occur only on demand.
Источник
Installation of ClearOS 7 Community Edition
ClearOS is a simple, open source and affordable Linux operating system based on CentOS and Red Hat Enterprise Linux. It designed for use in small and medium enterprises as a server or network gateway. It comes with an intuitive graphical web-based user interface and an application marketplace with over 100 applications to choose from, with more being added each day.
ClearOS is available in three major editions: Business, Home and Community Edition. In this article, we will explain how to install ClearOS Community Edition on your machine.
Download ClearOS 7 ISO Image
Download ClearOS 7 Community Edition 64-bit DVD ISO for your operating system using following link.
Installation Of ClearOS 7.4
1. Once you have downloaded the last version of ClearOS using above download link, burn it to a DVD or create a bootable USB stick using LiveUSB Creator called Unetbootin or Etcher (Modern USB Image Writer) tool.
2. After you have created the installer bootable media, place your DVD/USB into your system appropriate drive. Then power on the computer, select your bootable device and the ClearOS 7 prompt should appear as in the following screenshot.
Select Install CentOS 7 and press [Enter] key.
ClearOS Boot Screen
3. The system will begin loading the media installer and a welcome screen should appear as in the following screenshot. Choose the Installation Process Language, which will help you through the entire installation process procedure and click on Continue.
ClearOS Installation Language
4. Next, you will see the Installation Summary screen. It has a lot of options to fully customize your system before the actual installation of system files on the disk.
Start by configuring your system time settings. Click on Date & Time and select your server physical location from the provided map and click Done button on the upper left corner to apply the settings.
ClearOS Installation Summary
ClearOS Installation Summary
ClearOS Location Setup
5. Next, click on Keyboard to set your Keyboard Layout and click on the + button and test your keyboard configuration using the right input filed.
Once you are finished setting up your keyboard, click on Done button on the upper left corner to apply changes and which should take you back to the Installation Summary screen.
Set ClearOS Keyboard
6. Now click on Language Support, then choose your additional language support to be installed and when you have finished, hit on Done button to continue..
Select ClearOS Language Support
7. Once you are done customizing your system. Under Installation Sources, since you are only using a local DVD or USB media, leave the default Auto-detected installation media option and hit on Done to continue.
Select ClearOS Installation Source
8. In this step, from the Installation Summary screen click on Software Selection. CelearOS offers a Minimal Install option only as you can see from the following screen shot. You can add more software later on once the system is fully installed and running. So click on Done to continue.
ClearOS Minimal Installation
9. Next, you need to setup the installation destination, meaning you should partition your hard-drive. Click on Installation Destination option, select your disk and choose I will configure partitioning and click on Done to continue.
Select ClearOS Installation Destination
10. Now choose LVM (Logical Volume Manager) as partition layout and then hit on Click here to create them automatically option, which will create three system partition using XFS filesystem.
You can make changes to the automatically generated values, you can add, modify or resize your partition scheme, change the filesystem type label etc.
The following partitions will be created on the hard-disk and combined into one big Volume Group named clearos.
ClearOS Manual Partitioning
ClearOS Partitions
11. Once you have made any desirable changes, you can click on the Done button and Accept Changes on the Summary of Changes prompt.
ClearOS Disk Write Changes
Attention: If you have a hard-disk of more than 2TB capacity, the installer automatically will convert partition table to GPT. However, if you wish to use GPT table on smaller disks than 2TB, then you should use the argument inst.gpt to the installer boot command line in order to change the default behavior.
12. Now you need to enable networking and set your system hostname. Click on Network & Hostname option and you will be taken to the screen shown below.
Enter your system FQDN (Fully Qualified Domain Name) on Hostname filed, then enable your Network interface, switching the top Ethernet button to ON.
ClearOS Network and Hostname
13. Once the Ethernet network interface button turned ON, if you have a functional DHCP server on you network then it will automatically configure all your network setting for enabled NIC, which should appear under your active interface.
However, if you are setting up a server then it’s recommended to configure a static network configuration on Ethernet NIC by clicking on Configure button.
Then add all your static interface settings as shown in the following screenshot. When you have finished, click on Save button, disable and enable Ethernet card by switching the button to OFF and ON, and, then click on Done to apply settings and go back to the Installation Summary window.
ClearOS Configure Static Network
14. At this point, you can now to start installation process by pressing on Begin Installation button and set up a strong password for root account.
ClearOS Begin Installation
15. Click on Root Password and set a strong password for the root account as shown in the screenshot that follows.
ClearOS Root Password
Set ClearOS Root Password
16. When the installation process is complete, the installer will show a successfully message on screen, asking for a reboot of the system in order to use it. Remove your installation media and reboot your computer so you can login to your new minimal ClearOS 7 environment.
ClearOS Installation Finished
ClearOS Grub Menu
17. Next, the system will begin loading services as well as the ClearOS API, then an Administrator Login interface will appear as shown in the following screenshot.
You can choose to login or access the web-based interface on port 81 using the IP address you set for the Ethernet interface in step 13 above.
ClearOS Admin Login
If you fail to login after some number of seconds, the Network Console shown below will appear. You can go back to the text based administrator login interface by clicking on Exit Console.
ClearOS Network Console
Important: ClearOS is configured via a web-based admin tool called Webconfig. Once you login into web-based administration tool from a remote web browser, you can get started with the First Boot Wizard.
That’s It! Hoping that everything went on well, now you have the latest ClearOS release installed on your computer. You can ask any questions via the feedback form below.
If You Appreciate What We Do Here On TecMint, You Should Consider:
TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.
If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.
We are thankful for your never ending support.
Источник