Инструменты пользователя

Инструменты сайта


russianway:alse_ipa

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
russianway:alse_ipa [2025/02/14 17:05] – создано rootrussianway:alse_ipa [2025/02/18 16:25] (текущий) root
Строка 1: Строка 1:
 ====== Домен IPA (ALSE17) и ввод машины astralinux ====== ====== Домен IPA (ALSE17) и ввод машины astralinux ======
 +===== XCA =====
 +Настроить XCA и выпустить сертификат KDC
 +<code bash>
 +sudo cp /etc/ipa/{ca.crt,ca.crt.backup} -v
 +sudo cp ROOT_VIRT_CA.crt /etc/ipa/ca.crt -v
 +</code>
 +===== Поднять домен IPA =====
 +<code bash>
 +sudo apt install resolvconf -y
 +sudo tee -a /etc/network/interfaces << EOF
 +auto eth0
 +iface eth0 inet static
 +  address 10.0.2.1/24
 +  gateway 10.0.2.254
 +  dns-nameservers 10.0.2.1
 +  dns-domain virt.int
 +EOF
 +sudo systemctl restart networking
 +</code>
 +<code bash>
 +sudo hostnamectl set-hostname ipa
 +</code>
 +<code bash>
 +#добавить запись в /etc/hosts
 +10.0.2.1 ipa.virt.int ipa
 +</code>
 +<code bash>
 +#sudo apt install fly-admin-freeipa-server
 +sudo apt install astra-freeipa-server
 +</code>
 +<code bash>
 +#sudo astra-freeipa-server -o --ssl -d virt.int && \
 +sudo astra-freeipa-server -l /./ipa.virt.int.p12 -lp 12345678
 +sudo reboot
 +</code>
 +
 +
 +
 +===== Добавление IPA клиента =====
 +<code bash>
 +sudo apt install resolvconf -y
 +sudo tee -a /etc/network/interfaces << EOF
 +auto eth0
 +iface eth0 inet static
 +  address 10.0.2.11/24
 +  gateway 10.0.2.254
 +  dns-nameservers 10.0.2.1
 +  dns-domain virt.int
 +EOF
 +sudo systemctl restart networking
 +</code>
 +<code bash>
 +sudo hostnamectl set-hostname client
 +#добавить запись в /etc/hosts
 +sudo tee -a /etc/hosts '10.0.2.11 client.virt.int client'
 +</code>
 +</code>
 +<code bash>
 +sudo tee /etc/security/limits.d/90-fsize.conf 2&>/dev/null << EOF
 +* hard fsize unlimited
 +* soft fsize unlimited
 +EOF
 +#sudo apt install fly-admin-freeipa-client
 +sudo apt install astra-freeipa-client
 +</code>
 +
 +<code bash>
 +sudo astra-freeipa-client -d virt.int
 +</code>
 +
  
russianway/alse_ipa.1739541954.txt.gz · Последнее изменение: 2025/02/14 17:05 — root