From 8cbbeedd2bd1bc422d79d420f4d03b23e30bd4e0 Mon Sep 17 00:00:00 2001 From: ruslan Date: Thu, 27 Feb 2025 23:14:00 +0100 Subject: [PATCH] Create rhel-setup.md --- content/posts/rhel-setup.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 content/posts/rhel-setup.md diff --git a/content/posts/rhel-setup.md b/content/posts/rhel-setup.md new file mode 100644 index 0000000..e95051b --- /dev/null +++ b/content/posts/rhel-setup.md @@ -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 +```