welcome: please sign in
location: SpaceWalk
==SpaceWalk (DEPRECATED!)==
Currently runs on hips as a ip-based vhost. Installed from directions at [http://wiki.centos.org/HowTos/PackageManagement/Spacewalk CentOS Wiki]

===Spacewalk Client===

Each client must be configured to use the Spacewalk server as its source for RPM packages. We configure the Spacewalk Client Tools repository on the client machine to fetch the required packages. Edit /etc/yum.repos.d/spacewalk-client-tools.repo:

<pre>[spacewalk-client-tools]
name=Spacewalk Client Tools - $basearch
baseurl=http://stahnma.fedorapeople.org/spacewalk-tools/$releasever/$basearch
failovermethod=priority
gpgkey=http://stahnma.fedorapeople.org/spacewalk-tools/SPACEWALK-CLIENT-TOOLS-RPM-GPG-KEY
enabled=1
gpgcheck=1</pre>

We are now ready to download the required packages:

<pre>yum install rhn-setup yum-rhn-plugin</pre>

We now register the client to the Spacewalk server:

<pre>rhnreg_ks --serverUrl=http://spacewalk.morningside.edu/XMLRPC --activationkey=1-f73f88ee602aa0051189029d8494c3bd </pre>

''TIP: Navigate to Systems -> Activation Keys on the web interface of your Spacewalk server to retreive your default activation key.''

On the Spacewalk web interface, navigate to Systems -> Overview. Your client system should now be present in the list. Select it and click on "Alter Channel Subscriptions" link below the "System Info" section. In the "Base Software Channel" section, select the CentOS 5 Base - i386 channel and click on the Confirm button. You can subscribe your system to child channels once you are back to the Software Channel management page.

You can now safely disable your locally configured yum repositories if a corresponding Spacewalk channel has been configured. Edit repo files in /etc/yum.repos.d and make sure relevant sections contains the string:

<pre>enabled=0</pre>

SpaceWalk (last edited 2010-10-19 13:47:52 by localhost)