docs: Linux 手动安装教程

This commit is contained in:
zhiqiang.wang
2023-10-16 10:11:46 +08:00
parent 432dd9cea2
commit 44f8d7761d
3 changed files with 49 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
EXPIRE_TIME=600
USDT_RATE=
AUTH_TOKEN=123234
LISTEN=:8080
TRADE_IS_CONFIRMED=0
APP_URI=
WALLET_ADDRESS=
TG_BOT_TOKEN=
TG_BOT_ADMIN_ID=
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=Bepusdt Service
Documentation=https://github.com/v03413/bepusdt
After=network.target nss-lookup.target
[Service]
Type = simple
EnvironmentFile=/usr/local/bepusdt/Environment.conf
ExecStart=/usr/local/bepusdt/bepusdt
Restart=on-failure
[Install]
WantedBy=multi-user.target
+27 -1
View File
@@ -1,3 +1,29 @@
# Linux 手动安装
完善中...
准备服务器,debian11+,架构目前只对amd64做了测试,其他架构请自行测试;以此执行以下命令:
```bash
cd /tmp
# 下载最新版本
wget -O ./bepusdt.zip https://github.com/v03413/bepusdt/releases/latest/download/bepusdt-linux-amd64.zip
# 解压
unzip ./bepusdt.zip
# 移动安装至系统目录
mv ./bepusdt /usr/local
# 配置软件自启
mv /usr/local/bepusdt/bepusdt.service /etc/systemd/system
systemctl enable bepusdt.service
# 配置软件参数,请根据实际情况修改文件
vi /usr/local/bepusdt/Environment.conf
# 启动软件
systemctl start bepusdt.service
# 查看软件状态(看到 Active: active (running) 即成功启动)
systemctl status bepusdt.service
```