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

Mailchannels Email Service: 10,000 emails per month, €65 per year

Mailchannels provides professional email services...

kihihosting: $3/month/512MB RAM/180GB storage/500GB traffic/1 IP

Kihihosting, a Canadian hosting provider, was fou...

OVH E3-1245v5 32GB memory 250Mbps bandwidth Singapore dedicated server review

Details: OVH: €49.99/month/E3-1245v5/32GB memory/...

Delimiter: $20/month/Dual E5420/16GB memory/1TB space/10TB traffic/1 IP

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

$1.95/month/10G space/300G traffic/virtual host: NetworkPanda

NetworkPanda is an American hosting company found...

PieLayer: $14/year/256MB RAM/10GB SSD/250GB bandwidth/OpenVZ

PieLayer is an American hosting company that was ...

AlphaVPS: €25/month/2*L5630/16GB RAM/1TB HDD/10TB traffic/5 IP/Bulgaria

AlphaVPS, an American hosting company, was establ...

IP-Projects: €12.9/month/8GB RAM/60GB NVMe space/unlimited traffic/KVM/Germany

IP-Projects, a long-established German hosting co...

NFOrce: €199/month/16GB RAM/72TB HDD/unlimited traffic/Netherlands

NFOrce, a Dutch hosting provider, was founded in ...

VPSBiT: $3/month/1GB RAM/8GB SSD/500GB bandwidth/XEN/Europe

VPSBiT, a European hosting provider, vps is based...

MyServerPlanet: £2.49/year/512MB RAM/10GB Space/500GB Bandwidth/NAT/OpenVZ

My Server Planet Ltd, a British hosting company, ...