pxe自动安装的实现
4、启动DHCP服务 [root@localhost ~]# service dhcpd restart Shutting down dhcpd: [ OK ] Starting dhcpd: [ OK ] [root@localhost ~]# 5、开启TFTP 编辑tftp的超级守护进程: [root@localhost ~]# vim /etc/xinetd.d/tftp 重启超级守护进程: [root@localhost ~]# service xinetd restart Stopping xinetd: [ OK ] Starting xinetd: [ OK ] [root@localhost ~]# 6、将驱动和内核拷贝到/tftpboot目录下 切换到tfpt根目录下: [root@localhost ~]# cd /tftpboot 将pxe的驱动考到/tftpboot目录下: [root@localhost tftpboot]# cp /usr/lib/syslinux/pxelinux.0 ./ 将pxe的内核考到/tftpboot目录下 [root@localhost tftpboot]# cp /mnt/cdrom/images/pxeboot/vmlinuz ./ 将pxe的跟硬件相关考到/tftpboot目录下 [root@localhost tftpboot]# cp /mnt/cdrom/images/pxeboot/initrd.img ./ [root@localhost tftpboot]# 在/tftpboot目录下创建一个目录pexlinux.cfg [root@localhost tftpboot]# mkdir -pv pxelinux.cfg mkdir: created directory `pxelinux.cfg' [root@localhost tftpboot]# 将光盘上的引导文件拷贝到pexlinux.cfg目录下 用于脱机配置启动时一些其他的交互 [root@localhost tftpboot]# cp /mnt/cdrom/isolinux/isolinux.cfg pxelinux.cfg/default [root@localhost tftpboot]# 7、配置引导过程中的一些信息 [root@localhost tftpboot]# cd pxelinux.cfg/ [root@localhost pxelinux.cfg]# vim default (编辑:应用网_丽江站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |