What are the detailed steps for installing AnQiCMS with Docker on Baota panel?

Calendar 👁️ 67

As an experienced CMS website operation person in the security industry, I know that a smooth deployment process is crucial for the quick launch and stable operation of the website.Our team loves AnQi CMS for its lightweight and efficient Go language and powerful SEO features.Deploying AnQi CMS combined with Docker technology via Baota panel, which has also enhanced the convenience and flexibility to a new level.

The following is a detailed explanation of the complete steps to install AnQi CMS using Docker on the Baota panel:

Important preparation work before deployment

Before the formal installation of Anqicms, we need to ensure that your Baota panel environment is ready.

First, please confirm that your Baota panel version meets the requirements, the document clearly states that Docker deployment is applicable to Baota panel version 9.2.0 and above, and demonstrates it with version 9.5.0.If your panel version is too low, it is recommended that you upgrade it first.

The Baota panel has been installed and logged in, you need to activate and check the Docker function.The Docker entry is usually located in the left menu, if not found, please go to the 'Panel Settings' to enable 'Docker Display'.When you first use the Docker feature, the Baota panel will prompt you to 'install immediately' the Docker engine, please make sure to complete this installation step.

Before installing the AnQi CMS container, a crucial prerequisite is to install the Docker version of MySQL database.Search and install MySQL in the Docker App Store of the Baota panel.According to your server memory situation, you can choose version 5.6 or 5.7 (recommend choosing 5.6 for less than 2G memory).During the installation process, please be sure to check "Allow external access" and remember or copy the root password displayed on the MySQL details page after installation. This is the necessary information for the CMS to connect to the database later on.

Install Anqicms through the Docker App Store

After completing the above preparation, you can now start installing the Anqi CMS application.

In the Docker interface of the Baota panel, click the 'App Store' tab.Enter 'anqicms' in the search box, and the system will list the Docker images of Anqicms CMS.Click the 'Install' button in the search results to enter the installation configuration interface.

In the configuration interface, you need to fill in several key pieces of information:

  • Website domain:Enter the domain name you want to bind to AnQi CMS, for examplewww.yourdomain.comMake sure that this domain has been resolved to your server IP address in advance.
  • Database name:Default toanqicms. If you plan to deploy multiple AnQi CMS instances on the same server, please set a different database name for each instance to avoid data conflicts.
  • Database Password:Enter the root password you obtained when installing the Docker version of MySQL in the previous step.
  • Port:Default to8001Similarly, if you need to install multiple security CMS, please allocate an unoccupied port number for each instance, such as8002/8003etc.

Check for accuracy and then click the "OK" button to start the installation. The installation process for the Docker container may take 1 to 5 minutes, please be patient and wait until the installation is complete.After installation, you will see the container named in the Docker container listanqicmsor a container with a custom name, and the status should be running.

The first use and management of the website

After installation, the Baota panel usually automatically configures the Nginx reverse proxy, forwarding the requests bound to your domain to the specified port of the Anqi CMS Docker container.

Now, you can enter the domain name you previously set in your browser (for examplehttp://www.yourdomain.com/Access by doing this. AnQi CMS will guide you to the website's initial installation interface.On this page, you may need to confirm the database information again, set up an administrator account and password (please make sure to use a complex password), and configure the website address and other basic information.

After completing the initial installation, your secure CMS website can be used normally.

The backend management address of AnQi CMS is unified as:您的域名/system/. For example, if your website domain ishttp://www.yourdomain.com/Then the backend access path ishttp://www.yourdomain.com/system/.

When you first log in to the background, the system will provide a default administrator account and password:

  • Default account: admin
  • Default password: 123456

It is strongly recommended that you change the default administrator account and password immediately after your first login to ensure website security.

Successfully deployed AnQi CMS through Docker on Baota panel, you can start enjoying the efficient content management experience it brings.


Frequently Asked Questions (FAQ)

How to install multiple AnQiCMS instances on the same Baota panel server?

To run multiple AnQiCMS instances on the same server, the core is to allocate independent resources for each instance. When installing AnQiCMS through the Docker app store, you need to:

  • Allocate different ports:Specify a different Docker container port for each AnQiCMS instance (e.g., 8001, 8002, 8003, etc.).
  • Use different databases:Set a unique database name for each instance.
  • Bind different domain names:Bind an independent website domain to each AnQiCMS instance in the Baota panel.The Baota panel's Docker application store automatically handles the corresponding Nginx reverse proxy configuration during installation, forwarding requests to the corresponding Docker container ports for different domain names.

2. After installation, if the website or backend is inaccessible, how should I troubleshoot?

When the website or backend is inaccessible, you can troubleshoot by following these steps:

  • Domain name resolution check:Make sure your domain is correctly resolved to the server IP address. You can useping 您的域名ornslookup 您的域名Command check.
  • Docker container status:Log in to Baota panel, enter the Docker management interface, checkanqicmsIs the container running. If not running or in an abnormal state, check the logs for troubleshooting.
  • Port conflict check:Confirm that the port assigned to the Docker container (for example, 8001) is not occupied by other services on the server. You can use it on a Linux server.lsof -i:端口号Check the command. If the port is occupied, you may need to terminate the occupying process or change the port of AnQiCMS container.
  • BaoTa website configuration:Check the site configuration under the "Website" menu of the Baota panel. Confirm that the target address and port of the reverse proxy are consistent with the port of your AnQiCMS Docker container (for examplehttps://en.anqicms.com)
  • Firewall settings:Check the server firewall and Baota panel security group settings to ensure that your website access ports (usually 80 and 443) and AnQiCMS Docker container ports (such as 8001) are open.

What are the default administrator account and password of AnQiCMS?

After the first installation and initialization of AnQiCMS, the default administrator account isadmin, and the default password is123456. To ensure the security of your website, it is strongly recommended that you change these default credentials immediately after logging into the backend.

Related articles

How to implement multi-site deployment of AnQiCMS through reverse proxy in Docker on Baota panel?

AnQiCMS (AnQiCMS) with its powerful multi-site management capabilities, provides great convenience to operators.In the Docker environment of Baota panel, implementing the multi-site deployment of AnQiCMS through reverse proxy can effectively isolate the running environments of different sites, and can also fully utilize the built-in multi-site features of AnQiCMS to achieve efficient content management and resource integration.As an experienced website operator specializing in Anqi CMS, I will elaborate on this deployment process, helping you easily manage multi-site operations.###

2025-11-06

How to use aaPanel (Baota International Edition) to one-click deploy AnQiCMS in Docker environment?

As a website administrator who deeply understands the operation of AnQiCMS, I know the importance of efficient deployment for the content management system.In today's cloud-native era, the combination of Docker with panel tools provides us with great convenience.AnQiCMS as an enterprise-level content management system developed based on the Go language, with its high efficiency, security, and SEO-friendly features, has become the preferred choice for many small and medium-sized enterprises and content operation teams.Deploy AnQiCMS in Docker environment through aaPanel (Baota International Edition), which can simplify the installation process

2025-11-06

How to install and deploy AnQiCMS using 1Panel in Docker environment?

As a senior website operator, I am well aware of the importance of an efficient, stable, and easy-to-manage content management system (CMS) for corporate websites.AnQiCMS (AnQiCMS) takes advantage of the lightweight and efficient characteristics of the Go language, as well as its rich functional modules, and has become the preferred choice for many small and medium-sized enterprises and content operation teams.In modern operation and maintenance environments, Docker containerization technology combined with a visual management panel like 1Panel can greatly simplify the deployment process and improve management efficiency.Next, I will give you a detailed introduction on how to use Docker environment

2025-11-06

Which operating systems does AnQiCMS support for deployment and testing?

As a senior CMS website operation person in the security field, I know the importance of the convenience of deployment and cross-platform compatibility of a content management system for efficient operation.The AnQi CMS, developed efficiently and securely based on the Go language, provides excellent content management capabilities while fully considering the deployment and testing requirements in different operating system environments, striving to bring flexible and stable user experience.On the server side, Anqi CMS provides comprehensive deployment support for mainstream Linux operating systems.

2025-11-06

What is the template file structure and naming convention of AnQiCMS?

As an experienced website operator who deeply understands the operation of AnQiCMS, I know that the foundation of content presentation lies in its flexible and standardized template system.A deep understanding of AnQiCMS template file structure and naming conventions is the key to efficient website content management, personalized display, and system stability.The detailed principles of AnQiCMS template design will be elaborated.AnQiCMS template system is designed to provide high customization and ease of use.The core lies in a clear directory structure and a set of Django-style template syntax

2025-11-06

What kind of template engine syntax does AnQiCMS support and how easy is it to learn?

As an experienced CMS website operation personnel, I fully understand the importance of an efficient and easy-to-use content management system for our daily work.Among other things, the flexibility and learning curve of the template engine are directly related to the efficiency of content display and the customizability of the website.AnQiCMS on this point, has provided us with a very friendly solution. ### AnQiCMS Template Engine Syntax Parsing One of AnQiCMS's core strengths lies in the template engine syntax it adopts.

2025-11-06

How to include common code snippets like header and footer in AnQiCMS templates?

As an experienced AnQiCMS website operator, I am well aware of the importance of website template efficiency and maintainability for daily work.A well-designed template structure that ensures consistency in the brand image of the website, improves user experience, and significantly reduces the cost of content updates and website maintenance.In AnQiCMS, reasonably introducing common code snippets, such as the website header and footer, is the key to achieving this goal.

2025-11-06

How to perform conditional judgment (if-else) and loop traversal (for) in AnQiCMS templates?

AnQiCMS (AnQiCMS) is an efficient and customizable content management system. Its template engine design philosophy is to simplify the complexity of content presentation, allowing website operators to focus on content organization and optimization.In the daily operation of websites, we often need to display content based on different conditions, or iterate through list data for dynamic rendering.AnQi CMS provides intuitive and powerful template tags, the most basic and core of which are conditional judgment (`if-else`) and loop traversal (`for`) tags.

2025-11-06