This is tool to install Linux OS or Windows on linux server
You take your own risk to use this tools
It's not created by me, just reupload here to save it for my personal use.
Credit: Vicer - moeclub
apt-get update
apt-get install -y xz-utils openssl gawk file
yum update
yum install -y xz openssl gawk file
wget --no-check-certificate https://raw.githubusercontent.com/leonguyen52/installNET/master/InstallNET.sh && chmod -x InstallNET.sh
Debian 7 x32:
bash InstallNET.sh -d 7 -v 32
Debian 7 x64:
bash InstallNET.sh -d 7 -v 64
Debian 8 x32:
bash InstallNET.sh -d 8 -v 32
Debian 8 x64:
bash InstallNET.sh -d 8 -v 64
Debian 9 x32:
bash InstallNET.sh -d 9 -v 32
Debian 9 x64:
bash InstallNET.sh -d 9 -v 64
Ubuntu 14.04 x32:
bash InstallNET.sh -u trusty -v 32
Ubuntu 14.04 x64:
bash InstallNET.sh -u trusty -v 64
Ubuntu 16.04 x32:
bash InstallNET.sh -u xenial -v 32
Ubuntu 16.04 x64:
bash InstallNET.sh -u xenial -v 64
Ubuntu 17.04 x32:
bash InstallNET.sh -u zesty -v 32
Ubuntu 17.04 x64:
bash InstallNET.sh -u zesty -v 64
CentOS 6.8 32:
bash InstallNET.sh -c 6.8 -v 32 -a
CentOS 6.8 64:
bash InstallNET.sh -c 6.8 -v 64 -a
CentOS 6.9 32:
bash InstallNET.sh -c 6.9 -v 32 -a
CentOS 6.9 64:
bash InstallNET.sh -c 6.9 -v 64 -a
bash InstallNET.sh -dd 'link-to-vhd-image'
# Automatically install using the default mirror
bash InstallNET.sh -d 8 -v 64 -a
# Automatically install using custom mirror
bash InstallNET.sh -c 6.9 -v 64 -a --mirror 'http://mirror.centos.org/centos'
# In the following example, replace X.X.X.X with its own network parameters.
# --ip-addr :IP Address
# --ip-gate :Gateway
# --ip-mask :Netmask
#Use custom mirror and custom Network Parameters
#bash InstallNET.sh -u 16.04 -v 64 -a --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x --mirror 'http://archive.ubuntu.com/ubuntu'
#Use the custom network parameters to install windows
#bash InstallNET.sh --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x -dd 'link-to-image-vhd'