One-click script for network installation of Debian/Ubuntu/CentOS/Windows pure version under Linux

888u

Last update at :2024-05-28,Edit by888u

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

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

1. Install 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 script

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

3. Install the system (1) Install 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

(2) Install Ubuntu versions 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

(3) Install CentOS versions 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'

(4) Install Windows Server2012 R2 data center This is recommended for DD installation under Debian9.

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

Features of this version: The original system only adds drivers Package anti-ransomware patches and block ports 135, 137, 138, 139, and 445 on the firewall Automatically enable remote login (the password needs to be set by yourself during installation) Login cancel ctrl alt delete The system disk defaults to 12G, please use extended volumes to add others

4. Detailed explanation of using 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: release version codename # dist-version: release version number # -apt/-yum/--mirror: use the definition mirror # -a/-m: Ask whether you can enter VNC and operate by yourself. -a means no prompt (generally used for fully automatic installation), -m means prompt.

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

Recommended site search: registered domain name rental, foreign virtual host, website space rental, space server, mobile server hosting, Sichuan virtual host, anti-attack IP, vps host, 6 yuan Alibaba Cloud shared virtual host, registration-free virtual space,

One-click script for network installation of Debian/Ubuntu/CentOS/Windows pure version under Linux

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码