Install Spacewalk Management Server

Install Spacewalk Management Server.

Prerequisites.

> CentOS Version 6-x86_64
> Internet should be enabled to run yum repositroy
> Make sure Selinux is disabled
> Make sure Iptables are off.
> User need sudo rights to install packages or loging to linux server with root id. 


Steps to install Spacewalk.

> Download and install spacewalk-repo-2.2-1.el6.noarch.rpm
Command: #yum -y install http://yum.spacewalkproject.org/latest/RHEL/6/x86_64/spacewalk-repo-2.2-1.el6.noarch.rpm

 
> Go to /etc/yum.repos.d/ directory
Command: #cd /etc/yum.repos.d/


> Create new repo file jpackage-generic.repo
Command: #vim jpackage-generic.repo


Add the following lines in the file.

[jpackage-generic]
name=JPackage generic
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0
enabled=1
gpgcheck=0
gpgkey=http://www.jpackage.org/jpackage.asc





:wq    ---- Save the file and exit

> Install following packages with yum command.
Command: #yum --enablerepo=epel -y install spacewalk-setup-postgresql spacewalk-postgresql perl dojo


> Download epel-release-6-8.noarch.rpm file.
Command: # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm


> Install epel-release-6-8.noarch.rpm file.
Command: #yum install epel-release-6-8.noarch.rpm


> Configure spacewalk now.
Command: #spacewalk-setup --disconnected


Provide the Email Admin Address to continue.




Select y to setup apache default ssl server.


Give the CA certificate password to continue.


Give the organization name to continue.


Define Organization unit to continue.


Type Y to continue.


Give the City name to continue.


Give the State name to continue.


Type Y to continue to configure Cobbler services.


> Once the installation finish open the Internet Browser on any client machine and type following URL- https://<Spacewalk server's hostname - IP address>/

Following screen will diplayed.


>  Create Spacewalk administrator user first , Provide all the required information and click the button Create Loging.


 EOD

Comments

Popular posts from this blog

KVM Live Migration without Shared Storage

Create CentOS 6 Local package and Group package Repository

Create Linux ( LUCI ) Cluster