Update README.md
This commit is contained in:
parent
c6ba5b02b0
commit
323099e7d8
1 changed files with 12 additions and 10 deletions
22
README.md
22
README.md
|
|
@ -17,7 +17,7 @@ Feel free to adapt the script and submit changes that will contribute!
|
|||
|
||||
Install alpine pre-reqs:
|
||||
```
|
||||
apk add bash bash-completion gcompat
|
||||
apk add gcompat
|
||||
```
|
||||
|
||||
Download script with this url: `https://sources.gtsvr.net/edschuy95/LinuxRMM-Alpine-Script/raw/branch/main/rmmagent-linux.sh`
|
||||
|
|
@ -40,8 +40,9 @@ This ensures the script adapts to different system types automatically without n
|
|||
## Install
|
||||
To install the agent, launch the script with this argument:
|
||||
|
||||
```bash
|
||||
bash ./rmmagent-linux.sh install 'Mesh agent' 'API URL' 'Client ID' 'Site ID' 'Auth Key' 'Agent Type'
|
||||
```ash
|
||||
chmod +x ./rmmagent-linux.sh
|
||||
./rmmagent-linux.sh install 'Mesh agent' 'API URL' 'Client ID' 'Site ID' 'Auth Key' 'Agent Type'
|
||||
```
|
||||
The compiling can be quite long, don't panic and wait few minutes... USE THE 'SINGLE QUOTES' IN ALL FIELDS!
|
||||
|
||||
|
|
@ -79,23 +80,24 @@ The arguments are:
|
|||
Can be *server* or *workstation* and define the type of agent.
|
||||
|
||||
### Example
|
||||
```bash
|
||||
bash ./rmmagent-linux.sh install 'https://mesh.example.com' 'https://api.example.com' 3 1 'XXXXX' server
|
||||
```ash
|
||||
chmod +x ./rmmagent-linux.sh
|
||||
./rmmagent-linux.sh install 'https://mesh.example.com' 'https://api.example.com' 3 1 'XXXXX' server
|
||||
```
|
||||
|
||||
## Update
|
||||
|
||||
Simply launch the script with *update* as argument.
|
||||
|
||||
```bash
|
||||
bash ./rmmagent-linux.sh update
|
||||
```ash
|
||||
./rmmagent-linux.sh update
|
||||
```
|
||||
|
||||
## Uninstall
|
||||
To uninstall the agent, launch the script with this argument:
|
||||
|
||||
```bash
|
||||
bash ./rmmagent-linux.sh uninstall 'Mesh FQDN' 'Mesh ID'
|
||||
```ash
|
||||
./rmmagent-linux.sh uninstall 'Mesh FQDN' 'Mesh ID'
|
||||
```
|
||||
Note: Single quotes must be around the Mesh ID for it to uninstall the mesh agent properly
|
||||
|
||||
|
|
@ -113,7 +115,7 @@ The argument are:
|
|||
You are looking for a 64 charaters long value of random letter case, numbers, and special characters.
|
||||
|
||||
### Example
|
||||
```bash
|
||||
```ash
|
||||
./rmmagent-linux.sh uninstall mesh.example.com 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue