pxe装机流程

上传人:oq****t 文档编号:1776486 上传时间:2017-07-14 格式:DOC 页数:2 大小:18KB
返回 下载 相关 举报
pxe装机流程_第1页
第1页 / 共2页
pxe装机流程_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

《pxe装机流程》由会员分享,可在线阅读,更多相关《pxe装机流程(2页珍藏版)》请在金锄头文库上搜索。

1、1.创建 ftp 目录Touch /var/ftp/rhel62.复制光盘下面的内容到目录下、Cp -rf /misc/cdrom/* /var/ftp/rhel63.创建 yum 源Vim /etc/yum.repo.d/arepo 内容如下aName=aBaseurl=ftp:/192.168.1.1/rhel6Enabled=1Gpgcheck=0上面名字可以根据需求启用Vim /etc/yum/pluginconf/refresh-packagekit.conf 修改main enable=0Rm -rf /etc/yum.repos.d/下面除了自己创建以外的文件4.安装 vsftp

2、d 并启用Yum -y install vsftpd Service vsftpd start5.安装 tftp-server 并委托给 xinetYum -y install tftp-server Vim /etc/xinetd/tftp 将 disable= yes 改成 noService xinetd restart6.配置 Linux 内核与初始镜像文件 放入 tftp 根目录Cd /var/ftp/rhel6/images/pxebootCp vmlinux initrd.img /var/lib/tftpboot7.准备引导文件,启动菜单文件Yum -y install sys

3、linuxCp /uar/share/syslinux/pxelinux.0 /var/lib/tftpbootMkdir /var/lib/tftpboot/pxelinux.cfgVim /var.lib.tftpboot/pxelinux.cfg/defaultPrompt 0 Label autoKernel vmlinuzAppend ks=ftp:/192.168.1.1/rhel6/ks.cfg initrd= initrd.img devfs=nomount ramdisk_size=81928.安装并配置 dhcp 服务器Yum -y install dhcpd Vim /e

4、tc/dhcp/dhcpd.confSubnet 192.168.1.0 netmask 255.255.255.0 Option routers 192.168.1.1;Option domain-name-servers 192.168.1.1;Range 192.168.1.100 192.168.1.200;Next-server 192.168.1.1;Filename “pxelinux.0”;最重要是后面两项 next-server 指定 tftpserver 地址 filename 指定引导程序文件名Service dhcpd startChkconfig dhcpd oniptables I INPUT p udp -dport 67 j ACCEPT9.安装 system-config-kickstart 并配置Yum -y install system-config-kickstart启用 kickstart 进行配置,把 ks.cfg 拷贝至 ftp 根目录下面Cp 。Ks.cfg /var/ftp/rhel6/验证安装!装机过程如果无法下载 ks.cfg 最好临时停掉防火墙或 Iptables -I INPUT -p tcp -dport 21 -j ACCEPT 以及 selinux

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号