更改

跳转至: 导航搜索

如何使用Kickstart自动批量安装Linux客户端(CentOS)

添加785字节, 2022年3月24日 (四) 20:26
恢复45.77.171.9讨论)的编辑至Ytyzx的最后版本
网关: 192.168.162.2
DNS: 192.168.1.1
fig == 查看基本配置 ==  1.PXE基本原理如下。[[File:PXE.png]] 2.输入“ifconfig”查看服务器IP配置。[[File:Kickstart1.png]] == 安装及配置软件 ==  3.输入“yum -y install httpd”安装Apache。[[File:Kickstart2.png]] 4.提示已经安装完毕。[[File:Kickstart3.png]] 5.输入“chkconfig --level 35 httpd on”设置Apache开机时以35模式自动启动。
[[File:Kickstart4.png]]
6.输入“service httpd start”启动Apache。
[[File:Kickstart6.png]]
8.提示已经安装完毕。
[[File:KicksKickstart7.png]] 9.输入“vi /etc/xinetd.d/tftp”编辑。[[File:Kickstart8.png]] 10.注意下图中“server_args = -s /var/lib/tftpboot”在CentOS不同版本中的区别。[[File:Kickstart9.png]] 11.按“i”进入编辑状态,修改“disable”后的值为“no(默认为yes)”,确认无误后按“ESC”,并输入“:x”保存退出。[[File:Kickstart10.png]] 12.输入“/etc/init.d/xinetd start”启动tftp。[[File:Kickstart11.png]]
13.输入“chkconfig --level 35 xinetd on”并按回车键确定,确保开机自动启动tftp.
[[File:Kickstart12.png]]
1,138
个编辑

导航菜单