Add Code
This commit is contained in:
32
README.md
Normal file
32
README.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# netupgrade
|
||||
|
||||
Servers full upgrade script
|
||||
|
||||
## Where to use
|
||||
|
||||
- On a dedicated server (bastion, ...)
|
||||
- On your computer with an alias to your dedicated server
|
||||
- On your computer (not recommended)
|
||||
|
||||
## Install
|
||||
|
||||
### Bin as root
|
||||
|
||||
``` bash
|
||||
cp bin/netupgrade to /usr/local/bin
|
||||
```
|
||||
|
||||
### Config as user
|
||||
|
||||
``` bash
|
||||
mkdir -p ~/.config/netuprade
|
||||
touch ~/.config/netuprade/index.cfg
|
||||
```
|
||||
|
||||
### Alias on your computer with a dedicated server
|
||||
|
||||
You can save it in your .bashrc
|
||||
|
||||
``` bash
|
||||
alias netupgrade='ssh -t user@10.0.0.10 netupgrade'
|
||||
```
|
||||
Reference in New Issue
Block a user