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-release-el-7.noarch.rpm

[root@rhn ~]# yum install katello

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

[root@rhn ~]# foreman-installer --scenario katello
Preparing installation Done                                             
  Success!
  * Katello is running at https://rhn.mylab.local
      Initial credentials are admin / DsSUFdExrTe4h4AC
  * To install an additional Foreman proxy on separate machine continue by running:

      foreman-proxy-certs-generate --foreman-proxy-fqdn "$FOREMAN_PROXY" --certs-tar "/root/$FOREMAN_PROXY-certs.tar"
  The full log is at /var/log/foreman-installer/katello.log

Comments

Popular posts from this blog

Running web ssh client on port 443 /80 with nginx as reverse proxy

Running cockpit behind nginx reverse proxy with nginx ssl and cockpit non ssl

Setup VOD streaming server with nginx using RTMP on Ubuntu 18.04