Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Enterprise essential-Linux Centos7 unattended automatic installation (PXE deployment)

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

16.1 put this configuration file on our site

17. Put the configuration file template of the system Put it in our kickstart configuration file [root@localhost pxelinux.cfg] # cd / var/ftp/ [root@localhost ftp] # lscentos7 ks.cfg pub [root@localhost ftp] # vim ks.cfg [root@localhost ftp] # cd / root [root@localhost ~] # lsanaconda-ks.cfg initial-setup-ks.cfg Public template Video Photo document download Music Desktop [root@localhost] # vim anaconda-ks.cfg / / here Copy this template to our unattended tool configuration file% packages@ ^ gnome-desktop-environment@base@core@desktop-debugging@dial-up@directory-client@fonts@gnome-desktop@guest-agents@guest-desktop-agents@input-methods@internet-browser@java-platform@multimedia@network-file-system-client@networkmanager-submodules@print-client@x11chronykexec-tools%end18. Load this template with the bootstrap

Just add a ks.cfg file address, ks= ftp://192.168.100.100/ks.cfg.

[root@localhost ftp] # cd / var/lib/tftpboot/ [root@localhost tftpboot] # lsinitrd.img pxelinux.0 pxelinux.cfg vmlinuz [root@localhost tftpboot] # cd pxelinux.cfg/ [root@localhost pxelinux.cfg] # lsdefault [root@localhost pxelinux.cfg] # vim defaultdefault autoprompt 1label auto kernel vmlinuz append initrd=initrd.img method= ftp://192.168.100.100/centos7 ks= ftp://192.168.100.100/ks.cfglabel linux text kernel vmlinuz append text Initrd=initrd.img method= ftp://192.168.100.100/centos7label linux rescue kernel vmlinuz append rescue initrd=initrd.img method= ftp://192.168.100.100/centos719. We verify that it is an automated installation

The above is all of our content, absolutely detailed, absolutely correct. Thank you for watching.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report