パッケージについての質問は、そのまま進めたので、
GNOME (GUI) 環境がインストールされました
CUI 環境で進める事も考えたが、OpenDS がベースになっている事を考えると
GNOME (GUI) 環境がインストールされたほうが良い...カモ
そののち、root で、以下を実行
# yum install openjdk # yum install ipa-server
しばらく待っていれば、インストールは完了する
設定、起動の前に、
/etc/hosts の記述に注意してください
(127.0.0.1 の行に、自ホスト名を書かない)
--- /etc/hosts --- 127.0.0.1 localhost 192.168.1.201 freeipa-test.foo.jp freeipa-test ------------------
設定する
# ipa-server-install The log file for this installation can be found in /var/log/ipaserver-install.log ============================================================================== This program will setup the FreeIPA Server. This includes: * Configure the Network Time Daemon (ntpd) * Create and configure an instance of Directory Server * Create and configure a Kerberos Key Distribution Center (KDC) * Configure Apache (httpd) * Configure TurboGears To accept the default shown in brackets, press the Enter key. Enter the fully qualified domain name of the computer on which you're setting up server software. Using the form. Example: master.example.com. Server host name [freeipa-test.foo.com]: --- エンター押した --- Warning: Hostname (freeipa-test.foo.com) not found in DNS The domain name has been calculated based on the host name. Please confirm the domain name [foo.com]: --- エンター押した --- The IPA Master Server will be configured with Hostname: freeipa-test.foo.com IP address: 192.168.1.250 Domain name: foo.com The server must run as a specific user in a specific group. It is strongly recommended that this user should have no privileges on the computer (i.e. a non-root user). The setup procedure will give this user/group some permissions in specific paths/files to perform server-specific operations. The kerberos protocol requires a Realm name to be defined. This is typically the domain name converted to uppercase. Please provide a realm name [FOO.COM]: --- エンター押した --- Certain directory server operations require an administrative user. This user is referred to as the Directory Manager and has full access to the Directory for system management tasks and will be added to the instance of directory server created for IPA. The password must be at least 8 characters long. Directory Manager password: --- パスワード入れた --- Password (confirm): --- パスワード入れた --- The IPA server requires an administrative user, named 'admin'. This user is a regular system account used for IPA server administration. IPA admin password: --- パスワード入れた --- Password (confirm): --- パスワード入れた --- The following operations may take some minutes to complete. Please wait until the prompt is returned. Configuring ntpd [1/4]: stopping ntpd [2/4]: writing configuration [3/4]: configuring ntpd to start on boot [4/4]: starting ntpd done configuring ntpd. Configuring directory server: [1/16]: creating directory server user [2/16]: creating directory server instance [3/16]: adding default schema [4/16]: enabling memberof plugin [5/16]: enabling referential integrity plugin [6/16]: enabling distributed numeric assignment plugin [7/16]: configuring uniqueness plugin [8/16]: creating indices root : CRITICAL Failed to load indices.ldif: Command '/usr/bin/ldapmodify -h 127.0.0.1 -xv -D cn=Directory Manager -y /tmp/tmpdjdxWX -f /usr/share/ipa/indices.ldif' returned non-zero exit status 68 [9/16]: configuring ssl for ds instance [10/16]: configuring certmap.conf [11/16]: restarting directory server [12/16]: adding default layout [13/16]: configuring Posix uid/gid generation as first master [14/16]: adding master entry as first master [15/16]: initializing group membership [16/16]: configuring directory to start on boot done configuring dirsrv. Configuring Kerberos KDC [1/13]: setting KDC account password [2/13]: adding sasl mappings to the directory [3/13]: adding kerberos entries to the DS [4/13]: adding default ACIs [5/13]: configuring KDC [6/13]: adding default keytypes [7/13]: creating a keytab for the directory [8/13]: creating a keytab for the machine [9/13]: exporting the kadmin keytab [10/13]: adding the password extension to the directory [11/13]: adding the kerberos master key to the directory [12/13]: starting the KDC [13/13]: configuring KDC to start on boot done configuring krb5kdc. Configuring ipa_kpasswd [1/2]: starting ipa_kpasswd [2/2]: configuring ipa_kpasswd to start on boot done configuring ipa_kpasswd. Configuring the web interface [1/10]: disabling mod_ssl in httpd [2/10]: Setting mod_nss port to 443 [3/10]: Adding URL rewriting rules [4/10]: configuring httpd [5/10]: creating a keytab for httpd [6/10]: Setting up ssl [7/10]: Setting up browser autoconfig [8/10]: configuring SELinux for httpd [9/10]: restarting httpd [10/10]: configuring httpd to start on boot done configuring httpd. Configuring ipa_webgui [1/2]: starting ipa_webgui [2/2]: configuring ipa_webgui to start on boot done configuring ipa_webgui. Sample zone file for bind has been created in /tmp/sample.zone.HoOa2G.db restarting the directory server restarting the KDC ============================================================================== Setup complete Next steps: 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-adduser) and the web user interface. Be sure to back up the CA certificate stored in /etc/dirsrv/slapd-FOO-COM/cacert.p12 The password for this file is in /etc/dirsrv/slapd-FOO-COM/pwdfile.txt [root@freeipa-test ~]#
インストール、起動までの設定が終了ー
ほんとに簡単になりました
スバラシイ !!!
------------------------