How to install & run DarkBot in Linux?
1. Installing DarkBot on own PC
- create a new user (don't use "root");
- open terminal, copy-paste this.command and click enter:
wget -P Downloads https://github.com/0dayYakuza/darkbot_linux/archive/refs/heads/main.zip && cd Downloads && unzip main.zip && cd darkbot_linux-main && sh install_desktop.sh
2. Installing DarkBot on VPS
- download PuTTy or any similar app and connect to VPS;
PuTTy link: https://www.putty.org/ (opens in a new tab)
- create a new user (don't use "root");
- open terminal, copy-paste this.command and click enter:
wget -P Downloads https://github.com/0dayYakuza/darkbot_linux/archive/refs/heads/main.zip && cd Downloads && unzip main.zip && cd darkbot_linux-main && sh install_vps.sh - When the installation is completed, close terminal and connect to VPS via Remote Desktop Connection (RDP).
3. How to run DarkBot?
Open terminal and type next command:
cd Downloads/darkbot && java -jar DarkBot.jar4. Troubleshooting
- 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
- unknown command unzip
- sudo yum install uzip
- AppImages require FUSE to run.
- sudo apt install fuse -y && sudo apt install libfuse2 -y
5. FAQ
- 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.