service:freeipa
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
service:freeipa [22.08.2024 08:12] – [Установка] viacheslav | service:freeipa [22.08.2024 14:33] (текущий) – удалено viacheslav | ||
---|---|---|---|
Строка 1: | Строка 1: | ||
- | ====== FreeIPA ====== | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | |||
- | ===== Установка ===== | ||
- | Docker run | ||
- | <code bash> | ||
- | docker run --name freeipa-server -ti \ | ||
- | -h ipa.workgroup.test --read-only \ | ||
- | --cgroupns=host -v / | ||
- | --sysctl net.ipv6.conf.all.disable_ipv6=0 \ | ||
- | -v ~/ | ||
- | </ | ||
- | Docker compose (cgroups2, без DNS) | ||
- | <code yaml> | ||
- | --- | ||
- | services: | ||
- | freeipa: | ||
- | image: freeipa/ | ||
- | container_name: | ||
- | restart: unless-stopped | ||
- | ports: | ||
- | - 123:123/udp | ||
- | - 389:389 | ||
- | - 443:443 | ||
- | - 464:464 | ||
- | - 464:464/udp | ||
- | - 636:636 | ||
- | - 80:80 | ||
- | - 88:88 | ||
- | - 88:88/udp | ||
- | tty: true | ||
- | stdin_open: true | ||
- | cgroup: host | ||
- | environment: | ||
- | IPA_SERVER_HOSTNAME: | ||
- | IPA_SERVER_INSTALL_OPTS: | ||
- | PASSWORD: " | ||
- | TZ: " | ||
- | volumes: | ||
- | - / | ||
- | - / | ||
- | - ~/ | ||
- | sysctls: | ||
- | - net.ipv6.conf.all.disable_ipv6=0 | ||
- | </ | ||
- | |||
- | Останов и чистка данных в случае неудачной установки | ||
- | <code bash> | ||
- | docker rm -f freeipa-server | ||
- | sudo rm -rf ~/ | ||
- | </ | ||
- | |||
- | Результат установки | ||
- | < | ||
- | he IPA Master Server will be configured with: | ||
- | Hostname: | ||
- | IP address(es): | ||
- | Domain name: workgroup.test | ||
- | Realm name: | ||
- | |||
- | The CA will be configured with: | ||
- | Subject DN: | ||
- | Subject base: O=WORKGROUP.TEST | ||
- | Chaining: | ||
- | |||
- | 1. You must make sure these network ports are open: | ||
- | TCP Ports: | ||
- | * 80, 443: HTTP/HTTPS | ||
- | * 389, 636: LDAP/LDAPS | ||
- | * 88, 464: kerberos | ||
- | UDP Ports: | ||
- | * 88, 464: kerberos | ||
- | * 123: ntp | ||
- | |||
- | 2. You can now obtain a kerberos ticket using the command: 'kinit admin' | ||
- | This ticket will allow you to use the IPA tools (e.g., ipa user-add) | ||
- | and the web user interface. | ||
- | 3. Kerberos requires time synchronization between clients | ||
- | and servers for correct operation. You should consider enabling chronyd. | ||
- | |||
- | Be sure to back up the CA certificates stored in / | ||
- | These files are required to create replicas. The password for these | ||
- | files is the Directory Manager password | ||
- | The ipa-server-install command was successful | ||
- | </ | ||
- | |||
- | |||
- | |||
- | ===== Ошибки ===== | ||
- | ==== Configuring certificate server (pki-tomcatd) ==== | ||
- | При первоначальной установке | ||
- | < | ||
- | Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes | ||
- | [1/30]: configuring certificate server instance | ||
- | Failed to configure CA instance | ||
- | See the installation logs and the following files/ | ||
- | / | ||
- | [error] RuntimeError: | ||
- | CA configuration failed. | ||
- | </ | ||
- | Надо прописывать правильный hostname в команде запуска. | ||
- | |||
service/freeipa.1724314321.txt.gz · Последнее изменение: 22.08.2024 08:12 — viacheslav