PumpBot Guide
Search
K

Run the Bots on Linux

Run the bots on a Linux VPS - thanks Ingo 😊
Use a cheaper Linux VPS

Why?

Linux VPS or cheaper than windows VPS, hence it is a good choice to use a Linux VPS for running bots 24/7. If you are new to see, watch one or two Youtube tutorials and you are good to go and you have a cheaper solution.

Requirements

  1. 1.
    wine
  2. 2.
    optional: tmux

1 Install wine to run windows applications on linux

1.1 Check architecture:

>>> lscpu

1.2 a) Install wine from repository depending on architecture

>>> sudo apt install wine64
or
>>> sudo apt install wine32
Check wine version:
>>> wine --version

1.2 b) Install wine from WineHQ repository

Add i386 architecture before installing 64-bit version:
>>> sudo dpkg --add-architecture i386
WineHQ signing key:
>>> cd /tmp
>>> wget -nc https://dl.winehq.org/wine-builds/winehq.key
>>> sudo mv winehq.key /usr/share/keyrings/winehq-archive.k
Add WineHQ repository:
>>> wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
>>> sudo mv winehq-jammy.sources /etc/apt/sources.list.d/
Update package list:
>>> apt update
Install wine:
>>> sudo apt install --install-recommends winehq-stable
Check wine version:
>>> wine --version

1.3) Start and use the Bot you want

Start bot:
>>> wine PumpBot.exe

2) Install tmux to run a Bot in background (e.g. Autotrader Bot, or Futures Bot)

2.1) Install tmux

>>> sudo apt-get install tmux

2.2) Start session

>>> tmux new -s session_name

2.3) Start PumpBot in tmux

>>> wine PumpBot.exe

2.4) Detach tmux session

Press "CTRL+B" followed by "D"

2.5) Attach tmux session

>>> tmux attach -t session_name

For multiple instances create multiple sessions

Just create multiple sessions and you are able to run different Bots on the same Linux VPS