linux搭建pxe

时间:2014-04-14 08:11:34
【文件属性】:

文件名称:linux搭建pxe

文件大小:1KB

文件格式:SH

更新时间:2014-04-14 08:11:34

linuxpxe

mount /dev/hdc /mnt cd /mnt/Server rpm -ivh dhcp-3.0.5-18.el5.i386.rpm cp /media/disk/dhcpd.conf /etc/dhcpd.conf cd cd /mnt/Server rpm -ivh tftp-0.42-3.1.i386.rpm rpm -ivh tftp-server-0.42-3.1.i386.rpm cp /media/disk/tftp /etc/xinetd.d/tftp chkconfig tftp on service xinetd restart cd cd /mnt/Server rpm -ivh vsftpd-2.0.5-12.el5.i386.rpm pervice vsftpd start mkdir /export mkdir /export/ks cp /media/disk/exports /etc/exports service portmap start service nfs start cp /media/disk/5.3_32bit_Redhat_Enterprise_Linux.iso /export cd /root mv anaconda-ks.cfg /export/ks/ks.cfg mkdir /tftpboot/RHEL5 cp /usr/lib/syslinux/pxelinux.0 /tftpboot/RHEL5/ mkdir /tftpboot/RHEL5/pxelinux.cfg cp /mnt/isolinux/isolinux.cfg /tftpboot/RHEL5/pxelinux.cfg/default cp /mnt/images/pxeboot/initrd.img /tftpboot/RHEL5/ cp /mnt/images/pxeboot/vmlinuz /tftpboot/RHEL5/ cp /mnt/isolinux/*.msg /tftpboot/RHEL5/ cp /mnt/isolinux/splash.lss /tftpboot/RHEL5 service xinetd restart service vsftpd restart service dhcpd restart useradd ftpuser passwd ftpuser mkdir /home/ftpuser/i386 cp -R /mnt/* /home/ftpuser/i386/ chkconfig iptables off chkconfig tftp on service xinetd restart service vsftpd start service portmap start service nfs start service xinetd restart service vsftpd restart service dhcpd restart


网友评论

  • 我终于也学会了自己搭建pxe了,哈哈 感谢感谢
  • 想当不错,很详细,受用