Create rhel-setup.md

This commit is contained in:
ruslan 2025-02-27 23:14:00 +01:00 committed by GitHub
parent a2ad64266a
commit 8cbbeedd2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,27 @@
---
title: Активация и автоматические обновления в RHEL 9
description: Небольшая памятка
date: 2025-02-27T23:10:00+01:00
tags: [linux, rhel]
---
## Активация
```shell
subscription-manager register --auto-attach
insights-client --register
```
## Автоматическая установка обновлений
```shell
yum -y install dnf-automatic
systemctl enable --now dnf-automatic-install.timer
```
## Установка расширенного репозитория
```shell
subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
```