mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 13:44:50 +08:00
Update README.md
This commit is contained in:
parent
9749b80818
commit
6c8c78cce1
1 changed files with 4 additions and 5 deletions
|
@ -27,6 +27,7 @@ Something about scripts
|
||||||
- Disable ntp clock setup for static network in Debian/Ubuntu installation otherwise it may cause static network failed.
|
- Disable ntp clock setup for static network in Debian/Ubuntu installation otherwise it may cause static network failed.
|
||||||
- Fix if input --ip-addr "" --ip-mask "" --ip-gate "", static network configuration may not valid.
|
- Fix if input --ip-addr "" --ip-mask "" --ip-gate "", static network configuration may not valid.
|
||||||
- Support config timezone automatically according to the geo-location of the guest's IP or determine an existed timezone parameter to config it manually is also be supported.
|
- Support config timezone automatically according to the geo-location of the guest's IP or determine an existed timezone parameter to config it manually is also be supported.
|
||||||
|
- Concentrate all needed installation of dependences to inner command excerpt "wget".
|
||||||
|
|
||||||
![1](1.jpg)
|
![1](1.jpg)
|
||||||
|
|
||||||
|
@ -45,10 +46,8 @@ to make changes validating!
|
||||||
## Dependences:
|
## Dependences:
|
||||||
Debian series(Debian/Ubuntu):
|
Debian series(Debian/Ubuntu):
|
||||||
<pre><code>apt update -y</code></pre>
|
<pre><code>apt update -y</code></pre>
|
||||||
<pre><code>apt install xz-utils dnsutils wget file efibootmgr -y</code></pre>
|
Redhat series(CentOS/Almalinux/Rockylinux/Oraclelinux/Fedora/VzLinux):
|
||||||
Redhat series(CentOS/Almalinux/Rockylinux/Oraclelinux/Fedora):
|
|
||||||
<pre><code>yum update --allowerasing -y</code></pre>
|
<pre><code>yum update --allowerasing -y</code></pre>
|
||||||
<pre><code>yum install xz dnsutils wget file efibootmgr -y</code></pre>
|
|
||||||
|
|
||||||
## Quickly start
|
## Quickly start
|
||||||
If you need to add other parameters, version number must be assigned!
|
If you need to add other parameters, version number must be assigned!
|
||||||
|
@ -66,7 +65,7 @@ If you need to add other parameters, version number must be assigned!
|
||||||
<pre><code>bash InstallNET.sh -ubuntu</code></pre>
|
<pre><code>bash InstallNET.sh -ubuntu</code></pre>
|
||||||
|
|
||||||
## Fully useage sample
|
## Fully useage sample
|
||||||
<pre><code>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" --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)</code></pre>
|
<pre><code>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" -timezone "like Asia/Tokyo etc" -filetype "gz or xz" --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)</code></pre>
|
||||||
|
|
||||||
## Parameters Descriptions
|
## Parameters Descriptions
|
||||||
**-debian 9/10/11** : Debian 9 and later
|
**-debian 9/10/11** : Debian 9 and later
|
||||||
|
|
Loading…
Reference in a new issue