fruworg.github.io/content/posts/astra-freeipa.md
2023-10-08 23:18:25 +03:00

50 lines
1.2 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]
---
## Общая настройка
### Создания сетевой видимости
На клиенте и DC необходимо в файл `/etc/hosts` добавить оба ip и fqdn:
```config
<server-ip> <server-name>.<domain> <server-name>
<client-ip> <client-name>.<domain> <client-name>
```
## Настройка 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>
```