Skip to content

tonywww/installNET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

installNET

install Linux OS or Windows on linux server

Project short url: https://git.io/installnet

Table of Contents
  1. Install required tools
  2. Express Install Example
  3. Install Syntax
  4. Advance Example
  5. License

Instructions:

1. Install required tools on:

a. Debian / Ubuntu 16.04:

apt update
apt install -y xz-utils openssl gawk file wget

b. RedHat / CentOS:

#yum update
yum install -y xz openssl gawk file wget

2. Express Install Example (Debian10 x64, default root password is 'mypass'):

bash <(wget -qO- 'https://git.io/installNET.sh') -d 10 -v 64 -a -p 'mypass' -firmware

3. Install Syntax:

Please change the following default user and password after finishing installation.

Linux default user & password:
root / MoeClub.org
Windows default user & password:
Administrator / Vicer

Usage:


bash <(wget -qO- 'https://git.io/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
                                                   -p [default password]
  • dist-name: 发行版本代号
  • dist-version: 发行版本号
  • -apt/-yum/--mirror : 使用定义镜像
  • -a/-m : 询问是否能进入VNC自行操作. -a 为不提示(一般用于全自动安装), -m 为提示.
  • -p : set default password
  • -firmware:Load additional non-free firmwares 额外驱动支持
  • --ip-addr : IP Address/IP地址
  • --ip-gate : Gateway /网关
  • --ip-mask : Netmask /子网掩码

4. Advance Example

Automatically install using the default mirror

bash <(wget -qO- 'https://git.io/installNET.sh') -d 8 -v 64 -a

Automatically install using custom mirror

bash <(wget -qO- 'https://git.io/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 <(wget -qO- 'https://git.io/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 <(wget -qO- 'https://git.io/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'

License

BSD 2-Clause © tonywww

Credit: Vicer - MoeClub.org

About

install Linux OS or Windows on linux server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages