红帽8系统部署cobbler

cobbler

一.部署前提

要用系统自带的源,其他的不可用,下载不了cobbler
安装epel源
yum -y install epel-release
#查看cobbler
[root@localhost ~]# dnf module list |grep cobbler
cobbler              3               default [d]        Versatile Linux deployment server                                                                                                                                   cobbler              3.3             default            Versatile Linux deployment server                                                         

cobbler
#开启选择的cobbler版本
[root@localhost ~]# dnf module enable cobbler:3

[root@localhost ~]# systemctl disable --now firewalld
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@localhost ~]# firewall-cmd  --state
not running
[root@localhost ~]# sed -i "s/=enforcing/=disabled/g" /etc/selinux/config
[root@localhost ~]# setenforce 0
[root@localhost ~]# getenforce 
Permissive
[root@localhost ~]#	reboot
[root@localhost ~]# getenforce 
Disabled

二.安装依赖包

[root@localhost ~]# yum -y install httpd dhcp* tftp tftp-server cobbler cobbler-web pykickstart rsync rsync-daemon

三.设置开机自启

[root@localhost ~]# systemctl enable --now httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
[root@localhost ~]# systemctl enable --now cobblerd
Created symlink /etc/systemd/system/multi-user.target.wants/cobblerd.service → /usr/lib/systemd/system/cobblerd.service.
[root@localhost ~]# systemctl enable --now rsyncd
Created symlink /etc/systemd/system/multi-user.target.wants/rsyncd.service → /usr/lib/systemd/system/rsyncd.service.

四.正式部署

#生成加密密码
[root@localhost ~]# openssl passwd -1 -salt 'random-phrase-here' 'dabao123!'
$1$random-p$VAxQnB8rJAXUWAm0cIy.D1
##修改/etc/cobbler/settings.yaml
[root@localhost ~]# vim /et
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值