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:
|
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`
|
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
|
## Install
|
||||||
To install the agent, launch the script with this argument:
|
To install the agent, launch the script with this argument:
|
||||||
|
|
||||||
```bash
|
```ash
|
||||||
bash ./rmmagent-linux.sh install 'Mesh agent' 'API URL' 'Client ID' 'Site ID' 'Auth Key' 'Agent Type'
|
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!
|
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.
|
Can be *server* or *workstation* and define the type of agent.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
```bash
|
```ash
|
||||||
bash ./rmmagent-linux.sh install 'https://mesh.example.com' 'https://api.example.com' 3 1 'XXXXX' server
|
chmod +x ./rmmagent-linux.sh
|
||||||
|
./rmmagent-linux.sh install 'https://mesh.example.com' 'https://api.example.com' 3 1 'XXXXX' server
|
||||||
```
|
```
|
||||||
|
|
||||||
## Update
|
## Update
|
||||||
|
|
||||||
Simply launch the script with *update* as argument.
|
Simply launch the script with *update* as argument.
|
||||||
|
|
||||||
```bash
|
```ash
|
||||||
bash ./rmmagent-linux.sh update
|
./rmmagent-linux.sh update
|
||||||
```
|
```
|
||||||
|
|
||||||
## Uninstall
|
## Uninstall
|
||||||
To uninstall the agent, launch the script with this argument:
|
To uninstall the agent, launch the script with this argument:
|
||||||
|
|
||||||
```bash
|
```ash
|
||||||
bash ./rmmagent-linux.sh uninstall 'Mesh FQDN' 'Mesh ID'
|
./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
|
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.
|
You are looking for a 64 charaters long value of random letter case, numbers, and special characters.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
```bash
|
```ash
|
||||||
./rmmagent-linux.sh uninstall mesh.example.com 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
./rmmagent-linux.sh uninstall mesh.example.com 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue