|
|
(未顯示由 2 位使用者於中間所作的 35 次修訂) |
行 1: |
行 1: |
− | 服务器配置 如 下:操作系统为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
| + | #REDIRECT [[ 如 何 使 用Kickstart 自动 批量 安 装Linux客户端(CentOS)]] |
− | 基本原理为 使 用工作于Client/Server模式下Intel公司PXE(Preboot eXecution Environment详情请点击[http://zh.wikipedia.org/wiki/%E9%A2%84%E5%90%AF%E5%8A%A8%E6%89%A7%E8%A1%8C%E7%8E%AF%E5%A2%83 维基百科]),通过网络下载系统镜像并安装。在启动过程中,终端请求服务器分配IP地址后,使用TFTP(Trivial File Transfer Protocol)协议下载软件包到本机内存中执行,并根据预先配置文件(本例中为client1.cfg)完成终端系统安装及设置。
| |
− | 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:Kickstart5.png]]
| |
− | 7.输入“yum -y install tftp-server” 安 装tftp。
| |
− | [[File:Kickstart6.png]]
| |
− | 8.提示已经安装完毕。
| |
− | [[File:Kickstart7.png]]
| |