Installation, Login, and Updates

Install WP Panel from a clean Debian 13, complete the first login, daily updates, and migration preparation.

Before Installation

  • Use a clean Debian 13 system and have root or sudo privileges ready.
  • The system must be Debian 13 (Trixie) x86_64; Debian 12, other distributions, and other architectures will not begin installation.
  • The root partition must have at least 5GB of free space; at least 8GB is recommended.
  • Minimum recommended: 1 CPU core, 1GB RAM;
  • An SSH client, for example:Xshell Free Edition

Installation and First Login

After logging into the server via SSH, run the official installation command (Xshell 8 VPS Connection Tutorial: A Complete Guide to Remote Linux Server Login from Windows):

If you are using a VPS for the first time, Windows users can also useWP Panel Assistant, fill in the server information, then follow the visible terminal steps to complete installation and management.

Before the formal installation, it is recommended to run a read-only check first, which will not install software, modify APT sources, create swap, write configuration, or leave an installation lock:

apt-get update && apt-get install -y wget ca-certificates && wget -qO- https://raw.githubusercontent.com/naibabiji/wp-panel/main/install.sh | bash -s -- --check

The last line of the check result is fixed as „WP Panel Check result / Check result: PASS | WARN | FAIL“. The exit codes are: 0 indicates installation is possible (warnings may be present), 10 indicates an environment block, and 20 indicates an error in the check script itself. If the Debian version does not match, the architecture is not x86_64, or the necessary prerequisites cannot be met, the formal installation will stop before modifying the system.

apt-get update && apt-get install -y wget ca-certificates && wget -qO- https://raw.githubusercontent.com/naibabiji/wp-panel/main/install.sh | bash
  1. Wait for the script to complete the system environment and panel installation.
  2. Save the HTTPS address and both sets of credentials, BasicAuth and Web Login, under 「Panel Login Information」 at the bottom of the terminal. The password is shown only during the first installation.
  3. On first login, enter BasicAuth first, then Web Login. After logging in, check Nginx, PHP-FPM, MariaDB, Redis, and Fail2ban in Software Management.

The panel uses a random secure entry point. On first access, the browser may warn about a self-signed certificate. Keep the full login address and both sets of credentials safe, and avoid exposing them in tickets, chat logs, or screenshots. If the installation ends with a prompt that the port is not listening or the service is not running, check whether the cloud security group allows TCP 8443, and runwpp logto view the logs.

After the administrator username or password is changed and actually takes effect, all logged-in panel sessions on all devices are immediately invalidated and re-login is required; this is not triggered when nothing has changed, saving fails, or only BasicAuth and other settings are modified. The login endpoint also requires CSRF verification: normal login from the login page is unaffected; scripts or tools that call the login endpoint directly must first obtain the CSRF Cookie generated by the login page and carry the same token in the request header, otherwise a 403 is returned.

Repairing the installation retains the original panel address and login credentials. When finished, you can runwppto view the panel address and running status.

Domestic Network Installation Entry

If GitHub is not reliably accessible, you can use the domestic entry. It only selects an available download source; the installation body still uses the same installation script:

apt-get update && apt-get install -y wget ca-certificates && wget -qO- https://gh.wp-panel.org/https://raw.githubusercontent.com/naibabiji/wp-panel/main/install-cn.sh | bash

The domestic entry point also supports read-only checks:

apt-get update && apt-get install -y wget ca-certificates && wget -qO- https://gh.wp-panel.org/https://raw.githubusercontent.com/naibabiji/wp-panel/main/install-cn.sh | bash -s -- --check

Reinstall Debian 13

If you need to change the system or clean up the old panel environment, please first readReinstall to Debian 13. Applicable scenarios, cross-machine backup, the three reinstallation methods, and SSH fingerprint handling are all maintained in that tutorial.Reinstallation will wipe the system disk. Please back up your data to a location outside the current server first, and confirm that it can be read.

Method 1: Use the VPS provider console →

Method 2: Use the bin456789/reinstall script →

Perform the Debian 13 reinstallation and wait for the installation to complete →

Method 3: Use the official Debian ISO →

Panel Updates

The settings page can check for and install stable versions. The panel verifies the downloaded file and release signature, backs up the panel database before updating, and checks whether the panel is healthy after starting the new version. The page shows update success only when the actually running panel version matches the target version; failure rollback confirms that the old version has become healthy again. If restart or health recovery fails, the panel retains the diagnostic plan and records the exact failure stage for manual handling, and will not pretend success.

Automatic Update Scope

Panel automatic updates are disabled by default. When enabled, any stable official release higher than the current version will be installed, regardless of whether it is a patch, minor, or major release; pre-release versions such as Beta and RC will not be installed automatically.

  • After the panel first detects a new version, it will observe for at least 24 hours by default before attempting installation within the update time window set by the administrator.
  • If the GitHub version check fails, the most recent check result will be displayed, and a retry will occur approximately 30 minutes later within the update time window; the estimated check time is based on server time.
  • Servers upgrading from the old „patch-only“ policy that already had automatic updates enabled will first have automatic updates safely disabled. After the administrator confirms acceptance of all stable official releases, automatic updates must be re-enabled on the settings page; servers that did not have it enabled will remain disabled.
  • Automatic updates and manual updates use the same signature, digest, backup, health check, and failure rollback protections.

Domestic networks can configure a GitHub reverse proxy address, but do not disable integrity and signature verification. When an update fails, first check the operation log and automatic rollback result, and do not manually overwrite the panel database. If the panel's automatic repair fails, it first stops the panel and restores the old program together with the complete panel database snapshot saved before repair at the same point in time; if the snapshot cannot be restored, the panel remains stopped and clearly prompts you to contact support, and will not use the old program to read a database with the new structure.

If the system software source refresh fails, or if manual selection is required when upgrading packages, the panel will only display a brief prompt. Please check the APT status via SSH and complete the system update; such system-level issues are not suitable for repeated retries on the web page.

Manual migration from other panels

The „Site Migration“ feature only supports two WP Panel instances with the same version. When preparing to convert from BaoTa to WP Panel on the same server, refer toReinstall WP Panel on BaoTa Panel and restore websites; if both the source and destination servers have the same version of WP Panel installed, use theSite Migration featurefor convenience. For migrating from other panels to WP Panel, you can follow the manual steps below:

  1. Back up website files and databases separately on the original server.
  2. Create a website with the same domain name in WP Panel.
  3. Upload and extract the files, then execute „Fix Permissions“.
  4. In the database details, upload and restore the SQL backup, then check the table prefix and site address.
  5. Before switching DNS, check the frontend, backend, SSL, scheduled tasks, and email sending.