Last active
August 13, 2021 05:34
-
-
Save chutzimir/3d87a356ab15760397b0f421210fa453 to your computer and use it in GitHub Desktop.
Installing FreeIPA using containers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PASSWORD=$(read -s -p Password:\ ; echo "$REPLY"; echo >&2) | |
sudo -E podman run --name freeipa -e DEBUG_NO_EXIT=1 -e PASSWORD -ti -h $(hostname -f) --read-only \ | |
-p 80:80 -p 443:443 -p 389:389 -p 636:636 -p 88:88 -p 464:464 -p 88:88/udp -p 464:464/udp \ | |
-v /var/lib/ipa-data:/data:Z docker.io/freeipa/freeipa-server:centos-8 \ | |
ipa-server-install --no-ntp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PASSWORD=$(read -s -p Password:\ ; echo "$REPLY"; echo >&2) | |
sudo -E podman run --name freeipa -e DEBUG_NO_EXIT=1 -e PASSWORD -ti -h $(hostname -f) --read-only \ | |
-p 80:80 -p 443:443 -p 389:389 -p 636:636 -p 88:88 -p 464:464 -p 88:88/udp -p 464:464/udp \ | |
-v /var/lib/ipa-data:/data:Z docker.io/freeipa/freeipa-server:centos-8 \ | |
ipa-replica-install --no-ntp --server ${master_hostname} --domain ${hostname -f | cut -d. -f2-) --principal admin | |
sudo podman exec -ti freeipa ipa-ca-install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment