{"id":1993,"date":"2022-04-10T18:00:14","date_gmt":"2022-04-10T09:00:14","guid":{"rendered":"https:\/\/weblog.hirohiro716.com\/?p=1993"},"modified":"2023-08-20T09:50:19","modified_gmt":"2023-08-20T00:50:19","slug":"freeipa%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%82%924-6-8%e3%81%8b%e3%82%894-9-6%e3%81%b8%e7%a7%bb%e8%a1%8c%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/weblog.hirohiro716.com\/?p=1993","title":{"rendered":"FreeIPA\u30b5\u30fc\u30d0\u30fc\u30924.6.8\u304b\u30894.9.6\u3078\u79fb\u884c\u3059\u308b"},"content":{"rendered":"<h3>\u79fb\u884c\u5143<\/h3>\n<pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">\r\n\u30fb \u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3: CentOS 7.9\r\n\u30fb \u30db\u30b9\u30c8\u540d: ipa1.local.example.com\r\n\u30fb IP\u30a2\u30c9\u30ec\u30b9: 192.168.0.10\r\n\u30fb IPA\u30b5\u30fc\u30d0\u30fc: 4.6.8\r\n<\/pre>\n<h3>\u79fb\u884c\u5148<\/h3>\n<pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">\r\n\u30fb \u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3: AlmaLinux 8.5\r\n\u30fb \u30db\u30b9\u30c8\u540d: newipa1.local.example.com\r\n\u30fb IP\u30a2\u30c9\u30ec\u30b9: 192.168.0.20\r\n\u30fb IPA\u30b5\u30fc\u30d0\u30fc: 4.9.6\r\n<\/pre>\n<h3>\u91cd\u8981\u306a\u7559\u610f\u4e8b\u9805<\/h3>\n<p style=\"margin-bottom:2em;\">\n\u79fb\u884c\u5148\u306e4.9.6\u306b\u306fca\u8a2d\u5b9a\u3092\u542b\u3080\u30ec\u30d7\u30ea\u30ab\u304c\u4f5c\u6210\u3067\u304d\u306a\u3044\u4e0d\u5177\u5408\u304c\u3042\u308b\u305f\u3081\u3001\u8a66\u3057\u305f\u9650\u308a\u79fb\u884c\u5143\u304b\u3089\u79fb\u884c\u5148\u3078\u306e\u30ec\u30d7\u30ea\u30ab\u4f5c\u6210\u306f\u4e00\u5ea6\u3057\u304b\u5b9f\u884c\u3067\u304d\u306a\u3044\u3002\u4e00\u5ea6\u3067\u30824.9.6\u3067\u30ec\u30d7\u30ea\u30ab\u3092\u4f5c\u6210\u3057\u305f\u5834\u5408\u3001\u305d\u308c\u4ee5\u964d\u306f4.6.8\u306eca\u8a2d\u5b9a\u3092\u542b\u3080\u30ec\u30d7\u30ea\u30ab\u30924.9.6\u3067\u4f5c\u6210\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3002\n<\/p>\n<h3>4.9.6\u3078\u306e\u79fb\u884c\u3092\u5b9f\u884c\u3059\u308b\u969b\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068<\/h3>\n<p>\u3053\u306e\u4f5c\u696d\u624b\u9806\u3067ca\u8a2d\u5b9a\u306a\u3069\u304c\u6d88\u5931\u3057\u3066\u3082\u904b\u55b6\u8005\u306f\u4e00\u5207\u8cac\u4efb\u3068\u308a\u307e\u305b\u3093<\/p>\n<pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">\r\n\u30fb\u79fb\u884c\u5143\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u4f5c\u6210\u3057\u3066\u304b\u3089\u5b9f\u884c\u3059\u308b\r\n\u30fb\u79fb\u884c\u5148\u306eFQDN\u306f\u672c\u756a\u30d7\u30e9\u30a4\u30de\u30ea\u30b5\u30fc\u30d0\u30fc\u3068\u540c\u4e00\u306b\u3059\u308b\r\n<\/pre>\n<h3>\u79fb\u884c\u5143\u3068\u79fb\u884c\u5148\u306eFQDN\u304c\u540c\u4e00\u306e\u5834\u5408<\/h3>\n<p>4.9.6\u306e\u30ec\u30d7\u30ea\u30ab\u4f5c\u6210\u524d\u306a\u30894.6.8\u540c\u58eb\u306e\u30ec\u30d7\u30ea\u30ab\u3092\u4f5c\u6210\u3067\u304d\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u5229\u7528\u3057\u30664.6.8\u306e\u30ec\u30d7\u30ea\u30ab\u3092\u4f5c\u6210\u3057\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u5909\u66f4\u3057\u3066\u79fb\u884c\u5143\u3068\u3059\u308b\u3002<br \/>\n\u53c2\u8003\u30da\u30fc\u30b8: <a href=\"\/?p=1797\">dna\u7bc4\u56f2\u306e\u78ba\u8a8d\u65b9\u6cd5<\/a><\/p>\n<pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">\r\n\u2460 \u4e00\u6642\u7684\u306b\u79fb\u884c\u5143\u3068\u540c\u30584.6.8\u3067ca\u3092\u542b\u3080\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7528\u306e\u30ec\u30d7\u30ea\u30ab\u3092\u4f5c\u6210\u3059\u308b\r\n\u2461 IdM\u306eWebUI\u306a\u3069\u3067\u300cIPA CA renewal master\u300d\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7528\u306e\u30ec\u30d7\u30ea\u30ab\u306b\u5909\u66f4\u3059\u308b\r\n\u2462 \u79fb\u884c\u5143\u306edna\u7bc4\u56f2\u3092\u63a7\u3048\u308b\r\n\u2463 \u79fb\u884c\u5148\u3068\u540c\u3058FQDN\u306eIPA\u30b5\u30fc\u30d0\u30fc\u3092\u524a\u9664\u3059\u308b\r\n\u2464 \u3055\u3063\u304d\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u63a7\u3048\u305fdna\u7bc4\u56f2\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7528\u306e\u30ec\u30d7\u30ea\u30ab\u306b\u30bb\u30c3\u30c8\u3059\u308b\r\n<\/pre>\n<h3>\u79fb\u884c\u5143(CentOS 7.9)\u3067\u306e\u4f5c\u696d<\/h3>\n<p>\u79fb\u884c\u5143\u3067\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3092\u7121\u52b9\u5316\u3057\u3066\u304a\u304f\u3002\u4f7f\u7528\u3057\u3066\u3044\u308b\u30dd\u30fc\u30c8\u304c\u9055\u3046\u306e\u304b\u4f8b\u5916\u8a2d\u5b9a\u3057\u3066\u3044\u3066\u3082\u5931\u6557\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# systemctl stop firewalld\r\n<\/pre>\n<p style=\"margin-bottom:2em;\">\n\u79fb\u884c\u5143\u306eIdM\u306bWEB\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u79fb\u884c\u5148\u306ehost\u3092\u8ffd\u52a0\u3059\u308b\u3002\n<\/p>\n<h3>\u79fb\u884c\u5148(AlmaLinux 8.5)\u3067\u306e\u4f5c\u696d<\/h3>\n<p>\u79fb\u884c\u5148\u306e\u30db\u30b9\u30c8\u540d\u3092FQDN\u306b\u5909\u66f4\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# hostnamectl set-hostname newipa1.local.example.com\r\n<\/pre>\n<p>\u53c2\u7167\u3059\u308bDNS\u30b5\u30fc\u30d0\u30fc\u3092\u79fb\u884c\u5143IPA\u30b5\u30fc\u30d0\u30fc\u306b\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# nmcli connection modify \u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u540d ipv4.dns 192.168.0.10\r\n# nmcli connection up \u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u540d\r\n<\/pre>\n<p>\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# dnf install @idm:DL1\r\n# dnf install ipa-server ipa-server-dns\r\n<\/pre>\n<p>IPA\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# ipa-client-install\r\n<\/pre>\n<p>\u521d\u56de\u30ed\u30b0\u30a4\u30f3\u6642\u306b\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u3088\u3046\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# authconfig --enablemkhomedir --update\r\n<\/pre>\n<p>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u4f8b\u5916\u3092\u767b\u9332\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# firewall-cmd --permanent --add-service={freeipa-ldap,freeipa-ldaps,freeipa-replication,dns,ntp,http,https}\r\n# firewall-cmd --reload\r\n<\/pre>\n<p>ca\u8a2d\u5b9a\u3092\u542b\u3080\u30ec\u30d7\u30ea\u30ab\u3092\u4f5c\u6210\u3059\u308b\u3002<br \/>\n\u203bDNS\u3068\u3057\u3066\u3082\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u300c&#8211;setup-dns\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u6307\u5b9a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# ipa-replica-install --setup-ca --setup-dns --forwarder &lt;forwarder\u306eIP\u30a2\u30c9\u30ec\u30b91&gt; --forwarder &lt;forwarder\u306eIP\u30a2\u30c9\u30ec\u30b92&gt;\r\n<\/pre>\n<p>\u53c2\u7167\u3059\u308bDNS\u30b5\u30fc\u30d0\u30fc\u3092\u81ea\u8eab\u306b\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# nmcli connection modify \u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u540d ipv4.dns 192.168.0.20\r\n# nmcli connection up \u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u540d\r\n<\/pre>\n<p>\u300cIPA CA renewal master\u300d\u3092\u79fb\u884c\u5148\u306b\u5909\u66f4\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# kinit admin\r\n# ipa config-mod --ca-renewal-master-server newipa1.local.example.com\r\n<\/pre>\n<p>\u79fb\u884c\u5143\u306edna\u7bc4\u56f2\u3092\u78ba\u8a8d\u3059\u308b\u3002<br \/>\n\u203b\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4e88\u3081\u300ckinit admin\u300d\u3067\u8a8d\u8a3c\u3059\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\uff03 ipa-replica-manage dnarange-show\r\n<\/pre>\n<p>\u78ba\u8a8d\u3057\u305f\u79fb\u884c\u5143\u306edna\u7bc4\u56f2\u3092\u79fb\u884c\u5148\u306b\u30bb\u30c3\u30c8\u3059\u308b\u3002<br \/>\n\u203b\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4e88\u3081\u300ckinit admin\u300d\u3067\u8a8d\u8a3c\u3059\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\uff03 ipa-replica-manage dnarange-set newipa1.local.example.com 1304400077-1304599999\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u79fb\u884c\u5143 \u30fb \u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3: CentOS 7.9 \u30fb \u30db\u30b9\u30c8\u540d: ipa1.local.example.com \u30fb IP\u30a2\u30c9\u30ec\u30b9: 192.168.0.10 \u30fb IPA\u30b5\u30fc\u30d0\u30fc: 4.6.8 \u79fb\u884c\u5148 \u30fb \u30c7\u30a3\u30b9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,16,27],"tags":[],"class_list":["post-1993","post","type-post","status-publish","format-standard","hentry","category-almalinux","category-centos","category-freeipa"],"views":1336,"_links":{"self":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/1993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1993"}],"version-history":[{"count":32,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/1993\/revisions"}],"predecessor-version":[{"id":2426,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/1993\/revisions\/2426"}],"wp:attachment":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}