第一章:Foreman+katello部署

目前的环境基于

centos 7 部署的,有需要的朋友可以直接按我下面的方式跑,foreman跟katello的版本可以去官方文档翻一翻,客户换成较新的版本

  1. 防火墙、selinux关闭

systemctl stop firewalld

setenforce 0

  1. foreman、katello、puppet、epel-release rpm下载

yum localinstall https://yum.theforeman.org/katello/4.4/katello/el7/x86_64/katello-repos-latest.rpm

yum localinstall https://yum.theforeman.org/releases/3.2/el7/x86_64/foreman-release.rpm

yum localinstall https://yum.puppet.com/puppet7-release-el-7.noarch.rpm

yum install epel-release

  1. 修改Sclo repo:

vim /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo.

baseurl=http://mirrors.aliyun.com/centos/7/sclo/$basearch/rh/

  1. 更新源后安装fk

yum update

yum install foreman-installer-katello

  1. 修改本机域名

hostnamectl set-hostname cjb.theforeman.com

hostname -f

echo “192.168.2.171 cjb.theforeman.com“ >> /etc/hosts

  1. 运行foreman-install

foreman-installer --scenario katello

  1. 用返回的账号密码信息进行登录后web配置

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值