Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Want to start with Debian 12? why don't try my Linux reinstall script? All is free!
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Want to start with Debian 12? why don't try my Linux reinstall script? All is free!

letsvpsletsvps Member
edited May 2023 in General

Hey guys. I'm glad to introduce you the "Linux reinstall" which I developed was accessed a widely testing and support you to install from Debian series(Debian / Ubuntu / Kali) and Redhat series(only based on RedHat 7+, grub2 include CentOS / AlmaLinux / RockyLinux / OracleLinux / Fedora / VzLinux / ScientificOS / RedHat Enterprise Linux / Tencent OpenCloudOS / AWS AmazonLinux / AlibabaCloudLinux or AliyunLinux / OpenAnolis) to any system that script supported system (Debian / Ubuntu / Kali / CentOS / AlmaLinux / RockyLinux / Fedora), of course, Debian 12 is supported! You can use this script for free to start a purely, perfectly Linux experience, not restricted from any Cloud providers!

Github page: https://github.com/leitbogioro/Tools

welcome to star for my project! If you have any troubles by using, you can open an issue or ask me by telegram!

https://t.me/moricalau

Download:

wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh

Servers in mainland of China:

wget --no-check-certificate -qO InstallNET.sh 'https://gitee.com/mb9e8j2/Tools/raw/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh

Dependences:

Debian series:

apt update -y

apt install wget -y

RedHat series:

yum install wget -y

or:

dnf install wget -y

Quickly start

If you need to add other parameters, version number must be assigned!

Debian 12

bash InstallNET.sh -debian

Kali Rolling

bash InstallNET.sh -kali

Kali can be installed and run in OracleCloud Ampere A1 ARM64 machine successfully but there are not any output results in VNC screen, just waiting patiently after installation has been finished!

CentOS 9 stream

bash InstallNET.sh -centos

AlmaLinux 9

bash InstallNET.sh -almalinux

RockyLinux 9

bash InstallNET.sh -rockylinux

Fedora 38

bash InstallNET.sh -fedora

Ubuntu 20.04

bash InstallNET.sh -ubuntu

Fully useage sample:

bash InstallNET.sh -debian/kali/ubuntu/centos/almalinux/rockylinux/fedora(os type) 11(os version) -version 64(os bit, not necessary) -port "your server port" -pwd "your server password" -mirror "a valid url for linux image source" -dd/--image "dd image url" -filetype "gz or xz" -timezone "like Asia/Tokyo etc" --dhcp-static/--ip-addr 'x.x.x.x'(ip address) --ip-mask 'x.x.x.x'(subnet mask) --ip-gate 'x.x.x.x'(gateway) -firmware(Debian with hardware drivers)

Parameters detail descriptions:

-debian 9/10/11/12 : Debian 9 and later

-kali rolling/dev/experimental : Kali Rolling, Development and Experimental, "Kali Rolling" is most recommend obviously.

-centos 7/8/9-stream: CentOS 7 and later

-almalinux/alma 8/9: AlmaLinux 8 and later

-rockylinux/rocky 8/9: RockyLinux 8 and later

-fedora 36/37/38: Fedora 36 and later

-ubuntu 16.04/18.04/20.04: Ubuntu from 16.04 to 20.04

-mirror "a valid DIST mirror url": OS install files resource, you can select one which nearest for actual location of your server to upspeed installation.

For Debian, official recommend mirror lists are here:

https://www.debian.org/mirror/list.html

For Kali, official recommend mirror lists are here:

https://http.kali.org/README.mirrorlist

For CentOS 7 and 8-stream, official recommend mirror lists are here:

https://www.centos.org/download/mirrors/

For CentOS 9-stream and later, official recommend mirror lists are here:

https://admin.fedoraproject.org/mirrormanager/mirrors/CentOS

For AlmaLinux, official recommend mirror lists are here:

https://mirrors.almalinux.org/

For RockyLinux, official recommend mirror lists are here:

https://mirrors.rockylinux.org/mirrormanager/mirrors

For Fedora, official recommend mirror lists are here:

https://admin.fedoraproject.org/mirrormanager/mirrors/Fedora

For Ubuntu, official recommend mirror lists are here:

https://launchpad.net/ubuntu/+cdmirrors

-port "": you can pre-specify ssh port of system, range is 1~65535, both Redhat series or Debian series could be supported, default is '22'.

-pwd '': you can pre-specify ssh password of system, both Redhat series or Debian series could be supported, default is 'LeitboGi0ro'.

-dd/--image "DD image from a valid url": This parameter is for DD mode in KVM or XEN virtualization platform, current os must be Debian series, for example, if you want to DD windows, you can refer to chapter "How to install Windows?" to get more in this document.

-filetype "gz/xz": To determine DD file type, not only ".gz"(default) but also ".xz" can be supported.

-timezone "like Asia/Tokyo etc": It means assign timezone manually, if you are using a proxy to connect to your machine and then execute "InstallNET.sh", automatic timezone configuration may not suitable for you in this situation.

-raid "0": Only for Debian 10 raid 0 disk partition recipe, Debian 11+ doesn't work, if your machine has only one hard drive, don't assign it!

--network "dhcp/auto" or "static/manual": Default to use DHCP to finish network configuration. If your cloud provider is a small or middle merchant, the network of your machine may be static so you need to add it. it is equal with add --ip-addr "" --ip-mask "" --ip-gate "", if you add this, don't distribute the following three items again! It must be added in the last of the command.

--ip-addr "IPv4 address": It must be added with --ip-gate and --ip-mask together, if you have added --network "static/manual", don't assign it again!

--ip-gate "IPv4 gateway": It must be added with --ip-addr and --ip-mask together, if you have added --network "static/manual", don't assign it again!

--ip-mask "IPv4 subnet musk": It must be added with --ip-addr and --ip-gate together, if you have added --network "static/manual", don't assign it again!

--ip-dns "IPv4 DNS server": This one is only for static network configuration and default is 1.0.0.1 and 8.8.4.4, you can also change other IPv4 dns server like 8.8.8.8, 9.9.9.9, 4.4.2.2 etc to replace it. If the network of your machine is DHCP, don't assign it!

--ip6-addr "IPv6 address": It must be added with --ip6-gate and --ip6-mask together, if you have added --network "static/manual", don't assign it again!

--ip6-gate "IPv6 gateway": It must be added with --ip6-addr and --ip6-mask together, if you have added --network "static/manual", don't assign it again!

--ip6-mask "IPv6 subnet musk": It must be added with --ip6-addr and --ip6-gate together, if you have added --network "static/manual", don't assign it again!

--ip6-dns "IPv6 DNS server": This one is only for static network configuration and default is 2606:4700:4700::1001 and 2001:4860:4860::8844, you can also change other IPv6 dns server to replace it. If the network of your machine is DHCP, don't assign it!

--setipv6 "0 is disabled": Default will enable IPv6, if your machine is IPv4 stack and provided by Racknerd and Virmach etc. they will give IPv6 DNS for IPv4 stack server, the server will access to invalid IPv6 network for priority, not IPv4 first, you can remove all IPv6 modules force in new os by adding --setipv6 "0" to avoid the situation of above.

--adapter "real network adapter interface name of the machine, like ens3, enp6s0 etc.": If the kernel is added parameter "net.ifnames=0" or "biosdevname=0", all different network adapters' name will be directed to the same like "eth0", "eth1" etc. If you know the the real name of the network adapter and want let them to replace "eth0", please input the correct value, if you are not sure the real name of it, don't assign it!

--netdevice-unite: This function has an opposite effect of --adapter "real interface name", it will add "net.ifnames=0 biosdevname=0" to the kernel to redirect all different network adapters' interface name to united "eth0", this one don't need to assign any value, I suggest you that before input it and start OS installation, you should backup the real name of the network adapter carefully!

-netbootxyz: Use netbootXYZ(https://netboot.xyz/) to install netbootXYZ supported OS manually, must have VNC, only for x86_64 and AMD64 with BIOS firmware(UEFI is not supported!)

-allbymyself: Install OS supported by this script manually, must have VNC.

-firmware: Specify drivers for Debian or Kali to support old hardwares, if your server location is in mainland China, program will switch to mirror of 'University of Science and Technology of China(https://mirrors.ustc.edu.cn/debian-cdimage/)' for downloading more quickly, default mirror is from http://cdimage.debian.org/cdimage/.

-setdisk "all": If your machine has 2 or more hard drives, and every hard drive want to format during the installation, you can assign -setdisk "all" to enable it, data is invaluable, you should deal with them carefully! This parameter is only suitable for Debian/Kali.

-version 32/i386 or 64/amd64 or arm/arm64: OS bit. Program will automatically detect and redirect the CPU architecture from your machine to new system which would be installed, if you aren't known it well, don't assign it!

Advanced usage, for example Debian 12 (recommend for servers which are locating outside of mainland China)

Japan:

bash InstallNET.sh -debian 12 -mirror "http://ftp.riken.jp/Linux/debian/debian/"

HongKong:

bash InstallNET.sh -debian 12 -mirror "http://ftp.hk.debian.org/debian/"

Singapore:

bash InstallNET.sh -debian 12 -mirror "http://ftp.sg.debian.org/debian/"

South Korea:

bash InstallNET.sh -debian 12 -mirror "http://ftp.kddilabs.jp/pub/debian/"

Taiwan:

bash InstallNET.sh -debian 12 -mirror "http://ftp.tw.debian.org/debian/"

America:

bash InstallNET.sh -debian 12 -mirror "https://mirrors.ocf.berkeley.edu/debian/"

Canada:

bash InstallNET.sh -debian 12 -mirror "http://ftp.ca.debian.org/debian/"

Britain:

bash InstallNET.sh -debian 12 -mirror "http://ftp.uk.debian.org/debian/"

Germany:

bash InstallNET.sh -debian 12 -mirror "http://ftp.de.debian.org/debian/"

France:

bash InstallNET.sh -debian 12 -mirror "http://ftp.fr.debian.org/debian/"

Netherlands:

bash InstallNET.sh -debian 12 -mirror "http://ftp.nl.debian.org/debian/"

Switzerland:

bash InstallNET.sh -debian 12 -mirror "http://ftp.ch.debian.org/debian/"

Russia:

bash InstallNET.sh -debian 12 -mirror "http://ftp.ru.debian.org/debian/"

Australia:

bash InstallNET.sh -debian 12 -mirror "http://ftp.au.debian.org/debian/"

Default configurations
Time zone

Depends on the geo-location of guest's IP(automode) or "Asia/Tokyo"(if the format of the input parameter is incorrect or it's not supported by current operating system in manual mode)

Default user name

root

Default password

LeitboGi0ro

Default port

22

If you didn't assign any other ssh password or port, after system installation, you must change password(LeitboGi0ro) and ssh port(22) immediately to prevent unauthorized access!

Defects:

  • Not support for Ubuntu 22.04(jammy) and further versions because Canonical has deprecated the traditions which were also applied together with Debian by forcing users to download a huge several gigabytes iso image and then load it in its' fuckin Cloud-init instead of just two simply a hundred megabytes total network boot files by PXE boot, it runs in QEMU environment and CPU hardware virtualization must be demanded but most of VPS can't handle it well at all. Canonical has developed into a mature commercial company which intends to earn more money from major partners so they discrimes their personal users intentionally who are low-end clients in their conceptions certainly despite these users were their devoted fans since always and helped Canonical to make great achieves today step by step. According to the behavior of discarding a large amount of former precious Debian installer preseed heritances, Canonical would play a role as a guilty dictator like Apple.Inc in more areas and then violate the spirit of the universal free software finally.

  • For Redhat series 8, the minimum memory requirement is 2.5GB, for Redhat series 9, the minimum memory requirement is 2GB.

  • Because the syntax of grub1 in Redhat series 6 is different from other Linux version of grub1 or grub2 completely, so I removed support to CentOS 6 and Oracle Linux 6.

Comments

Sign In or Register to comment.