diff --git a/README.md b/README.md index 9a64fe7..5f088da 100644 --- a/README.md +++ b/README.md @@ -36,4 +36,266 @@ Something about scripts to make changes validating! ## 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. +- 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. +- All system templates of GCP are not supported. + +## Download: +
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
+
+## Dependences:
+Debian series(Debian / Ubuntu):
+apt update -y
+apt install wget -y
+Redhat series(CentOS / AlmaLinux / RockyLinux / OracleLinux / Fedora / VzLinux):
+yum update --allowerasing -y
+yum install wget -y
+
+## Quickly start
+If you need to add other parameters, version number must be assigned!
+### Debian 11
+bash InstallNET.sh -debian
+### CentOS 9 stream
+bash InstallNET.sh -centos
+### AlmaLinux 9
+bash InstallNET.sh -almalinux
+### RockyLinux 9
+bash InstallNET.sh -rockylinux
+### Fedora 37
+bash InstallNET.sh -fedora
+### Ubuntu 20.04
+bash InstallNET.sh -ubuntu
+
+## Fully useage sample
+bash InstallNET.sh -debian/ubuntu/centos/almalinux/rockylinux/fedora(os type) 11(os version) -version 64(os bit) -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** : Debian 9 and later
+https://www.debian.org/mirror/list.html
+https://www.centos.org/download/mirrors/
+https://mirrors.almalinux.org/
+https://mirrors.rockylinux.org/mirrormanager/mirrors
+https://admin.fedoraproject.org/mirrormanager/mirrors/Fedora
+https://launchpad.net/ubuntu/+cdmirrors
+bash InstallNET.sh -debian 11 -mirror "http://ftp.riken.jp/Linux/debian/debian/"
+HongKong:
+bash InstallNET.sh -debian 11 -mirror "http://ftp.hk.debian.org/debian/"
+Singapore:
+bash InstallNET.sh -debian 11 -mirror "http://ftp.sg.debian.org/debian/"
+South Korea:
+bash InstallNET.sh -debian 11 -mirror "https://ftp.jaist.ac.jp/pub/Linux/debian/"
+Taiwan:
+bash InstallNET.sh -debian 11 -mirror "http://ftp.tw.debian.org/debian/"
+America:
+bash InstallNET.sh -debian 11 -mirror "https://mirrors.ocf.berkeley.edu/debian/"
+Canada:
+bash InstallNET.sh -debian 11 -mirror "http://ftp.ca.debian.org/debian/"
+Britain:
+bash InstallNET.sh -debian 11 -mirror "http://ftp.uk.debian.org/debian/"
+Germany:
+bash InstallNET.sh -debian 11 -mirror "http://ftp.de.debian.org/debian/"
+France:
+bash InstallNET.sh -debian 11 -mirror "http://ftp.fr.debian.org/debian/"
+Netherlands:
+bash InstallNET.sh -debian 11 -mirror "http://ftp.nl.debian.org/debian/"
+Russia:
+bash InstallNET.sh -debian 11 -mirror "http://ftp.ru.debian.org/debian/"
+Australia:
+bash InstallNET.sh -debian 11 -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
+bash InstallNET.sh -dd "DD image download URL"
+### Servers based on physical hardware, Intel network adapter, kimsufi etc:
+Change netboot to rescue mode, receive mail, get temporary username and password, log into linux, execute:
+wget -O- "DD download URL" | xzcat | dd of=/dev/sda
+### Available Windows DD images:
+#### Windows Server series from TeddySun(https://teddysun.com/):
+Username: Administrator
+rm -rf ~/.bashrc
+## Download .bashrc and reboot your system
+wget --no-check-certificate -qO ~/.bashrc 'https://raw.githubusercontent.com/leitbogioro/Tools/master/.bashrc' && chmod a+x .bashrc
+
+
reboot
+
+# GroupPolicy import and export
+This ".bat" script can only run in Windows. Although only one group-policy rule in Windows can be exported at a time and not support a global one and also have no GUI entrance to import another backuped group policy which exported from another computer. It can help you import or export GroupPolicy conveniently.
+## Attentions
+