Under Linux system, one-click network reinstallation system is Centos7

Under Linux system, one-click network reinstallation system is Centos7

Originated from cxthhhhh.com. Only works with KVM, not OpenVZ.

Network reinstallation of other systems: one-click script to install pure Debian/Ubuntu/CentOS/Windows under Linux

The following is the network reinstallation system for Centos7 system.

1. Install the software
Debian/Ubuntu:

 apt-get update apt-get install -y xz-utils openssl gawk file

RedHat/CentOS:

 yum update yum install -y xz openssl gawk file

2. Reinstall to Centos7 system

 bash <(wget --no-check-certificate -qO- 'https://zhujiwiki.com/wp-content/uploads/2018/04/InstallNET.sh') -dd 'https://hao.zhujiwiki.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 but the network connection fails, 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 #Change dhcp to static
IPADDR=192.168.1.100 #static IP
GATEWAY=192.168.1.255 #Default gateway
NETMASK=255.255.255.0 #Subnet mask
#Save and restart
systemctl restart network

2. When doing network DD, directly add IP, gateway and other information

 bash <(wget --no-check-certificate -qO- 'https://zhujiwiki.com/wp-content/uploads/2018/04/InstallNET.sh') -dd 'https://hao.zhujiwiki.com/dd/CentOS_7.X_NetInstallation.vhd.gz' --ip-addr xxxx --ip-gate xxxx --ip-mask xxxx

<<:  Hostkey: €6.5/month/1GB memory/25GB space/1T traffic/100Mbps/KVM/CN2, Moscow, Russia

>>:  Hosting-russia: 5 yuan/month/512MB memory/10GB SSD space/unlimited traffic/100Mbps/KVM/Moscow, Russia

Recommend

Where can I do Western Union remittance in Xi'an

Usually, I go to the post office near the clock t...

clouvider: UK exclusive server, minimum monthly payment of 25 pounds

Clouvider, a British hosting provider, operates a...

Install TCP BBR on CentOS 7 to improve network conditions

TCP BBR can effectively improve network packet lo...

HostHoarders: $15/year/128MB RAM/5GB storage/250GB bandwidth/KVM/Dallas

HostHoarders, an American hosting provider, was f...