Tools/README.md

49 lines
1.6 KiB
Markdown
Raw Normal View History

2018-10-22 22:45:40 +08:00
# Tools
Something about scripts
2018-10-10 16:22:16 +08:00
# Linux reinstall useage
## Notes:
If your VPS is base by Bandwagon and reinstalled OS which constructed by Bandwagon just now, you must reboot and then execute it.
## Download:
<pre><code>wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/WedTools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh</code></pre>
## Install
2018-10-10 16:30:57 +08:00
### Useage
<pre><code>bash InstallNET.sh -[OS name] [OS version] -v [Architecture] -a[Automatic, recommend]/m[Manually in VNC]</pre></code>
2018-10-10 16:32:42 +08:00
### Parameters Describes
2018-10-10 16:30:57 +08:00
d: Debian
2018-10-10 16:31:31 +08:00
<br />
2018-10-10 16:30:57 +08:00
u: Ubuntu
2018-10-10 16:31:31 +08:00
<br />
2018-10-10 16:30:57 +08:00
c: CentOS
2018-10-10 16:31:31 +08:00
<br />
2018-10-10 16:30:57 +08:00
Architecture: 32/i386 64/amd64
2018-10-10 16:31:31 +08:00
<br />
2018-10-10 16:30:57 +08:00
for example:
2018-10-10 16:22:16 +08:00
### Debian 8
<pre><code>bash InstallNET.sh -d 8 -v 64 -a</code></pre>
### Debian 9
<pre><code>bash InstallNET.sh -d 9 -v 64 -a</code></pre>
### Ubuntu 16.04
<pre><code>bash InstallNET.sh -u 16.04 -v 64 -a</code></pre>
### Ubuntu 18.04
<pre><code>bash InstallNET.sh -u 18.04 -v 64 -a</code></pre>
### Cent OS 6
<pre><code>bash InstallNET.sh -c 6.9 -v 64 -a</code></pre>
### Cent OS 7
<pre><code>bash InstallNET.sh -c 7.5 -v 64 -a</code></pre>
2018-10-10 16:24:37 +08:00
## Default Configurations
### Time zone
Shanghai Asia
### User name
root
### Password
Vicer
2018-10-10 16:33:05 +08:00
<br />
2018-10-10 16:33:23 +08:00
<br />
2018-10-10 16:24:37 +08:00
<b>After installed system, you must change passwords immediately.</b>
2018-10-22 22:45:40 +08:00
<br />
# 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
·