How to Install Katello on CentOS 7

r00t February 5, 2018

Install Katello on CentOS 7

In this tutorial we’ll learn how to install Katello on CentOS 7. We will also install and configure its prerequisites. Katello is an open source content management software. It also performs provisioning and configuration task using foreman. In other words, we can say catalog is the open source Satellite Server, which can push updates to its register Linux Servers or clients. In fact, it is a lifestyle management plugin to Foreman which handles subscription, and repository management.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Katello on CentOS 7

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum -y clean all
yum -y update

Step 2. Set Hostname and Firewall Rules.

First, use the hostnamectl command to set the hostname:

hostnamectl set-hostname ""

Set the firewall rules for Katello:

firewall-cmd --permanent --zone=public --add-port=80/tcp --add-port=443/tcp --add-port=5647/tcp --add-port=9090/tcp
firewall-cmd --permanent --zone=public --add-port=8140/tcp --add-port=8443/tcp --add-port=8000/tcp --add-port=67/udp --add-port=68/udp --add-port=69/udp

Before starting the Installation , configure your server with NTP for time syncing:

yum install -y ntp
service ntpd restart
timedatectl set-timezone America/New_York # Set timezone if required
ntpdate -u

Step 3. Installing required repositories for Katello.

Run the beneath commands one after the other to set the required repositories for katello setup:

yum -y localinstall
yum -y localinstall
yum -y localinstall
yum -y localinstall

Step 4. Installing Katelo.

Run the following command to install Katello packages:

yum -y update
yum -y install katello

Next, start the Katello Installation now using below foreman-installer command:

foreman-installer --scenario katello --foreman-admin-username admin --foreman-admin-password <Specify_Password>

When installation will be completed, you’ll get an output stating that Installing Success.

Step 5. Accessing the Katello Admin Dashboard.

Open the Web Browser and type the url “” , Use the username as admin and password that we specify in the above step.

Congratulation’s! You have successfully install and configured Katello on your CentOS 7 server. Thanks for using this tutorial for installing Katello open source content management on CentOS 7 system.

The Tags:

Leave a Comment

Comments are closed.