Kickstart无人值守安装RHEL.docx

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Kickstart无人值守安装RHEL

安装tftp-server,dhcp,httpd,通过httpd提供安装所需文件的下载[root@localhost ~]# yum -y install tftp-server tftpxinetdhttpddhcp配置tftp提供下载:[root@localhost ~]# vim /etc/xinetd.d/tftpservicetftp{socket_type = dgramprotocol = udpwait = yesuser = rootserver = /usr/sbin/in.tftpdserver_args = -s /tftpboot disable = no ##把yes改为noper_source = 11cps = 100 2flags = IPv4}[root@localhost ~]# /etc/init.d/xinetd restart ##重启xinetd服务器,使配置生效[root@localhost ~]#mkdir /tftpboot ##建立tftp服务根目录[root@localhost ~]#cp /mnt/isolinux/*.msg /tftpboot/[root@localhost ~]# cp /usr/lib/syslinux/pxelinux.0 /tftpboot/[root@localhost ~]# cp /mnt/isolinux/vmlinuz /mnt/isolinux/initrd.img /tftpboot/[root@localhost ~]# mkdir /tftpboot/pxelinux.cfg[root@localhost ~]# cp /mnt/isolinux/isolinux.cfg /tftpboot/pxelinux.cfg/default[root@localhost ~]# vim /tftpboot/pxelinux.cfg/defaultdefaultlinuxprompt 1timeout 60 ##把原来600改成60,设置等待时间display boot.msgF1 boot.msgF2 options.msgF3 general.msgF4 param.msgF5 rescue.msglabellinuxkernelvmlinuz append initrd=initrd.imgks=/ks.cfg ##设置获取自动安装的配置文件ks.cfg的路方法#NFS获取ks.cfg配置文件#ks=nfs:54:/ks.cfg#ftp获取ks.cfg配置文件#ks=/ks.cfglabel textkernelvmlinuzappendinitrd=initrd.img textlabelkskernelvmlinuzappendksinitrd=initrd.imglabel locallocalboot 1label memtest86kernelmemtestappend -配置dhcp服务器:[root@localhost ~]# cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample /etc/dhcpd.conf[root@localhost ~]# vim /etc/dhcpd.confddns-update-style none;default-lease-time 3600;max-lease-time 7200;next-server ; #tftp服务器地址filename /pxelinux.0; #安装所需文件subnet netmask {# --- default gatewayoption routers ;option subnet-mask ;optionnis-domain ;option domain-name ;option domain-name-servers ;option time-offset -18000; # Eastern Stan

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

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

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档