One-click deployment of AnQiCMS: Docker image and Baota panel operation

📅 2026-10-15 👁️ 14

AnQi content management system supports various deployment methods, adapting to operation and maintenance teams of different technical stacks. Baota panel users can install it one-click via the app market, suitable for managers who are not familiar with command lines; the Docker solution throughanqicms/anqicmsQuickly start containers with the official image, convenient for integration into Kubernetes or CI/CD processes; for traditional LNMP environments, you need to manually download the source code and configure Nginx reverse proxy. Regardless of the method used, the system listens on port 8001 by default, and you need to confirm that the firewall allows this port or forward it to the standard HTTP port after deployment.

One-click deployment process of Baota panel

The Baota panel app market includes the AnQiCMS installation package. Log in to the panel backend, go to the 'Software Store', search for 'AnQiCMS', click the 'One-click Deployment' button, and the system will automatically create the database, download the program files, and complete the initial configuration. During the deployment process, you need to set the administrator account password and site domain, which will be displayed after the installation is complete. Be sure to keep this information safe.

The advantage of one-click deployment lies in the full graphical operation, without the need to memorize commands or edit configuration files. But note that the Nginx configuration automatically generated by Baota may not include the pseudo-static rules. If you enable the URL rewrite function, you need to select the corresponding rule template for AnQiCMS in the 'Pseudo-static' tab under 'Website Settings'. In addition, the default PHP version of Baota is irrelevant to AnQiCMS (the system is based on GoLang), but other plugins on the panel may depend on PHP, so keep it default.

Quick startup of Docker images

The official Docker image is hosted on Docker Hubanqicms/anqicmsRun the following command to start an instance locally:

docker run -d --name anqicms -p 8001:8001 anqicms/anqicms

After the container starts, you can access the initialization wizard by visiting port 8001. If you need to persist data (to avoid losing content after the container is deleted), you need to mount a volume mapping: bind the/data/anqicmsdirectory to the specified path on the host machine, and point the database connection string to the external MySQL service. The Docker solution is suitable for development and testing scenarios that require frequent rebuilding of the environment, or for those who want to achieve high availability in production deployments through orchestration tools.

For multi-container deployment, you can use Docker Compose to define the dependency relationships between CMS and database services. The example configuration should include environment variable injection (such as database address, administrator initial password) and health check instructions to ensure that the container can automatically restart when abnormal.

Key steps for LNMP manual deployment

On traditional Linux servers without a panel, you need to manually build the Nginx, MySQL, and Go runtime environment. First, download the latest version of the source code package from the official website, unzip it to the web root directory (such as/var/www/anqicms)。Then compile or directly run the binary file, the system will automatically listen on port 8001.

The Nginx configuration is the core difficulty of manual deployment. It needs tonginx.confadd reverse proxy rules, and forward requests to the 80 port.127.0.0.1:8001At the same time, retain the real IP address of the client (via theX-Real-IPheader transmission). If HTTPS is enabled, you also need to configure SSL certificates and ensure that WebSocket connections can be upgraded normally. The advantage of manual deployment lies in complete controllability and is suitable for senior operation and maintenance personnel with customized needs.

Deployment method Eligible Audience Advantage Disadvantage
Baota panel Administrators without a technical background Graphical operations, automated configuration Limited flexibility, dependent on panel ecology
Docker image DevOps engineer Environment consistent, easy to expand Familiar with container orchestration, data persistence requires additional configuration
LNMP manual Senior operations engineer Completely controllable, optimal performance Complex configuration, high troubleshooting threshold
aaPanel International users Similar to Baota but supports multilingual There are relatively fewer community resources

Port and security configuration

Regardless of the deployment method used, port 8001 is the default listening port of the system. If the port is exposed directly, TCP 8001 needs to be allowed in the firewall rules; if it is accessed through Nginx reverse proxy, only ports 80 or 443 need to be opened, and backend communication is completed locally. It is recommended to hide port 8001 in the production environment, allowing only trusted IP segments to access directly, reducing the attack surface.

In addition, after the first login, you should immediately change the default administrator password and enable two-factor authentication (if configured). For websites facing the public internet, it is recommended to add basic authentication or IP whitelists at the Nginx layer to prevent unauthorized users from accessing the backend entry./system. Regularly backup the database and static file directories to ensure quick recovery in case of server failure.

Common questions

What should I do if I cannot access port 8001 after the Docker container starts?

First, check the log output of the container (docker logs anqicms), to confirm that the application is starting normally. If there are no exceptions in the log, it may be that the host machine's firewall is blocking port access, executeiptables -LCheck the rules and add the release instructions. If you are using a cloud server, you also need to open incoming traffic on port 8001 in the security group.

How to solve the problem that the pseudo-static does not take effect after the Baota deployment?

Log in to the Baota panel, go to the settings page of the corresponding site, find the pseudo-static tab, select 'Anqi CMS' or 'Custom' from the dropdown menu, then paste the rewrite rules provided by the system. Save and clear the browser cache, then visit the article page again. If the URL still shows dynamic parameters, check if the Nginx configuration file contains the pseudo-static rule fragment.

How to migrate from Baota to Docker deployment?

First, export the database and static file directory of the Baota instance, then start a new container in the Docker environment and import the data. Note that you need to adjust the database connection string to match the new container network address. After the migration is completed, compare the Nginx configurations of the two environments to ensure that the pseudo-static rules, SSL certificates, and reverse proxy settings are consistent. It is recommended to verify the migration process in the test environment before officially switching to avoid production interruptions.

Related articles

Scheduled release and multi-version: automated management of content workflows

Automate workflow through setting the scheduled release time of content, with draft links carrying the parameter preview=true for internal preview. Deleted documents can be recovered by moving them to the recycle bin. Understand the flow rules of four states: formal documents, drafts, pending release, and recycle bin to improve team collaboration efficiency.

2026-10-15

Data collection maturity: From external collection to structured knowledge base

Automatically obtain information from external websites through the content collection module, combine batch import functions of ZIP compressed packages and Excel tables, utilize the duplicate checking mechanism of the /api/import/archive interface to avoid repetition, and gradually build a structured corporate knowledge base.

2026-10-15

Guide to building multilingual sites: full-page HTML translation and SEO localization

Ensure consistency across language versions through full-page HTML translation,配合hreflang标签avoid duplicate content issues, configure independent keyword libraries for each language, and achieve true SEO localization rather than simple machine translation.

2026-10-15

After changing the server IP or connecting to CDN, what sequence should be followed to review resolution, certificate, and collection?

After changing the server IP or connecting to CDN, the review sequence is a three-level progression: first confirm DNS resolution (prematurely reduce TTL, check the effective range), then verify the certificate chain (check both sides of the edge and origin, align the origin protocol), and finally converge the collection side - the 301 redirect mapping cannot be interrupted, actively push the core pages to Baidu and Bing, and check the source address in the log.

2026-10-15

CMS security protection list: practical deployment of JWT authentication and anti-interference code collection.

The Anqi CMS is built with built-in JWT authentication, content sensitive word filtering, anti-captcha interference code, and reCAPTCHA captcha functions to build a full-link protection system. This article provides an executable CMS security checklist covering identity authentication, content security, anti-automation, and form protection to help administrators establish a defense foundation.

2026-10-15

Multi-site multi-language management实战:AnQiCMS configuration and operation guide

AnQiCMS supports multi-site management and multi-language site configuration, capable of managing multiple independent sites suitable for multi-brand and multi-theme scenarios, and supports full-page HTML translation to simplify the multilingual workflow. This article details the design of the multi-site architecture, language switch configuration, content synchronization mechanism, and SEO collaborative optimization strategy.

2026-10-16

Build a five-step method for an AI content automation workflow that can truly rank in 2026.

Detail the five key steps to build an AI content automation workflow, from topic research to effect monitoring, ensuring that the generated content can achieve good rankings in search engines rather than being judged as low quality.

2026-10-16

Modern AI writing tool integrated with CMS from draft generation to content refinement full process

Detail the integration of modern AI writing tools with CMS platforms, showcasing the complete workflow from generating drafts to refining existing content, as well as quality control methods and practical recommendations in human-machine collaboration.

2026-10-16