Last update at :2024-06-22,Edit by888u
Sourced from cxthhhhh.com. Only works with KVM, not OpenVZ.
Network reinstallation of other systems: One-click script for network installation of Debian/Ubuntu/CentOS/Windows pure version under Linux
The following is a network reinstallation system for Centos7 system.
1. Install software Debian/Ubuntu:
apt-get update apt-get install -y xz-utils openssl gawk fileRedHat/CentOS:
yum update yum install -y xz openssl gawk file2. Reinstall to Centos7 system
bash <(wget --no-check-certificate -qO- 'https://we.com/wp-content/uploads/2018/04/InstallNET.sh') -dd 'https://hao.we.com /dd/CentOS_7.X_NetInstallation.vhd.gz'The default root password is cxthhhhh.com and the port is 22. After installation, change the password and port as soon as possible.
1. If the installation is successful and you cannot connect to the Internet, manually change vnc to a static IP: vi /etc/sysconfig/network-scripts/ifcfg-eth0 (may also be other ifcfg-xxx file names) #Revise BOOTPROTO=static #dhcp changed to static IPADDR=192.168.1.100 #static IP GATEWAY=192.168.1.255 #Default gateway NETMASK=255.255.255.0 #Subnet mask #Restart after saving systemctl restart network
2. During network DD, directly add IP, gateway and other information
bash <(wget --no-check-certificate -qO- 'https://we.com/wp-content/uploads/2018/04/InstallNET.sh') -dd 'https://hao.we.com /dd/CentOS_7.X_NetInstallation.vhd.gz' --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.xRecommended site searches: IP search, domain name information, Chinese domain name registration, high-defense US server, IP detailed address query, website registration information, registration-free space and free network foreign vps server rental, Hong Kong server, website server hardware configuration, < /p>
发表评论