Skip to navigation Skip to main content
LOGB
  • Home
  • Blog
  • Catalog
  • Update
  • Instruction manual
  • Documentation
  • Support
  • TELEGRAM DEMO
Login / Register
Sign in Create an Account

Lost your password?

  • English
    • Русский
    • English
    • Deutsch
    • 中文 (中国)
    • Español
    • हिन्दी
    • Italiano
    • 日本語
    • Tiếng Việt
    • Français
    • 한국어
    • Türkçe
    • Português
    • বাংলা
LOGB
  • English
    • Русский
    • English
    • Deutsch
    • 中文 (中国)
    • Español
    • हिन्दी
    • Italiano
    • 日本語
    • Tiếng Việt
    • Français
    • 한국어
    • Türkçe
    • Português
    • বাংলা

Quick start

3
  • Create a Telegram Bot and Get the Token
  • Quick DEXBOT Installation
  • DEXBOT version Update

Telegram BOT EN

11
  • AI BOT
  • GRID BOT
  • Token setup
  • Setting up trading indicators
  • Bot Settings
  • Trading Settings
  • Selected Blockchain Overview
  • Blockchain Settings
  • Closed Trades
  • Active Trades
  • Main Menu

Setting up a VPS

4
  • Basic Commands for Working with a Linux VPS Server
  • Creating and Activating Systemd Services for Running Bots
  • Configuration Setup of .env and Database
  • Server and Folder Preparation

Website Documentation

4
  • Using a coupon (promo code) to get a discount
  • Two-Factor Authentication
  • License — Reset Device
  • Affiliate Program
  • Home
  • Documentation
  • Setting up a VPS
  • Server and Folder Preparation
View Categories

Server and Folder Preparation

1 мин. чтения

🔐 Connect to the server via SSH #

  1. Open the terminal on your computer (Linux, macOS, or Windows with PowerShell/Terminal).
  2. Run the command, replacing YOUR_SERVER_IP_ADDRESS with your server’s IP address:
    ssh root@YOUR_SERVER_IP_ADDRESS
  3. At the first connection, confirm adding the key by typing yes and pressing Enter.
  4. Enter the root user password if prompted.

🗂 Create a working directory for bots #

Create a folder to store your bot files and scripts:

mkdir -p /opt/DEXBOT

Check that the folder was created and view permissions:

ls -ld /opt/DEXBOT

⚙️ Set folder permissions #

  1. If you want, create a separate user to run the bot:
    adduser botuser
  2. Change the folder owner to the new user and set permissions:
chown -R botuser:botuser /opt/DEXBOT
chmod -R 755 /opt/DEXBOT

📦 Update the system and install basic tools #

Run the system update and install necessary packages:

apt update && apt upgrade -y
apt install -y python3 python3-pip git curl

🔍 Verify installed programs #

Check versions to make sure everything is working:

python3 --version
pip3 --version
git --version
curl --version

💡 Summary #

  • You connected to the server via SSH.
  • Created the /DEXBOT folder for bots.
  • Set folder permissions for the user.
  • Updated the system and installed necessary tools.
Rate this document?
Updated on June 20, 2026
Configuration Setup of .env and DatabaseBasic Commands for Working with a Linux VPS Server
Table of Contents
  • 🔐 Connect to the server via SSH
  • 🗂 Create a working directory for bots
  • ⚙️ Set folder permissions
  • 📦 Update the system and install basic tools
  • 🔍 Verify installed programs
  • 💡 Summary

© 2026 DEXBOT. All rights reserved

  • Home
  • Blog
  • Catalog
  • Update
  • Instruction manual
  • Documentation
  • Support
  • TELEGRAM DEMO
Telegram
Home
0 items Cart
My account
Menu