mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2025-02-28 12:46:18 +03:00
Create rhel-setup.md
This commit is contained in:
parent
a2ad64266a
commit
8cbbeedd2b
27
content/posts/rhel-setup.md
Normal file
27
content/posts/rhel-setup.md
Normal 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
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user