fruworg.github.io/content/posts/astra-freeipa.md
root c793b55750 Revert "remove shell"
This reverts commit 65914f8895.
2023-09-24 18:58:33 +03:00

51 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Установка и конфигурация FreeIPA на Astra Linux
description: Сервер и клиент
date: 2023-03-25T01:08:00+05:00
tags: [linux, astra, krb5, freeipa]
---
## Общая настройка
### Создания сетевой видимости
```shell
<server-ip> <server-name>.<domain> <server-name>
<client-ip> <client-name>.<domain> <client-name>
# /etc/hosts
```
## Настройка cервера
### Смена хостнейма
```shell
hostnamectl set-hostname <server-name>.<domain>
```
### Установка пакета
```shell
apt install fly-admin-freeipa-server -y
```
### Развёртывание
```shell
astra-freeipa-server -d <domain> -n <server-name> -px -ip <server-ip> -o --dogtag -y
```
## Настройка клиента
### Смена хостнейма
```shell
hostnamectl set-hostname <client-name>.<domain>
```
### Установка пакета
```shell
apt install fly-admin-freeipa-client -y -px "--force"
```
### Конфигурация клиента
``` shell
astra-freeipa-client -d <domain>
```