Cobbler

 

安装部署

准备一台服务器  10.0.0.11

安装cobbler 

[root@ localhost ~]# yum -y install cobbler cobbler-web-server pykickstart httpd dhcp xinetd debmirror

启动和开机自启

[root@ localhost ~]# systemctl start httpd cobblerd

[root@ localhost ~]# systemctl enable httpd cobblerd

检查cobbler

[root@ localhost ~]# cobbler check

这里会有九个问题,要解决

[root@ localhost ~]# sed -ri '/allow_dynamic_settings:/c\allow_dynamic_settings: 1' /etc/cobbler/settings

[root@ localhost ~]# grep allow_dynamic_settings /etc/cobbler/settings
allow_dynamic_settings: 1
[root@ localhost ~]# systemctl restart cobblerd

[root@ localhost ~]# cobbler setting edit --name=server --value=10.0.0.11

配置xinetd管理tftp

 

[root@ localhost ~]# cobbler setting edit --name=server --value=10.0.0.11
[root@ localhost ~]# sed -ri '/disable/c\disable = no' /etc/xinetd.d/tftp
[root@ localhost ~]# systemctl enable xinetd
[root@ localhost ~]# systemctl restart xinetd

 

启动rsync

 

[root@ localhost ~]# systemctl start rsyncd
[root@ localhost ~]# systemctl enable rsyncd

 

posted @ 2020-03-02 15:02  Zsecret  阅读(188)  评论(0编辑  收藏  举报