“如何使用Kickstart自动批量安装Linux客户端(CentOS)”的版本间的差异

来自YTYZX有图有真相的百科
跳转至: 导航搜索
第3行: 第3行:
 
  1.PXE基本原理如下。
 
  1.PXE基本原理如下。
 
[[File:PXE.png]]
 
[[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]]

2015年6月20日 (六) 12:38的版本

服务器配置如下:操作系统为CentOS 6(2.6.32-504.e16.x86_64),主机名为osdis.test.com,IP地址为192.168.162.10,子网掩码为255.255.255.0(24),网关为192.168.162.2,DNS为192.168.1.1 基本原理为使用工作于Client/Server模式下Intel公司PXE(Preboot eXecution Environment详情请点击维基百科),通过网络下载系统镜像并安装。在启动过程中,终端请求服务器分配IP地址后,使用TFTP(Trivial File Transfer Protocol)协议下载软件包到本机内存中执行,并根据预先配置文件(本例中为client1.cfg)完成终端系统安装及设置。

1.PXE基本原理如下。

PXE.png

2.输入“ifconfig”查看服务器IP配置。

Kickstart1.png

3.输入“yum -y install httpd”安装Apache。

Kickstart2.png

4.提示已经安装完毕。

Kickstart3.png

5.输入“chkconfig --level 35 httpd on”设置Apache开机时以35模式自动启动。

Kickstart4.png