Skip to content

One-Click Deployment ​

Updated: 11/10/26, 10:51:10 AM

The DaxPay operations panel is a single-file program with a built-in web UI — just open it in a browser. One command installs it on a Linux server, then you complete the whole flow page by page in the browser: environment preparation → global configuration → base middleware → business services → gateway access. No need to assemble docker-compose files by hand.

This page is a quick start. For in-depth explanations of each step, command-line management, daily operations, and troubleshooting, see the Operations Panel.

Recommended path

If this is your first deployment, you are not familiar with Docker orchestration, or you simply prefer a visual panel for daily operations, this page is all you need.

Use Cases and Prerequisites ​

The operations panel puts everything needed to "get a DaxPay server ready to serve traffic" into a web UI. It is a good fit when you want to:

  • Take a clean Linux server from zero to a working deployment
  • Avoid maintaining docker-compose files, environment variables, and secrets by hand
  • Manage start/stop, configuration, logs, and version upgrades through a web panel afterwards
ItemRequirementNotes
OSUbuntu / Debian / CentOS / Rocky / AlmaLinux / Fedorax86_64 distros; Ubuntu 22.04+ recommended
Architecturex86_64 (amd64)arm64 is not supported yet (the image chain is not verified end to end)
Memory≥ 4 GBMinimum for the Compact tier; 8 GB+ recommended for the Standard tier
Disk≥ 500 MB on the partition holding the install directoryActual usage depends on data volume
Privilegesroot (or sudo)Required to install Docker, operate docker.sock, and bind ports
NetworkInternet access required (pulling Docker images, etc.)If the download source is unreachable (overseas CDN blocked / restricted egress), use offline installation and upload the package manually

Install the Operations Panel ​

Installation downloads a ~40 MB program to /opt/daxpay and starts a web panel listening on port 8060. Depending on whether the server can reach the download source, choose online or offline installation.

One command downloads, verifies, installs, and starts the panel:

bash
curl -fsSL https://download.daxpay.top/open/install/install.sh | sudo bash
# or, with wget
wget -qO- https://download.daxpay.top/open/install/install.sh | sudo bash

The script automatically: probes the environment (architecture / distro / disk / xz) → downloads the archive and verifies its SHA256 → extracts and installs it to /opt/daxpay → creates the daxpay command symlink → (optionally) generates a systemd service for auto-start on boot → starts the panel, automatically enables the security entrance, and prints the access URL (including the entrance path) plus the initial admin password to the terminal.

On success, the terminal prints something like:

✓ The operations panel has started
  URL: http://192.168.1.10:8060/k3x9m2qp4w7nbd5e
  Username: admin
  Password: <16-char random password>

After installation, copy the full access URL printed to the terminal into your browser, e.g. http://192.168.1.10:8060/k3x9m2qp4w7nbd5e. The random security entrance is part of the full URL and must be kept; visiting only http://192.168.1.10:8060 returns 404 on the bare address. If you forget the entrance path, run daxpay entrance show on the server to see the full URL; if you forget the initial password, run daxpay info.

For upgrade and uninstall commands see Installation, Upgrade, and Uninstall.

Download source requirement

Online installation requires the server to reach the download.daxpay.top download source (an overseas CDN; some networks may time out or fail to reach it). If the source is unreachable, switch to the offline installation below: upload the package manually and the installation process will not contact any download source.

Offline Installation ​

Offline installation is for servers that cannot reach the download source (overseas CDN blocked, restricted egress, etc.): you transfer the two installation files to the server manually, and the installation process never contacts a download source.

Offline ≠ air-gapped deployment

"Offline" only means the package is not downloaded over the network and must be uploaded manually — it is not a deployment plan for disconnected environments. DaxPay still needs internet access at runtime (pulling Docker images, installing system dependencies, connecting to payment channels); a fully disconnected server cannot be deployed.

1. Prepare the two files (from the release artifacts, put them in the same directory):

FilePurpose
install.shInstall and management script (SHA256 of the current version already filled in)
dax-pay-installer-linux-amd64.xzProgram archive (~15 MB)

2. Upload both to the same directory on the target server, e.g. /root/daxpay-offline/.

3. Run the installation. Pick either of the two ways:

bash
# Option 1: invoke directly with bash — no chmod needed
sudo bash install.sh

# Option 2: grant execute permission first, then run (chmod required for the script)
chmod +x install.sh
sudo ./install.sh

The script auto-detects the .xz archive in its own directory and switches to the offline flow; verification, extraction, installation, and startup afterwards are identical to the online installation.

About chmod permission

  • install.sh: chmod is not needed when invoked via bash install.sh; it is required before executing ./install.sh (chmod +x install.sh first).
  • The dax-pay-installer-linux-amd64.xz archive: chmod is never needed — the script decompresses it with xz, it is not executed directly.

Offline installation never touches the download source

During offline installation the script does not contact any download source (the package comes from manually uploaded local files); verification uses the SHA256 baked into install.sh. Both files are mandatory and must sit in the same directory (the script only scans its own directory).

Log In to the Panel ​

After installation, open the panel URL in a browser.

  1. Visit the full URL printed when installation finished (of the form http://<server IP>:8060/<security entrance>; the random entrance must be kept; run daxpay entrance show if you forget it)
  2. Enter the initial credentials:
    • Username: admin
    • Password: the strong 16-character random password generated during installation

Recover the initial password

Three ways to retrieve the initial password:

  • It is already printed in the installation terminal output
  • Read the file: cat /opt/daxpay/installer-initial-password.txt
  • Run: daxpay info

Change the password as soon as possible

The initial password is for first login only. After signing in, reset it via the user menu in the top-right corner → "Change Password". The panel listens over plain HTTP by default; when exposed to the public internet, always terminate TLS through the later gateway HTTPS or a front reverse proxy.

Deploy from the Panel ​

After login, the panel opens the Overview page. Open the sidebar pages in the order below to deploy a full DaxPay. For the detailed operations and how to confirm each step is done, see Operations Panel - First Deployment; for the configuration details behind each step, see Operations Panel - Configuration and Troubleshooting.

Step 1: Prepare Docker and Git ​

  • Docker: go to the "Config" tab of "Docker Management"; if Docker is missing, click "Install Docker", choose the install source in the dialog, and install it in one click (with live log streaming)
  • Git: go to the "Extension Source" page; if the "Git Environment" row at the top of the "Code Source" card shows Git as not installed, click "Install Git" on the same row, and the panel installs it with apt / yum / dnf depending on the distro
  • Review host memory and port conflicts on the "Overview" page

Two prerequisite tools

Docker and Git are prerequisites for the later build and deployment. Skip them if the server already has them; Git is used to pull the source and switch versions.

Step 2: Global Configuration ​

On the "Global Configuration" page:

  • Memory tier: choose Compact (≥4 GB) / Standard (≥8 GB, recommended) / Enhanced (≥16 GB) based on server memory; click "Apply Tier" to take effect
  • JVM runtime: choose HotSpot or OpenJ9
  • Build mirrors: configure China-hosted Maven / npm mirrors to speed up the later image builds
  • Build concurrency: the Smart tier adapts to host memory automatically; low-spec machines can pin it to a single concurrent job

Step 3: Deploy the Base Environment ​

  • On the "Base Environment" page, click "One-Click Deploy" to bring up the three middleware containers — PostgreSQL + Redis + Artemis
  • Middleware passwords are generated automatically; click "View Passwords" to see them. To change one, use "Change Password" in the service card's "Config" drawer (it updates the middleware and prompts you to restart the business containers)
  • Middleware ports are not mapped to the host by default (they are reachable only inside the container network, for business containers to connect); to connect from the host for debugging, enable the mapping manually in the service card's "Config"

Step 4: Deploy the Business Environment ​

In the "Versions and Builds" area at the bottom of the "Business Environment" page, prepare the following in order:

  • Deployment version: pick the 4.0 branch or a release tag; for the run mode, choose "Production" for a real environment or "Demo" to load the demo dataset for a trial
  • Project code: click "Download Code" to pull the source of all DaxPay repositories (the core repositories come from Gitee); after switching versions later, click "Update Code"
  • Data preparation: click "Initialize" to create the table schema and import the seed data (the dataset follows the run mode; once initialized, the button becomes "Force Rebuild"); prepare the IP data files (ip2region): open the Gitee / GitHub download page from the panel, download the files in the browser and upload them. The IP files are a prerequisite for building the backend images
  • Image build: click "One-Click Build All" and the panel builds all images in a parallel pipeline (the backend Maven groups, both web consoles, and the H5 proceed simultaneously); if extension-channel source credentials are configured, extension channel images join automatically; each service can also be built / rebuilt individually for troubleshooting. Follow progress and output live in the Task Center at the bottom-right corner; if some services fail, the task ends in the "Partially succeeded" state and you can rebuild just the failed ones

Once the preparation is complete (images built + database initialized + IP files ready), the "Deploy Business System" button at the top of the page unlocks; clicking it deploys the main backend, the channel sub-apps, and three frontend containers. Business keys (RSA / AES / channel transport keys) are generated automatically on first deployment.

Business container ports are likewise not mapped to the host by default: all external traffic is proxied uniformly by the gateway (80) set up in step 5, leaving zero business ports occupied on the host besides the panel and gateway. If you truly need a direct connection (e.g. debugging the backend API locally), enable the mapping manually in the "Config" of the corresponding service card on the "Business Environment" page (the three levels are explained in Operations Panel - Port Exposure).

Why the IP files come first

The backend image build bakes these two files into the image and verifies them — a missing file fails the build. The files live in the data/ip/ directory.

Build time

Image building is the most time-consuming stage of the whole flow and varies a lot with the concurrency tier, network, and machine performance. Configuring the mirrors and reserving enough memory cuts the time significantly.

Business keys are generated exactly once

The RSA private/public keys, the AES encryption key, and the channel transport keys are generated automatically and pinned on first deployment. Regenerating them makes already-encrypted data undecryptable — be careful in production.

Step 5: Deploy the Gateway ​

  • On the "Gateway Management" page, click "One-Click Deploy" to bring up a standalone nginx gateway container. The gateway's port 80 is the system's only port exposed by default; all external traffic converges through it
  • Bind domains: one each for the admin console, merchant console, H5, backend API, and the Artemis console (enter bare domains; leave blank to skip binding); plus an optional Mobile API domain — a dedicated entry for mini programs / apps, which published clients use by entering it as the API base URL at build time
  • Configure CDN / outer-layer access: the gateway origin serves zero certificates and always speaks HTTP — TLS is terminated at the outer CDN / gateway layer. Two modes: "Direct to origin" and "Origin pull via CDN / outer gateway (with an origin-pull auth token)"; for the access checklist see Operations Panel - Gateway Management
  • Review the public API toggles: merchant open API /unipay, channel callbacks /unipay/callback, mini program / APP API /app-*, and the open-client API /client/ are on by default; the EPay-compatible /epay is off by default — adjust as needed
  • Click "Apply Gateway Config" to render the nginx configuration and reload it into effect

Domain verification files

The nginx built into the H5 image already reverse-proxies verification file requests to the main application (the root path and the QR terminal / cashier / aggregate directories /m/, /cm/, /am/, answered uniformly by the main app with a database lookup; the HTML served by the SPA fallback cannot pass verification). Merchant-level domain verification files (MP_verify_*.txt, for WeChat authorization callbacks) are uploaded on the "Domain Verification Files" page of the merchant console or the admin console; platform-level random verification files for plain-link QR codes (.txt / .html) are uploaded in the admin console under "Payment Config → Domain Verification Files". Neither requires any nginx configuration change. On existing deployments this takes effect only after upgrading the panel and rebuilding the H5 container (the config is baked into the image).

Verify Access ​

After deployment, access each entry through its bound domain:

EntryURLNotes
Admin consolehttps://<admin domain>Used by platform operators
Merchant consolehttps://<merchant domain>Self-service for merchants
H5https://<H5 domain>Mobile payment pages
Backend APIhttps://<backend domain>Called by frontends and open APIs

Production wrap-up

Before going live, check the "Environment Posture" bar at the top of the "Business Environment" page: the run mode should be "Production (PROD)", the sandbox and the super admin should both be off, and there should be no inconsistency warnings. If a warning appears, follow it or click "Fix by Run Mode"; an environment that was first deployed in demo mode also needs its database force-rebuilt with the production dataset as prompted (this wipes the existing data).

  • Operations Panel: installation internals, command reference, daily operations, configuration details, and troubleshooting
  • Configuration: per-app profiles, ports, database, keys, and production environment variables
  • Operations Panel - First Deployment: the detailed panel operations for each deployment stage and how to confirm each one is done