18 Kasım 2014 Salı

Spacewalk on CentOS 6

SERVER SETUP CENTOS 6
----------------------------------------------
rpm -Uvh http://yum.spacewalkproject.org/2.2/RHEL/6/x86_64/spacewalk-repo-2.2-1.el6.noarch.rpm

cat > /etc/yum.repos.d/jpackage-generic.repo << EOF
[jpackage-generic]
name=JPackage generic
#baseurl=http://mirrors.dotsrc.org/pub/jpackage/5.0/generic/free/
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0
enabled=1
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
EOF

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install spacewalk-setup-postgresql spacewalk-postgresql spacewalk-setup --disconnected -y
/usr/sbin/reboot

/usr/sbin/spacewalk-service [stop|start|restart].


CLIENT SETUP
CENTOS 6
----------------------------------------------
rpm -Uvh http://yum.spacewalkproject.org/2.2/RHEL/6/x86_64/spacewalk-repo-2.2-1.el6.noarch.rpm
yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin -y

# System -> Activation Keys ->  Create New Key
rhnreg_ks --serverUrl=http://SERVERIP/XMLRPC --activationkey=1-82650c43aa28fac96ea6f639b5b34f66


CENTOS 7
----------------------------------------------
rpm -Uvh http://yum.spacewalkproject.org/2.2/RHEL/7/x86_64/spacewalk-repo-2.2-1.el7.noarch.rpm
yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin -y

# System -> Activation Keys ->  Create New Key
rhnreg_ks --serverUrl=http://SERVERIP/XMLRPC --activationkey=1-82650c43aa28fac96ea6f639b5b34f66

Hiç yorum yok:

Yorum Gönder