Skip to main content

Linux

Command-line installation (suitable for systems without a graphical interface)

Required to install wget, unzip
apt -y update && apt -y install wget unzip

Choose either deploy or web for installation

  • deploy (includes web features and provides additional interactive installation, startup on boot, automatic updates, etc.)
  • web (requires manual startup and manual updates)
tip

Copy and execute line by line or copy and execute all at once

mkdir serverbee
cd serverbee
wget https://db.serverbee.app/cli/v2.2.0/serverbee-deploy-x86_64-unknown-linux-musl.zip
unzip serverbee-deploy-x86_64-unknown-linux-musl.zip
./serverbee-deploy

Interactive Installation

Set Up Autostart

☑️ Checking the autostart option will output logs as shown in the image

Copy the command within the red frame, and execute it. linux-daemon

The specific code is here
cat > /etc/systemd/system/serverbee-deploy.service <<EOF
[Unit]
Description=ServerBee Deploy
After=network-online.target systemd-resolved.service
Wants=network-online.target systemd-resolved.service

[Service]
Type=oneshot
ExecStart=/root/serverbee-deploy # 去掉注释,并修改为实际路径
RemainAfterExit=yes
Environment="RUST_LOG=info"

[Install]
WantedBy=multi-user.target
EOF
systemctl enable serverbee-deploy.service

Install web

mkdir serverbee
cd serverbee
wget https://db.serverbee.app/cli/v2.2.0/serverbee-web-x86_64-unknown-linux-musl.zip
unzip serverbee-web-x86_64-unknown-linux-musl.zip
./serverbee-web
Custom port number
./serverbee-web -p 9528

Linux Desktop Environment

Index
ServerMilkServerBee 服务端桌面程序