{"id":3784,"date":"2013-06-29T04:20:36","date_gmt":"2013-06-29T11:20:36","guid":{"rendered":"http:\/\/blog.networkpresence.co\/?p=3784"},"modified":"2013-06-29T04:20:36","modified_gmt":"2013-06-29T11:20:36","slug":"how-to-use-our-local-spacewalk-server","status":"publish","type":"post","link":"http:\/\/blog.networkpresence.co\/?p=3784","title":{"rendered":"How to use our local Spacewalk Server"},"content":{"rendered":"<p>Here&#8217;s the commands to run on your CentOS 5.x VPS to register and use our local Spacewalk Server to supply locally your CentOS 5 software updates.<\/p>\n<p>All the following commands are run as the root user on your CentOS system.<\/p>\n<p><code>rpm -U http:\/\/spacewalk1.netpres.com.au\/pub\/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm<br \/>\nrpm -U http:\/\/spacewalk.redhat.com\/yum\/1.9\/RHEL\/5\/x86_64\/spacewalk-client-repo-1.9-1.el5.noarch.rpm<br \/>\n## or for i386 CentOS 5 systems, use: http:\/\/spacewalk.redhat.com\/yum\/1.9\/RHEL\/5\/i386\/spacewalk-client-repo-1.9-1.el5.noarch.rpm<br \/>\nyum -y install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin<br \/>\nyum -y install perl<br \/>\nperl -pi -w -e 's\/enabled=1\/enabled=0\/g;' \/etc\/yum.repos.d\/*.repo<\/p>\n<p>rhnreg_ks --activationkey='AS_SUPPLIED_BY_NETPRES' --serverUrl=https:\/\/spacewalk1.netpres.com.au\/XMLRPC --sslCACert=\/usr\/share\/rhn\/RHN-ORG-TRUSTED-SSL-CERT<br \/>\n<\/code><\/p>\n<p>If you&#8217;re using CentOS 6, here&#8217;s the similar commands to load the CentOS 6 Spacewalk client s\/ware:<\/p>\n<p><code>rpm -U http:\/\/spacewalk.redhat.com\/yum\/1.9\/RHEL\/6\/x86_64\/spacewalk-client-repo-1.9-1.el6.noarch.rpm<br \/>\n## or for i386 CentOS 6 systems, use: http:\/\/spacewalk.redhat.com\/yum\/1.9\/RHEL\/6\/i386\/spacewalk-client-repo-1.9-1.el6.noarch.rpm <\/code><\/p>\n<p>Assuming the above rhnreg_ks command succeeds, then you should clean up your Yum s\/ware for using the NetPres Spacewalk Repo server with:<\/p>\n<p><code>yum clean all<\/code><\/p>\n<p>After that your Yum software is ready and enabled to use our Spacewalk Server.<\/p>\n<p>FYI,<br \/>\nRichard. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s the commands to run on your CentOS 5.x VPS to register and use our local Spacewalk Server to supply locally your CentOS 5 software updates. All the following commands are run as the root user on your CentOS system. &hellip; <a href=\"http:\/\/blog.networkpresence.co\/?p=3784\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[263],"class_list":["post-3784","post","type-post","status-publish","format-standard","hentry","category-sales","tag-spacewalk"],"_links":{"self":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/3784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3784"}],"version-history":[{"count":2,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/3784\/revisions"}],"predecessor-version":[{"id":3786,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/3784\/revisions\/3786"}],"wp:attachment":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3784"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}