CentOS7安装Freeipa

[root@freeipa ~]# hostnamectl set-hostname freeipa.freeipa.cn
[root@freeipa ~]# vim /etc/hosts
192.168.192.130 freeipa.freeipa.cn
[root@freeipa ~]# yum install ipa-server ipa-server-dns.noarch -y
[root@freeipa ~]# ipa-server-install

The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will set up the IPA Server.

This includes:
  * Configure a stand-alone CA (dogtag) for certificate management
  * 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 the KDC to enable PKINIT

To accept the default shown in brackets, press the Enter key.

Do you want to configure integrated DNS (BIND)? [no]: yes       #是否要配置集成的DNS(绑定)?

Enter the fully qualified domain name of the computer
on which you're setting up server software. Using the form
<hostname>.<domainname>
Example: master.example.com.

Server host name [freeipa.freeipa.cn]: 
#服务器主机名[freeipa.freeipa.cn],这里默认即可

Warning: skipping DNS resolution of host freeipa.freeipa.cn
The domain name has been determined based on the host name.

Please confirm the domain name [freeipa.cn]: 
#请确认域名[freeipa],这里同样默认

The kerberos protocol requires a Realm name to be defined.
This is typically the domain name converted to uppercase.

Please provide a realm name [FREEIPA.CN]:
#请提供领域名称,这里同样默认
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 must be at least 8 characters long
Directory Manager password: 
Password (confirm):
#目录管理器密码,输入密码,最少8位数,如果少了,会有提示

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):
#IPA管理员密码,这个密码是admin登录时使用的密码

Checking DNS domain yyylllnnnnnn.com., please wait ...
Do you want to configure DNS forwarders? [yes]: yes    #是否要配置DNS转发器?
Following DNS servers are configured in /etc/resolv.conf: 192.168.192.2
Do you want to configure these servers as DNS forwarders? [yes]:
All DNS servers from /etc/resolv.conf were added. You can enter additional addresses now                                                                                                      :
Enter an IP address for a DNS forwarder, or press Enter to skip: 114.114.114.114       
#输入DNS转发器的IP地址,或按Enter跳过 。这里可以默认,也可以选择再添加,我这里就选择再添加一条转发器的地址,下面8.8.8.8也是自己添加的
DNS forwarder 114.114.114.114 added. You may add another.
Enter an IP address for a DNS forwarder, or press Enter to skip: 8.8.8.8
DNS forwarder 8.8.8.8 added. You may add another.
Enter an IP address for a DNS forwarder, or press Enter to skip: 
Checking DNS forwarders, please wait ...
DNS server 192.168.192.2: answer to query '. SOA' is missing DNSSEC signatures (no RRSIG data)
Please fix forwarder configuration to enable DNSSEC support.
(For BIND 9 add directive "dnssec-enable yes;" to "options {}")
DNS server 114.114.114.114: answer to query '. SOA' is missing DNSSEC signatures (no RRSIG data)
Please fix forwarder configuration to enable DNSSEC support.
(For BIND 9 add directive "dnssec-enable yes;" to "options {}")
WARNING: DNSSEC validation will be disabled
Do you want to search for missing reverse zones? [yes]: yes                #是否要搜索缺少的反向区域?
Do you want to create reverse zone for IP 192.168.192.130 [yes]: yes       #是否要为IP 192.168.192.130创建反向区域
Please specify the reverse zone name [192.168.192.in-addr.arpa.]:          #请指定反向区域名称[192.168.192.in addr.arpa.]
Using reverse zone(s) 192.168.192.in-addr.arpa.

The IPA Master Server will be configured with:
Hostname:       Freeipa
IP address(es): 192.168.192.130
Domain name:    freeipa.cn
Realm name:     FREEIPA.CN

BIND DNS server will be configured to serve IPA domain with:
Forwarders:       192.168.192.2, 114.114.114.114, 8.8.8.8
Forward policy:   only
Reverse zone(s):  192.168.192.in-addr.arpa.

Continue to configure the system with these values? [no]: yes             #是否继续使用这些值配置系统?

The following operations may take some minutes to complete.
Please wait until the prompt is returned.

Configuring NTP daemon (ntpd)
#然后就让其自动生成刚刚所配置的数据
原文地址:https://www.cnblogs.com/xwupiaomiao/p/12029188.html