日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
Linux下安裝FreeIPA具體方法

FreeIPA是一款集成的安全信息管理解決方案。FreeIPA包含Linux (Fedora),389 Directory Server MIT Kerberos, NTP, DNS, Dogtag (Certificate System)等等身份,認(rèn)證和策略功能,下面為大家分享一下Linux下安裝FreeIPA具體方法。

創(chuàng)新互聯(lián)公司專注于高淳企業(yè)網(wǎng)站建設(shè),自適應(yīng)網(wǎng)站建設(shè),成都做商城網(wǎng)站。高淳網(wǎng)站建設(shè)公司,為高淳等地區(qū)提供建站服務(wù)。全流程按需設(shè)計(jì),專業(yè)設(shè)計(jì),全程項(xiàng)目跟蹤,創(chuàng)新互聯(lián)公司專業(yè)和態(tài)度為您提供的服務(wù)

環(huán)境準(zhǔn)備

Centos7.7 虛擬機(jī)兩臺

IPA server 版本 4.6.5

地址信息

VM1作為服務(wù)端

VM2作為客戶端

Virtual Machine 1/VM1 Virtual Machine 2/VM2
IP/Netmask 192.168.43.138/24 192.168.43.139/24
Gateway 192.168.43.2 192.168.43.2
DNS 114.114.114.114 114.114.114.114

DNS地址先設(shè)置成公網(wǎng)地址,因?yàn)樾枰獜木W(wǎng)絡(luò)安裝軟件包。安裝完軟件包之后需要VM1和VM2的dns地址改成192.168.43.138,也就是改成VM1的地址。

關(guān)閉防火墻

兩臺虛擬機(jī)都要關(guān)閉防火墻。

# 關(guān)閉firewalld 和 selinux設(shè)置成Permissive模式
[root@localhost ~]# systemctl stop firewalld && systemctl disable firewalld && setenforce 0
# 關(guān)閉selinux
[root@localhost ~]# sed -i '/^SELINUX/s/enforcing/disabled/' /etc/selinux/config

修改主機(jī)名和修改/etc/hosts文件

VM1修改內(nèi)容:

[root@localhost ~]# hostnamectl set-hostname server.linuxprobe.com
[root@localhost ~]# echo '192.168.43.138 server.linuxprobe.com server’ >> /etc/hosts
[root@localhost ~]# echo ‘192.168.43.139 client.linuxprobe.com client' >> /etc/hosts

VM2修改內(nèi)容:

[root@localhost ~]# hostnamectl set-hostname client.linuxprobe.com
[root@localhost ~]# echo '192.168.43.138 server.linuxprobe.com server’ >> /etc/hosts
[root@localhost ~]# echo ‘192.168.43.139 client.linuxprobe.com client' >> /etc/hosts

開機(jī)ntp時(shí)間同步

在VM1和VM2上面設(shè)置ntp服務(wù)器地址為 ntp.aliyun.com

# 注釋掉自帶的服務(wù)器地址
[root@localhost ~]# sed -i 's/^server/#&/' /etc/chrony.conf
# 添加ntp.aliyun.com
[root@localhost ~]# echo 'server ntp.aliyun.com iburst' >> /etc/chrony.conf
# 重啟chronyd服務(wù)
[root@localhost ~]# systemctl restart chronyd
# 查看ntp狀態(tài)
[root@localhost ~]# chronyc sources -v
210 Number of sources = 1

 .-- Source mode  '^' = server, '=' = peer, '#' = local clock.
/ .- Source state '*' = current synced, '+' = combined , '-' = not combined,
| /   '?' = unreachable, 'x' = time may be in error, '~' = time too variable.
||                                                 .- xxxx [ yyyy ] +/- zzzz
||      Reachability register (octal) -.           |  xxxx = adjusted offset,
||      Log2(Polling interval) --.      |          |  yyyy = measured offset,
||                                \     |          |  zzzz = estimated error.
||                                 |    |           \
MS Name/IP address         Stratum Poll Reach LastRx Last sample              
===============================================================================
^* 203.107.6.88                  2   6    17    40  -5540us[-5762us] +/-   16ms

然后重啟一下VM1和VM2

[root@localhost ~]# reboot

在VM1中配置FreeIPA 服務(wù)端

安裝ipa-server

[root@server ~]# yum install -y ipa-server bind bind-dyndb-ldap ipa-server-dns

配置ipa-server

先設(shè)置網(wǎng)卡dns地址為本地地址。

然后配置ipa-server

[root@server ~]# ipa-server-install --setup-dns --forwarder=114.114.114.114

Centos7.7 安裝FreeIPA (一)Centos7.7 安裝FreeIPA (一)
Centos7.7 安裝FreeIPA (一)Centos7.7 安裝FreeIPA (一)
Centos7.7 安裝FreeIPA (一)Centos7.7 安裝FreeIPA (一)

# 為首次登陸的用戶創(chuàng)建主目錄 ,并且更新配置
[root@server ~]# authconfig --enablemkhomedir --update

文章題目:Linux下安裝FreeIPA具體方法
網(wǎng)頁路徑:http://www.5511xx.com/article/dpceeic.html