Skip to content

Instantly share code, notes, and snippets.

@bugcy013
Created November 12, 2012 11:16
Show Gist options
  • Save bugcy013/4058773 to your computer and use it in GitHub Desktop.
Save bugcy013/4058773 to your computer and use it in GitHub Desktop.
Spacewalk implementation
For centos-5
-------------
rpm --import http://fedora.mirror.nexicom.net/epel/RPM-GPG-KEY-EPEL-5
rpm --import http://mirror.centos.org/centos/5.8/os/x86_64/RPM-GPG-KEY-CentOS-5
For centos-6
-------------
rpm --import http://fedora.mirror.nexicom.net/epel/RPM-GPG-KEY-EPEL-6
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
For centos 5.8 register
--------------------------
rhnreg_ks --serverUrl=http://172.16.30.121/XMLRPC --activationkey=1-1c71ee0fc3103595987e3aa43fd8f824
installing
-----------
rpm -ivh http://spacewalk.redhat.com/yum/1.7-client/RHEL/5/x86_64/spacewalk-client-repo-1.7-5.el5.noarch.rpm
yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
errata
-------
import_errata --debug --publish
modified:
---------
clearpart --all --initlabel
part / --fstype="ext4" --grow --size=1
part swap --fstype="swap" --recommended
original:
=========
part /boot --fstype=ext3 --size=200
part pv.01 --size=1000 --grow
part swap --size=1000 --maxsize=2000
volgroup myvg pv.01
logvol / --vgname=myvg --name=rootvol --size=1000 --grow
RHN-ORG-TRUSTED-SSL-CERT
@client-mgmt-tools
@compat-libraries
@console-internet
@core
@debugging
@directory-client
@mail-server
@hardware-monitoring
@java-platform
@large-systems
@mysql-client
@mysql
@network-file-system-client
@performance
@perl-runtime
@server-platform
@server-policy
@storage-client-multipath
@system-admin-tools
@Desktop
@Desktop Platform
@X Window System
@Fonts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment