安装部署

乾账通 系统安装

在已安装宝塔面板的服务器上,一键下载并运行安装脚本(支持 Centos / Debian / Ubuntu 等)

安装命令

通用安装脚本(推荐)

U='https://download.qztpay.com/install.sh';if [ -f /usr/bin/curl ];then curl -sSO $U;else wget -O install.sh $U;fi;bash install.sh

Centos / OpenCloud / Alibaba

U='https://download.qztpay.com/install.sh';url=$U;if [ -f /usr/bin/curl ];then curl -sSO $url;else wget -O install.sh $url;fi;bash install.sh

Debian

U='https://download.qztpay.com/install.sh';wget -O install.sh $U && bash install.sh

Ubuntu / Deepin

U='https://download.qztpay.com/install.sh';wget -O install.sh $U && sudo bash install.sh
通用一键安装(任意系统适用)
U='https://download.qztpay.com/install.sh';if command -v curl >/dev/null 2>&1; then curl -sSO $U; else wget -O install.sh $U; fi; bash install.sh
安装步骤
  1. 使用 SSH 工具(如宝塔 SSH 终端)以 root 账户连接至 Linux 服务器。
  2. 复制上方对应系统的安装命令,在终端中执行。
  3. 脚本会自动下载源码并完成环境检查,按提示选择 1) 全量安装 并填写数据库信息等。
  4. 安装完成后,按脚本输出地址访问站点;如无法访问请检查服务器安全组 / 防火墙端口。

提示:本脚本依赖已安装的宝塔面板(提供 PHP 运行环境与 Nginx)。如缺少 redis / fileinfo 等 PHP 扩展,请在宝塔面板「PHP-8.0 → 安装扩展」中补齐后重试。