Setup Foreman katello on centos 7.6
[root@rhn ~]# yum install vim bash-completion git gcc openssl-devel wget -y [root@rhn ~]# firewall-cmd --permanent --add-port=80/tcp --add-port=443/tcp --add-port=5647/tcp --add-port=9090/tcp [root@rhn ~]# firewall-cmd --permanent --add-port=8140/tcp --add-port=8443/tcp --add-port=8000/tcp --add-port=67/udp --add-port=68/udp --add-port=69/udp [root@rhn ~]# firewall-cmd --reload [root@rhn ~]# yum install ntp -y [root@rhn ~]# timedatectl set-timezone Asia/Kolkata [root@rhn ~]# ntpdate -u us.pool.ntp.org [root@rhn ~]# rpm -ivh https://fedorapeople.org/groups/katello/releases/yum/3.12/katello/el7/x86_64/katello-repos-latest.rpm [root@rhn ~]# rpm -ivh http://yum.theforeman.org/releases/latest/el7/x86_64/foreman-release.rpm [root@rhn ~]# rpm -ivh https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm [root@rhn ~]# yum install epel-release -y [root@rhn ~]# yum -y install foreman-release-scl python2-django [root@rhn ~]# rpm -ivh https://yum.puppetlabs.com/puppet/puppet-re