fruworg.github.io/content/posts/ald-pro.md
2023-09-25 14:10:32 +03:00

50 lines
1.3 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: Установка и конфигурация ALD Pro
description: Astra Linux Directory Pro
date: 2023-05-08T23:25:00+05:00
tags: [linux, astra, krb5]
---
## Создания сетевой видимости
```shell
<dc-ip> <dc-name>.<domain> <dc-name>
# /etc/hosts
```
## Смена хостнейма
```shell
hostnamectl set-hostname <dc-name>.<domain>
```
## Добавление репозиториев ALD Pro
```shell
deb https://download.astralinux.ru/aldpro/stable/repository-main/ 1.0.0 main
deb https://download.astralinux.ru/aldpro/stable/repository-extended/ generic main
# /etc/apt/sources.list.d/aldpro.list
```
## Выставление приоритета репозиториев
```shell
Package: *
Pin: release n=generic
Pin-Priority: 900
# /etc/apt/preferences.d/aldpro
```
## Установка пакета
```shell
DEBIAN_FRONTEND=noninteractive apt-get install -q -y aldpro-mp
```
## Развёртывание
После того, как команда развёртывания отработает и сервер перезагрузитcя,
сервер ALD Pro будет доступен по адресу: `https://<dc-name>.<domain>`
```shell
/opt/rbta/aldpro/mp/bin/aldpro-server-install.sh \
-d <domain> -n <dc-name> -p <password> --ip <dc-ip>
```