Im currently writing my own zig implementation of the bdsm-server, as such this repository won't be updated anymore.
Can be used with the Basic Data Server Monitor (Client) to monitor your server's CPU, RAM and Disk usage.
Install and setup BDSM-Server by running that command:
curl 'https://raw.githubusercontent.com/firminsurgithub/bdsm-server/master/install-linux.sh' | bash
To update BDSM-Server, run that command:
curl 'https://raw.githubusercontent.com/firminsurgithub/bdsm-server/master/update-linux.sh' | bash
If you want to uninstall BDSM-Server, run that command:
curl 'https://raw.githubusercontent.com/firminsurgithub/bdsm-server/master/uninstall-linux.sh' | bash
The preferences are stored in /usr/share/bdsm-server/.env
Create .env file in root directory and add the following variables:
SERVER_NAME="My Awesome Server"
PORT=3040
PASSWORD="myawesomepassword"
(You can change the server name, port and password to whatever you want)
Then, run the following command:
# Install dependencies
npm install
# Start the server in a detached screen to keep it running even if you close the terminal
screen -S bdsm-server # On linux
# Start the server
npm start
(To exit the detached screen, press Ctrl + A
and then D
)
- @0x454d505459 - Contributor