How to install & run DarkBot in Linux?

1. Installing DarkBot on own PC

  1. create a new user (don't use "root");
  2. 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

  1. download PuTTy or any similar app and connect to VPS;

PuTTy link: https://www.putty.org/ (opens in a new tab)

  1. create a new user (don't use "root");
  2. 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
  3. 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.jar

4. Troubleshooting

  1. If the bot asks for verification, open your browser manually, navigate to http://localhost:55230/ and authorize your discord account.
  2. 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.
  3. unknown command wget
  • sudo yum install wget
  1. unknown command unzip
  • sudo yum install uzip
  1. AppImages require FUSE to run.
  • sudo apt install fuse -y && sudo apt install libfuse2 -y

5. FAQ

  1. install_desktop.sh is:
  • updating system & installing java 17;
  • downloading darkbot.zip & unzipping all files & deleting archives.
  1. install_vps.sh is:
  • updating system & installing java 17;
  • installing & configuring GUI and xRDP;
  • downloading darkbot.zip & unzipping all files & deleting archives.