20110905Pxe dhcp nfs tftp 网络安装centos.docVIP

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
20110905Pxe dhcp nfs tftp 网络安装centos

Pxe+dhcp+nfs+tftp 网络安装centos 一、 介绍 简单原理介绍:无光软驱服务器通过PXE网卡启动,从dhcp服务器获取IP 通过tftp 下载pxelinux.0文件找到pxelinux.cfg里的配置文件,按配置文件找着vmlinuz引导centos进入安装界面,之后选择NFS方式安装系统。 另: 如需要实现全自动安装 要安装 Kickstart 软件包并配置。本文并不讨论 二、环境说明 本文测试环境及用到的软件 Server: centos 5.2 dhcp nfs tftp ip:51 (此IP只需要与服务器网卡相连,不管是什么都可以) 三、安装配置过程及基本讲解: 安装相应的软件:yum ?y install dhcp* nfs* tftp* 1、 配置tftp more /etc/xinetd.d/tftp # default: off # description: The tftp server serves files using the trivial file transfer \ # protocol. The tftp protocol is often used to boot diskless \ # workstations, download configuration files to network-aware printers, \ # and to start the installation process for some operating systems. # trad: liuyu # blog: # bbs: service tftp { disable = no #默认是yes 改为no socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -u nobody -s /tftpboot #添加nobody可以访问 per_source = 11 cps = 100 2 flags = IPv4 } 复制代码 重启xinetd服务: /etc/init.d/xinetd restart 查看tftp 是否启动:# chkconfig --list |grep tftp tftp: on 2、 配置nfs mount /iso/CentOS-5.2-i386-bin-1of6.iso /mnt -o loop #我是挂载的镜像文件,你们可以挂载光驱 echo /tftpboot *(ro,sync) /etc/exports echo /mnt *(ro,sync) /etc/exports #此二步设置共享的目录 exportfs ?a #使配置生效 /etc/init.d/portmap start /etc/init.d/nfs start #重启服务 Showmount ?e localhost #看查共享的目录 Export list for localhost: /mnt * /tftpboot * 3、配置dhcp 直接copy我的配置 # more /etc/dhcpd.conf # # DHCP Server Configuration file. # see /usr/share/doc/dhcp*/dhcpd.conf.sample # # trad: liuyu # blog: # bbs: ddns-update-style interim; ignore client-updates; allow booting; allow bootp; subnet netmask { option routers 51; option subnet-mask ; option domain-name-servers 51; #本地IP option time-offset

文档评论(0)

yan698698 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档