One-click script to install pure version of Debian/Ubuntu/CentOS/Windows under Linux

One-click script to install pure version of Debian/Ubuntu/CentOS/Windows under Linux

This script combines the following two scripts and contains the functions of DD windows system.
1. One-click script to install pure version of Debian/Ubuntu on Linux
2. One-click script to install the pure version of CentOS on Linux network

Only works with KVM, not OpenVZ.
The default root password is MoeClub.org

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. Download the script

 wget --no-check-certificate https://zhujiwiki.com/wp-content/uploads/2018/04/InstallNET.sh chmod -x InstallNET.sh

3. Installation system (I) Installing Debian versions
1. Install Debian 7 x32

 bash InstallNET.sh -d 7 -v 32 -a

2. Install Debian 7 x64

 bash InstallNET.sh -d 7 -v 64 -a

3. Install Debian 8 x32

 bash InstallNET.sh -d 8 -v 32 -a

4. Install Debian 8 x64

 bash InstallNET.sh -d 8 -v 64 -a

5. Install Debian 9 x32

 bash InstallNET.sh -d 9 -v 32 -a

6. Install Debian 9 x64

 bash InstallNET.sh -d 9 -v 64 -a

(II) Installing various versions of Ubuntu
1. Install Ubuntu 14.04 x32

 bash InstallNET.sh -u trusty -v 32 -a

2. Install Ubuntu 14.04 x64

 bash InstallNET.sh -u trusty -v 64 -a

3. Install Ubuntu 16.04 x32

 bash InstallNET.sh -u xenial -v 32 -a

4. Install Ubuntu 16.04 x64

 bash InstallNET.sh -u xenial -v 64 -a

5. Install Ubuntu 17.04 x32

 bash InstallNET.sh -u zesty -v 32 -a

6. Install Ubuntu 17.04 x64

 bash InstallNET.sh -u zesty -v 64 -a

(III) Installing various versions of CentOS
1. Install CentOS 6.8 32-bit

 bash InstallNET.sh -c 6.8 -v 32 -a --mirror 'http://vault.centos.org'

2. Install CentOS 6.8 64-bit

 bash InstallNET.sh -c 6.8 -v 64 -a --mirror 'http://vault.centos.org'

3. Install CentOS 6.9 32-bit

 bash InstallNET.sh -c 6.9 -v 32 -a --mirror 'http://vault.centos.org'

4. Install CentOS 6.9 64-bit

 bash InstallNET.sh -c 6.9 -v 64 -a --mirror 'http://vault.centos.org'

(IV) Install Windows Server 2012 R2 data center
This is recommended for DD installation under Debian9.

 bash InstallNET.sh -dd 'https://down.zhujiwiki.com/windows-dd/S2012R2DATA2018410.vhd.gz'

This version features:
The original system only adds the driver package anti-ransomware patch, and automatically enables remote login when the firewall blocks ports 135, 137, 138, 139, and 445 (the password needs to be set by yourself during installation)
Login cancel ctrl alt delete
The default system disk size is 12G. Please use the extended volume to add more.

4. Detailed explanation of usage parameters

bash InstallNET.sh

 -d/--debian [dist-name] -u/--ubuntu [dist-name] -c/--centos [dist-version] -v/--ver [32/i386|64/amd64] --ip-addr/--ip-gate/--ip-mask -apt/-yum/--mirror -dd/--image -a/-m # dist-name: 發行版本代號# dist-version: 發行版本號# -apt/-yum/--mirror : 使用定義鏡像# -a/-m : 詢問是否能進入VNC自行操作. -a 為不提示(一般用于全自動安裝), -m 為提示.

via: https://moeclub.org/2018/04/03/603/, http://www.hostloc.com/thread-441762-1-1.html

<<:  Sharktech: $59/month/X3470/12GB memory/2TB hard drive/10TB traffic/Chicago/Los Angeles

>>:  OVH: $99/month/E3-1270v6/32GB memory/4TB hard drive/unlimited traffic/US

Recommend

quadix: $10/month/4GB memory/500GB space/30TB traffic/3 IP/New York

quadix.co is an American hosting provider. The do...

nazwa: 30 yuan/year/8GB memory/50GB space/unlimited traffic/KVM/10Gbps/Poland

Nazwa, a Polish hosting company, had a good 4GB k...

How to add a sidebar to the article page of the Twenty Eleven theme?

The Twenty Eleven theme is beautiful and highly c...

AlphaSSL SSL Offer: $8/5 Years

You read it right, it’s 8 US dollars for 5 years,...

Ubiquity VPS – Virtuozzo 256M $17.95/month 50% off for the first month

Coupon code : 55deal2010 Discount content : 55% o...

Delimiter: $29/month/Dual L5630/24GB memory/1TB space/20TB traffic/Atlanta

Delimiter, a low-cost dedicated server provider, ...

httpzoom: $7/month/512MB memory/200GB space/2TB traffic/KVM/Dallas

httpzoom, which has been introduced many times, n...

Host4Run: $5/month/512MB RAM/20GB SSD/1TB bandwidth/OpenVZ/Las Vegas

Host4Run, an American hosting provider, seems to ...

SpeedyKVM: $3.8/month/2.6G memory/1TB hard disk/5TB traffic/KVM/Dallas

SpeedyKVM is a direct sub-brand of Incero Compute...

CR Servers: $20/month/1GB RAM/10GB storage/unlimited bandwidth/KVM/Costa Rica

CR Servers, a Costa Rican hosting provider, provi...