Quick DEXBOT Installation
3 мин. чтения
📘 Installing DEXBOT — Quick Start
DEXBOT installs with a single command. The installer will download the bot, install all components, configure the database and security, and launch the bot. Finally, a file with all logins and passwords will be sent to your Telegram account.
What you’ll need #
- VPS with Ubuntu/Debian and SSH access (
rootor sudo user). - License key — issued after purchase.
- Telegram Bot Token — how to obtain, see below.
- Telegram administrator ID — how to find it, see below.
⚡ One-command installation #
Connect to the server via SSH (as described in the section below) and run:
curl -sL -o d https://storage.yandexcloud.net/dexbot/setup_dexbot.sh && sudo bash d
The installer will ask only 3 questions:
- License key
- Telegram Bot Token
- Telegram administrator ID
Everything else (database passwords, web panel passwords, etc.) is created automatically. Once complete, the bot will launch automatically, and a file with all access permissions and control commands will be sent to Telegram.
🤖 How to get a Telegram Bot Token #
- In Telegram, open @BotFather.
- Send the command
/newbot. - Create a name for the bot and its username (it must end with
bot). - BotFather will send a token of the form
123456789:AAE…— copy it.
🆔 How to find your Telegram ID (administrator) #
ID is your numeric identifier in Telegram. Getting it is easy:
- In Telegram, open the bot @userinfobot (or @getmyid_bot).
- Click Start or send any message.
- The bot will send your Id—a number like
123456789. This is the administrator ID.
💡 If there are multiple administrators, collect the IDs of each and enter them separated by commas: 123456789,987654321.
🔌 How to connect to the server (SSH) #
Option 1. PowerShell (built-in to Windows) #
- Press Win + S, type PowerShell, and open it.
- Enter the connection command (where
server_IPis the public IP of your VPS, the login is usuallyroot):
ssh root@server_IP
- When connecting for the first time, enter yes.
- Enter the password (characters not displaying is normal) and press Enter.
Option 2. MobaXterm / PuTTY or the hosting web console. #
- Install MobaXterm (mobaxterm.mobatek.net).
- Open Session → SSH, enter the server IP in the Remote host field, and the login is usually
root. - Click OK and enter the password.
Once connected, return to the “One-Command Installation” section.
🧰 Alternative: Manually Downloading the Installer #
If you prefer to download the file manually:
- Download setup_dexbot.sh from your account.
- Upload to the server by dragging and dropping it into the MobaXterm SFTP panel, or via scp in PowerShell:
scp setup_dexbot.sh root@server_IP:/root/
- On the server, make the file executable and run:
chmod +x setup_dexbot.sh
sudo bash setup_dexbot.sh
✅ What the installer does automatically #
- ✔ Downloads the latest version of the bot
- ✔ Installs all necessary components
- ✔ Creates the necessary folders
- ✔ Installs and configures the database
- ✔ Configure the VPS server for proper operation
- ✔ Installs protection (firewall, fail2ban) and users
- ✔ Deploys and launches the bot
📩 After installation #
- A file with all access permissions (SSH, database, web panel) and management commands will be sent to Telegram.
- Save the file in a safe place (notes / password manager) and delete the message—the file is deleted automatically on the server.
- Open the bot and send
/start—then everything is configured using the buttons (API keys, wallets, trading pairs, notifications).
🔄 Bot Update #
When a new version is released, the bot will send a notification with an “Update” button. Click it—the bot will update itself and send a message about the successful update. You can update manually on the server like this:
sudo bash /opt/DEXBOT/toolsserver/update.sh
