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

Godaddy latest domain name promotion

This article collects the latest domain name info...

drserver: $20/year/512MB memory/100GB space/512GB bandwidth/Xen/Dallas

drserver, a stable merchant. This time, we have a...

UOVZ: Tanabata Special

Xuzhou KVM virtualization optional Telecom, Unico...

Install Google-drive-ocamlfuse in Centos/Ubuntu and mount Google Drive

See: Gdrive: Sync Google Drive files and automati...

AlphaRacks: $12/year/2 CPUs/768MB/40GB/2TB/1 IP/OpenVZ

AlphaRacks, introduced 3 times before, this time ...

bandithost: $2.5/month/1GB RAM/10GB NVMe space/unlimited traffic/1Gbps/KVM/Utah

bandithost, seems to be a new merchant, currently...

SolusVM series: creating partitions and PV for independent servers

Taking OVH dedicated server as an example, the fo...

CycloneServers: $5/month/4GB memory/35GB space/4TB bandwidth/KVM/Seattle

CyclonesServers, which has been introduced severa...