cobbler自动化安装

cobbler自动化安装
实验:实现cobbler安装
1 安装包
yum install cobbler(EPEL) dhcp httpd tftp
systemctl enable cobblerd dhcpd httpd tftp
systemctl start cobblerd httpd tftp
2 cobbler check
3 vim /etc/cobbler/settings
server:cobberserverip
next_server:cobberserverip
defaut_password_cryptd: “xxxxxxxxxx” #openssl passwd -1 生成口令
manage_dhcp:1
4 cobber get-loaders 联网
cobbler sync
5 vim /etc/cobbler/dhcp.template
subnet 192.168.30.0 netmask 255.255.255.0
range dynamic-bootp 192.168.30.10 192.168.30.200;
cobbler sync
systemctl restart dhcpd
6
/dev/sr0 8490330 8490330 0 100% /mnt/cdrom0
/dev/sr1 6049912 6049912 0 100% /mnt/cdrom1
cobbler import –path=/mnt/cdrom0 –name=CentOS_7.4-x86_64 –arch=x86_64
cobbler import –path=/mnt/cdrom1 –name=CentOS_6.9-x86_64 –arch=x86_64
cobbler distro list
7
#cat ks6_mini.cfg
url –url=$tree
cp ks7_desktop.cfg ks6_mini.cfg /var/lib/cobbler/kicstarts/
cobbler profile add –name=CentOS_7.4-x86_64_Desktop –distro=CentOS_7.4-x86_64 –kickstart=/var/lib/cobbler/kicstarts/ks7_desktop.cfg
cobbler profile add –name=CentOS_6.9-x86_64_Mini –distro=CentOS_6.9-x86_64 –kickstart=/var/lib/cobbler/kicstarts/ks6_mini.cfg
删除自带的配置
cobbler profile remove –name=CentOS_7.4-x86_64
cobbler profile remove –name=CentOS_6.9-x86_64
8 web实现
yum install cobbler-web
systemctl restart httpd
htdigest -c /etc/cobbler/users.digest Cobbler test1
cobbler自动化安装
cobbler自动化安装
2个网卡 ,需要去互联网下载内容
cobbler自动化安装
需要epel源
cobbler自动化安装
安装包组
cobbler自动化安装
查看服务
cobbler自动化安装
设置服务开机启动
cobbler自动化安装
开启服务
cobbler自动化安装
cobbler自动生成文件
cobbler自动化安装
配置 cobbler
cobbler自动化安装
配置server地址
cobbler自动化安装
cobbler自动化安装
cobbler自动化安装
配置next_server
cobbler自动化安装
cobbler自动化安装
这些遇到不用管
cobbler自动化安装
cobbler自动化安装
cobbler自动化安装
cobbler自动化安装
cobbler自动化安装
需要下载必要文件
cobbler自动化安装
cobbler自动化安装
下载需要同步
cobbler自动化安装
查看下载的文件
cobbler自动化安装
生产加密口令
cobbler自动化安装
cobbler自动化安装
cobbler自动化安装
设置dhcp服务
cobbler自动化安装
cobbler自动化安装
修改dhcp配置
cobbler自动化安装
cobbler自动化安装
同步一下配置
cobbler自动化安装
启动dpcp
cobbler自动化安装
cobbler自动化安装
最后挂载6,7的光盘
cobbler自动化安装
cobbler自动化安装
导入光盘
cobbler自动化安装
查看导入的发行版本
cobbler自动化安装
菜单自动生成
cobbler自动化安装
删除无效的选项
cobbler自动化安装
cobbler自动化安装
把自己的ks文件关联到cobbler
修改ks路劲内容
cobbler自动化安装
查看yum库
cobbler自动化安装
把ks文件拷贝到目录下
cobbler自动化安装
加入菜单选项
cobbler自动化安装
cobbler自动化安装
导入7光盘内容
cobbler自动化安装
cobbler自动化安装
导入自制的ks文件
cobbler自动化安装
cobbler自动化安装
加入菜单选项
cobbler自动化安装
删除系统自带的 留下自己的ks
cobbler自动化安装
cobbler自动化安装
cobbler自动化安装
实现web界面
cobbler自动化安装
cobbler自动化安装
修改cobbler web的配置
cobbler自动化安装
方法一 直接添加账户 密码
cobbler自动化安装
方法二 pam
cobbler自动化安装
cobbler自动化安装
cobbler自动化安装
cobbler自动化安装
cobbler自动化安装

本文来自投稿,不代表Linux运维部落立场,如若转载,请注明出处:http://www.178linux.com/99542

联系我们

400-080-6560

在线咨询

工作时间:周一至周五,9:30-18:30,节假日同时也值班

QR code