mirror of https://github.com/bohanyang/debi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.1 KiB
2.1 KiB
Setup Clean Debian OS for Your (Cloud) VPS
Step 1. (Todo)
Step 2. Run the Script
Replace following <OPTIONS> with your options.
sudo sh -c "$(wget -O - https://github.com/brentybh/debian-netboot/raw/master/netboot.sh)" -- <OPTIONS>
All Options
-c <COUNTRY>Debian Installer Country. Default isUS.-h <HOST>Hostname. Default isdebian.-x <TRANSPORT>Transport protocol for archive mirror only (not security repo). Default ishttp.httpsandftpis also available.-m <MIRROR>Host name for archive mirror only (not security repo). Default isdeb.debian.org.-d <DIRECTORY>Directory path relative to root of the mirror. Default is/debian.-r <SUITE>Suite to install. Suite name (stable,testing, etc.) or releases code name (stretch, etc.) Default isstretch.-u <USERNAME>Username of admin account with sudo privilege. Default isdebian.-p <PASSWORD>Password of the account. If not specified, it will be asked interactively.-z <TIMEZONE>Time zone. Default isUTC.-t <NTPSERVER>NTP server. Default ispool.ntp.org.-s <SECURITY>Custom URL for security repository mirror. Default ishttp://security.debian.org/debian-security.-lSecurity mirror linking. If the option present, security repository will be setup as same as the archive mirror instead ofsecurity.debian.org.
Chinese Special
If -c CN is used, Chinese Special options will be setup for good connectivity and experience against GFW.
- Default archive mirror is
https://chinanet.mirrors.ustc.edu.cn/debian. - Default security mirror is
https://chinanet.mirrors.ustc.edu.cn/debian-security. - Default time zone is
Asia/Shanghai. - Default NTP server is
ntp1.aliyun.com. - All custom settings will override above defaults.
- Security mirror linking (
-l) will be turned on and can't be turned off. Specify separate security mirror by-soption.
Finally, reboot and enter Debian Installer. It will setup all things automatically.