{"id":280835,"date":"2016-11-11T21:50:03","date_gmt":"2016-11-11T18:50:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=280835"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=280835","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 salt-master, salt-minion \u043d\u0430 RHEL \/ CENTOS"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3d9\/3e6\/595\/3d93e65951a1d87910fdbe9d8dca3c26.png\" alt=\"SaltStack\"\/><\/p>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h3>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 salt-master \u0438 salt-minion \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f SaltStack.<\/p>\n<pre><code class=\"bash\">sudo yum install https:\/\/repo.saltstack.com\/yum\/redhat\/salt-repo-latest-1.el7.noarch.rpm<\/code><\/pre>\n<blockquote><p><b>\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435!<\/b> \u041f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043d\u0430 Red Hat Enterprise Linux 7 \u0441 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c\u0438 (\u043d\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u043d\u0430) &#8216;RHEL Server Releases&#8217; \u0438\u043b\u0438 &#8216;RHEL Server Optional Channel&#8217; \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u043c\u0438, \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 CentOS 7 GPG key URL \u043a \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 yum \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f SaltStack \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432.<br \/>  <a name=\"habracut\"><\/a><br \/>  [saltstack-repo]<br \/>  name=SaltStack repo for Red Hat Enterprise Linux $releasever<br \/>  baseurl=https:\/\/repo.saltstack.com\/yum\/redhat\/$releasever\/$basearch\/latest<br \/>  enabled=1<br \/>  gpgcheck=1<br \/>  gpgkey=https:\/\/repo.saltstack.com\/yum\/redhat\/$releasever\/$basearch\/latest\/SALTSTACK-GPG-KEY.pub<br \/>   <a href=\"https:\/\/repo.saltstack.com\/yum\/redhat\/\">repo.saltstack.com\/yum\/redhat<\/a>$releasever\/$basearch\/latest\/base\/RPM-GPG-KEY-CentOS-7<\/p><\/blockquote>\n<pre><code class=\"bash\">sudo yum clean expire-cache<\/code><\/pre>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 salt-minion, salt-master \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0435 Salt \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b:  <\/p>\n<pre><code class=\"bash\"> sudo yum install salt-master sudo yum install salt-minion sudo yum install salt-ssh sudo yum install salt-syndic sudo yum install salt-cloud sudo yum install salt-api<\/code><\/pre>\n<h3>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/h3>\n<p>  <b>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 <b>salt-master<\/b> \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/b><\/p>\n<p>  RHEL\/CentOS 5 and 6  <\/p>\n<pre><code class=\"bash\">chkconfig salt-master on<\/code><\/pre>\n<p>  RHEL\/CentOS 7  <\/p>\n<pre><code class=\"bash\">systemctl enable salt-master.service<\/code><\/pre>\n<p>  <b>\u0417\u0430\u043f\u0443\u0441\u043a \u041c\u0430\u0441\u0442\u0435\u0440\u0430<\/b><\/p>\n<p>  RHEL\/CentOS 5 and 6  <\/p>\n<pre><code class=\"bash\">service salt-master start<\/code><\/pre>\n<p>  RHEL\/CentOS 7  <\/p>\n<pre><code class=\"bash\">systemctl start salt-master.service<\/code><\/pre>\n<p>  <b>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 <b>salt-minion<\/b> \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/b><\/p>\n<p>  RHEL\/CentOS 5 and 6  <\/p>\n<pre><code class=\"bash\">chkconfig salt-minion on<\/code><\/pre>\n<p>  RHEL\/CentOS 7  <\/p>\n<pre><code class=\"bash\">systemctl enable salt-minion.service<\/code><\/pre>\n<p>  <b>\u0417\u0430\u043f\u0443\u0441\u043a \u041c\u0438\u043d\u044c\u043e\u043d\u0430<\/b><\/p>\n<p>  RHEL\/CentOS 5 and 6  <\/p>\n<pre><code class=\"bash\">service salt-minion start<\/code><\/pre>\n<p>  RHEL\/CentOS 7  <\/p>\n<pre><code class=\"bash\">systemctl start salt-minion.service<\/code><\/pre>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/315054\/\"> https:\/\/habrahabr.ru\/post\/315054\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3d9\/3e6\/595\/3d93e65951a1d87910fdbe9d8dca3c26.png\" alt=\"SaltStack\"\/><\/p>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h3>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 salt-master \u0438 salt-minion \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f SaltStack.<\/p>\n<pre><code class=\"bash\">sudo yum install https:\/\/repo.saltstack.com\/yum\/redhat\/salt-repo-latest-1.el7.noarch.rpm<\/code><\/pre>\n<blockquote><p><b>\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435!<\/b> \u041f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043d\u0430 Red Hat Enterprise Linux 7 \u0441 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c\u0438 (\u043d\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u043d\u0430) &#8216;RHEL Server Releases&#8217; \u0438\u043b\u0438 &#8216;RHEL Server Optional Channel&#8217; \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u043c\u0438, \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 CentOS 7 GPG key URL \u043a \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 yum \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f SaltStack \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-280835","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/280835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=280835"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/280835\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=280835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=280835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=280835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}