Spacewalk Installation Step by Step

To evaluate Spacewalk, I have installed it in my lab.

Spacewalk Server: RHEL01 (RHEL5.5/ 1vCPU/ 2G vRAM/ 20G vHDD)
Spacewalk Client:  RHEL02 (RHEL5.5/ 1vCPU/ 1G vRAM/ 8G vHDD)

Install Spacewalk Server

1) Install the Spacewalk Server yum repo

rpm -Uvh

2) Install EPEL yum repo

rpm -Uvh

3) Install Spacewalk server and its dependencies

yum install spacewalk-setup-embedded-postgresql
rpm -Uvh
yum install spacewalk-postgresql

4) Initialize Spacewalk server

spacewalk-setup –disconnected

Follow the wizard to create certificate, then go to https://RHEL01 to create the admin account and activation key.

Install Spacewalk Client

1) Install Spacewalk client yum repo

rpm -Uvh

2) Install EPEL yum repo

BASEARCH=$(uname -i)
rpm -Uvh$BASEARCH/epel-release-5-4.noarch.rpm

3) Install client and its dependencies

rpm -Uvh yum -Uvh
yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin

4) Register RHEL02 to RHEL01.

rhnreg_ks –serverUrl=http://rhel01/XMLRPC –activationkey=1-6c22a63db6a7fbaa89b6723c372axxxx

5) Go to https://RHEL01 to confirm RHEL02 has registered itself successfully



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s