首页 > 其他 > 详细

批量装机

时间:2021-08-29 20:32:35      阅读:19      评论:0      收藏:0      [点我收藏+]
1、yum install dhcp tftp-server httpd syslinux xinetd net-tools -y

2、编辑/etc/xinetd.d/tftp

  service tftp
  {
  socket_type = dgram
  protocol = udp
  wait = yes
  user = root
  server = /usr/sbin/in.tftpd
  server_args = -s /var/lib/tftpboot
  disable = no (由yes改为no)
  per_source = 11
  cps = 100 2
  flags = IPv4
  }

 3、systemctl start xinetd && systemctl enable xinetd

 4、netstat -lantuep |grep 69

 5、cd /var/lib/tftpboot/

 6、ls

 7、cp /usr/share/syslinux/pxelinux.0 .

 8、mkdir pxelinux.cfg

 9、ls
    pxelinux.0 pxelinux.cfg

 






 

批量装机

原文:https://www.cnblogs.com/hym-by/p/15196382.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!