This commit is contained in:
36
README.md
36
README.md
@ -5,15 +5,23 @@ A system management tool for server operations, written in C++.
|
||||
## Installation
|
||||
|
||||
```
|
||||
curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/install.sh | sudo bash
|
||||
curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/install.sh | bash
|
||||
```
|
||||
|
||||
This installs as dropshell, with a symlink ds if the ds command does not already exist.
|
||||
This installs as dropshell for the local user, with a symbolic link ds.
|
||||
You'll need to run:
|
||||
```
|
||||
~/.local/bin/dropshell edit
|
||||
~/.local/bin/dropshell install
|
||||
source ~/.bashrc
|
||||
```
|
||||
to configure dropshell and install the local components.
|
||||
|
||||
## Installation of Agent
|
||||
## Remote Server Setup
|
||||
|
||||
Install the Agent on each server you wish to manage. Supports amd64 (x86_64) and arm64 (aarch64) architectures.
|
||||
### Initial setup
|
||||
|
||||
Auto setup script which creates a dropshell user, and includes installing docker if not already present:
|
||||
```
|
||||
curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/server_autosetup.sh | sudo bash
|
||||
```
|
||||
@ -26,7 +34,21 @@ Manual steps:
|
||||
1. Test ssh'ing into the server.
|
||||
|
||||
|
||||
## Install Services
|
||||
### Configure and Use Remote Server
|
||||
|
||||
Set up a server and install a service:
|
||||
1. `ds create-server SERVERNAME`
|
||||
#### Add to local dropshell configuration, and install remote agent
|
||||
Back on the dropshell host:
|
||||
1. `dropshell create-server SERVERNAME`
|
||||
1. `dropshell edit SERVERNAME`
|
||||
1. `dropshell install SERVERNAME`
|
||||
|
||||
#### Install Services
|
||||
Create and install a service
|
||||
1. `ds template list` -- see what templates are available to install.
|
||||
1. `ds create-service SERVERNAME SERVICENAME TEMPLATE`
|
||||
1. `ds edit SERVERNAME SERVICENAME`
|
||||
1. Edit other config files if needed.
|
||||
1. `ds install SERVERNAME SERVICENAME`
|
||||
1. `ds list`
|
||||
|
||||
The service should now be seen to be running.
|
||||
|
Reference in New Issue
Block a user