1.5 KiB
1.5 KiB
Dropshell
A system management tool for server operations, written in C++.
Installation
curl -fsSL https://getbin.xyz/dropshell-install | bash
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.
Remote Server Setup
Initial setup
Auto setup script which creates a dropshell user, and includes installing docker if not already present:
curl -fsSL https://getbin.xyz/dropshell-server-autosetup | sudo bash
Manual steps:
apt install curl wget jqcurl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh && rm get-docker.shuseradd -m dropshell && usermod -aG docker dropshell && chsh -s /bin/bash dropshell- Put appropriate ssh keys in
/home/dropshell/.ssh/authorized_keys - Test ssh'ing into the server.
Configure and Use Remote Server
Add to local dropshell configuration, and install remote agent
Back on the dropshell host:
dropshell create-server SERVERNAMEdropshell edit SERVERNAMEdropshell install SERVERNAME
Install Services
Create and install a service
ds template list-- see what templates are available to install.ds create-service SERVERNAME SERVICENAME TEMPLATEds edit SERVERNAME SERVICENAME- Edit other config files if needed.
ds install SERVERNAME SERVICENAMEds list
The service should now be seen to be running.