Update README.md

This commit is contained in:
edschuy95 2025-09-04 18:41:56 +00:00
parent c6ba5b02b0
commit 323099e7d8

View file

@ -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'
```