1. on your own PC, then:
- create a new user (don't use "root");
- open terminal;
- copy-paste this.command and click enter:
curl https://raw.githubusercontent.com/NeewJax/darkbot_linux/main/install_desktop.sh | bash
2. on VPS, then:
- download PuTTy or any similar app and connect to VPS;
- create a new user (don't use "root");
- copy-paste this.command and click enter:
curl https://raw.githubusercontent.com/NeewJax/darkbot_linux/main/install_vps.sh | bash
- When the installation is completed, close terminal and connect to VPS via Remote Desktop Connection (RDP).
3. To run darkbot, type command in terminal:
- cd Downloads/darkbot && java -jar DarkBot.jar
- If the bot asks for verification, open your browser manually, navigate to http://localhost:55230/ and authorize your discord account.
- If the API fails to load, set API to tanos_api in the bot settings or delete config files from the bot folder and then try again.
- unknown command wget
- sudo yum install wget -y
- unknown command unzip
- sudo yum install uzip -y
- AppImages require FUSE to run.
- sudo apt install fuse -y && sudo apt install libfuse2 -y
- cURL not found/installed
- sudo apt install curl -y
install_desktop.sh is:
- updating system & installing java 17;
- downloading darkbot.zip & unzipping all files & deleting archives.
install_vps.sh is:
- updating system & installing java 17;
- installing & configuring GUI and xRDP;
- downloading darkbot.zip & unzipping all files & deleting archives.
Supported distributions:
- Alma Linux 9
- CentOS Stream 9
- Fedora 37
- Rocky Linux 9
- Ubuntu 22.04
- Linux Mint
- Debian 11
- Arch Linux
- Manjaro OS