Install Foreman & Katello (Pulp+Candelpin) on CentOS 7.x – Redhat Satellite 6 Alternative

0 / 192
Install Katello on CentOS-7

In previous post we learned about RedHat Satellite 6 and its Open Source Alternative – Foreman & Katello (Pulp+Candelpin)

 

Katello brings the full power of content management alongside the provisioning and configuration capabilities of Foreman.

 

 

Katello foreman

Katello foreman

 

 

In this post we learn how to install  RedHat Satellite 6 and its Open Source Alternative – Foreman & Katello (Pulp+Candelpin) on CentOS 7.x

 

 

Pre-requisites :

 

1. VM with 8GB and more RAM and at least 2 cores of CPU
2. VM with CentOS7 installed

 

Let’s the Installation of Katello.

 

Set the hostname and add an entry in /etc/hosts :

 

[root@katello ~]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
[root@centos07 ~]# hostnamectl set-hostname “katello.hostbread.com”
[root@centos07 ~]# echo “192.168.0.125 katello.hostbread.com katello” >> /etc/hosts
[root@centos07 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.0.125 katello.hostbread.com katello
[root@centos07 ~]#

 

Update yum and reboot :

 

[root@centos07 ~]# yum update -y ; reboot

 

After reboot we can see the new hostname is set as  katello.hostbread.com
[root@katello ~]# hostname
katello.hostbread.com

 

Install repositories which are required for katello :

 

[root@katello ~]# yum -y localinstall http://fedorapeople.org/groups/katello/releases/yum/3.10/katello/el7/x86_64/katello-repos-latest.rpm

 

[root@katello ~]# yum -y localinstall http://yum.theforeman.org/releases/1.20/el7/x86_64/foreman-release.rpm

 

[root@katello ~]# yum -y localinstall https://yum.puppetlabs.com/puppetlabs-release-pc1-el-7.noarch.rpm

 

[root@katello ~]# yum -y localinstall http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

[root@katello ~]# yum -y install foreman-release-scl python2-django

Install katello :

[root@katello ~]#  yum -y install katello

We will use foreman-installer to setup katello :

[root@katello ~]# foreman-installer –scenario katello

 

 

Once the installation is completed, we will be presented with login url and credentials as given below :

 

 

Katello

Katello

 

 

Next open the browser and access the katello link :

http://katello.hostbread.com

 

 

Login with credentials which were provided when the Katello installation was completed.

 

We will be presented with screen as given below :

 

Katello step 2

Katello step 2

 

 

 

We can now navigate and check all features of Katello :

 

Katello step 3

Katello step 3

 

 

Hope you learned and enjoyed this article. In the next article we will learn the configuration part of Katello – Foreman (An opensource alternative to RedHat Satellite 6)

 

 

Subscribe and follow Golibrary on Facebook and Linkedin to get all the updates.

 

 

 

Comments

comments


***Linux, Cloud & Devops Architect & Technical Content Writer*** I am a Linux Enthusiast and Supporter/Promoter of Open Source Technology with over 12+ years of experience in Linux, Cloud and Devops. I am A Technical Content writer for various sites like : Hostbread & Golibrary

Related Posts