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

A detailed tutorial on using PXE to automatically install CentOS7.6

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

Share

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

I. demand

Base to 300 new servers, need to install the CentOS7.6 version of the operating system from the implementation, choose to use PXE for batch installation.

II. Preparatory work

Use a layer 2 switch to connect an uninstalled operating system server to avoid affecting the normal server in the existing network.

Upload the operating system image to the server and install the PXE environment prerequisite services.

Mount the image file as the local software repository.

Environmental preparation

Systemctl stop firewalld # turn off firewall setenforce 0 # temporarily set SELINUX to loose mode sed-I'/ ^ SELINUX=/s/.*/SELINUX=disabled/' / etc/selinux/config # permanently disable SELINUX (requires reboot to take effect) mkdir-p / var/www/html/CentOS1810/mount / tmp/CentOS-7-x86_64-DVD-1810.iso / var/www/html/CentOS1810mkdir / etc/yum.repos.d/backup mv / etc/yum.repos.d/ {* Backup} # ignore cat > / etc/yum.repos.d/local.repo when you report an error

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