登录 注册
当前位置:主页 > 资源下载 > 10 > 在Linux系统上搭建PXE

在Linux系统上搭建PXE

  • 更新:2024-06-23 20:25:08
  • 大小:1KB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:FTP - 服务器应用
  • 格式:SH

资源介绍

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