mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2024-11-16 09:27:17 +03:00
51 lines
1.1 KiB
Markdown
51 lines
1.1 KiB
Markdown
|
---
|
|||
|
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>
|
|||
|
```
|