Main Server Installation¶
This guide describes the installation of the trading system on Linux Ubuntu 24.04. The system will run as a background service via systemd.
Warning
Minimal server version - Ubuntu 24.04 LTS (root access)
๐ ๏ธ Hardware Requirements¶
| Minimal | Recommended | Description | |
|---|---|---|---|
| (CPU) | 4 core, 2.0 GHz | 8 core, 3.5 GHz | - |
| (RAM) | 8 GB | 32 GB | - |
| Disk (SSD/HDD) | 80 GB | 300 GB SSD | SSD preferred |
| Network | 100 Mbit/s | 10 Gbit/s | Stable connection |
๐ Ports and Network¶
Inbound ports: 1. 80/tcp (HTTP, if used) 2. 443/tcp (HTTPS, if used) 3. 5173/tcp (Vite DevServer, if used)
Outbound port: 1. 80/tcp
External IP or forwarded ports for external access.
โ๏ธ Recommended Server Providers¶
- Hetzner
- AWS
- Azure
- Zomro - Can be purchased with crypto
๐ฆ Installing Dependencies¶
Before installation, make sure the following utilities are installed:
sudo apt update
sudo apt install -y curl wget unzip systemd
sudo apt install libstdc++6
๐ฅ Downloading and Installing the Server¶
When installing, be sure to specify a valid license {LIC_CODE}
Trial license for testing:
To obtain a trial license, please contact [email protected]
# download and install the latest server version
sudo curl -sL https://ctl.ScaleTrade.com/ScaleTrade | license={LIC_CODE} sudo -E bash -
After installation, everything is ready and running:
curl http://localhost:8080/health
โ๏ธ Configuring the systemd Service¶
Create the service file:
sudo nano /etc/systemd/system/myapp.service
๐ Managing the Server¶
sudo systemctl start ScaleTrade
sudo systemctl stop ScaleTrade
sudo systemctl status ScaleTrade
Check status:
sudo systemctl status myapp.service
โ Checking System Health¶
Check API availability (if HTTP interface is provided):
curl http://localhost:8090/ping
๐งผ Uninstallation¶
To uninstall:
sudo systemctl stop ScaleTrade
sudo systemctl disable ScaleTrade
sudo rm /etc/systemd/system/ScaleTrade.service
sudo rm -rf /etc/ScaleTrade
๐ก Note: The binary path, environment variables, and port can be changed for your project in the file
/etc/ScaleTrade/config.ini.