Cobbler 可以用来快速建立 Linux 网络安装环境,它已将 Linux 网络安装的技术门槛,本篇文章为大家讲解一下使用Cobbler安装CentOS具体方法。

环境准备
CentOS Linux release 7.6.1810VMware Workstation Pro 14
安装一台主机
当前为虚拟机操作,虚拟机默认为 PXE 引导,如果是生产环境请进入 BIOS 修改 PXE 引导。
新建虚拟机




注:硬盘给 100G,给大一些。如果给 20G 后期在重安装系统时,可能会提示空间太小。

自定义配置


注: Cobbler 服务端的网络就是桥接,所以这里修改新建的主机与 Cobbler 服务端在同一网络环境。

开机

选择 CentOS-7.6-x86_64


如果遇到 write error: No space left on device 报错,则需要把虚拟机的内存调大一点:


关机,把内存调大:

再开机:

选择 CentOS-7.6-x86_64

注:虚拟机默认就是 PXE 启动,所以不需要手动配置启动首选项为 PXE。
这里说明一下,该机制为 Cobbler 的防止误安装,20 秒无响应就会从本地硬盘启动。后续自动化安装我们可以让它不提示。
加载引导文件

已经在安装中了, 默认是最小化安装,大概 316个包:

安装完成:用户名 root 密码 123456


ping 192.168.1.7 可以 ping 通。

ping www.163.com 可以 ping 通。

以上就是良许教程网为各位朋友分享的Linux系统相关内容。想要了解更多Linux相关知识记得关注公众号“良许Linux”,或扫描下方二维码进行关注,更多干货等着你 !
