{"id":5433,"date":"2019-11-21T22:26:17","date_gmt":"2019-11-21T14:26:17","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5433"},"modified":"2019-11-21T22:26:17","modified_gmt":"2019-11-21T14:26:17","slug":"ypdomainname","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/ypdomainname","title":{"rendered":"ypdomainname\u547d\u4ee4 – \u663e\u793a\u4e3b\u673a\u7684NIS\u7684\u57df\u540d"},"content":{"rendered":"\n

ypdomainname\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u663e\u793a\u7531\u51fd\u6570\u201cgetdomainname\u201d\u8fd4\u56de\u7684\u4e3b\u673a\u57df\u540d\uff0c\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e2a\u4e3b\u673aNIS\u57df\u540d\u3002 <\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f: <\/strong> ypdomainname [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-v<\/td>\u8be6\u7ec6\u4fe1\u606f\u6a21\u5f0f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u672c\u673a\u7684NIS\u57df\u540d\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ypdomainname -v<\/pre>\n\n\n\n

\u8bbe\u7f6e\u57df\u540d\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# ypdomainname www.linuxcool.com<\/pre>\n","protected":false},"excerpt":{"rendered":"

ypdomainname\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u663e\u793a\u7531\u51fd\u6570\u201cgetdomainname\u201d\u8fd4\u56de\u7684\u4e3b\u673a\u57df\u540d\uff0c\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u4e5f\u53ef\u4ee5 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5433"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5433"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5433\/revisions"}],"predecessor-version":[{"id":5504,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5433\/revisions\/5504"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}