How to use Baota panel to install AnQiCMS on a Linux server?

Calendar 👁️ 59

As an experienced security CMS website operation personnel, I know that the deployment of the content management system is the foundation of operational success.AnQiCMS with its high performance, security, and ease of use based on the Go language has become the ideal choice for many small and medium-sized enterprises and content operation teams.Install AnQiCMS on a Linux server with the Baota panel can greatly simplify the deployment process, allowing you to quickly immerse yourself in content creation and operation.

This article will detail how to install and configure AnQiCMS on a Linux server using the Docker feature of Baota panel, and provide guidance for multi-site operations.

Install AnQiCMS using Baota panel on a Linux server

Preparation for Baota panel

Before starting the installation of AnQiCMS, please ensure that your Linux server has correctly installed and run Baota Panel. The installation process of Baota Panel is simple, and you can visit its official website (https://www.bt.cn/new/download.htmlGet the latest installation script and follow the instructions.

After the Baota panel is installed, we need to enable the Docker feature.Please log in to your Baota panel and find the "Docker" option in the left menu.If you can't see it, it may be hidden. You can find the 'Panel Menu Hide' option in 'Panel Settings' to make sure Docker is displayed.When you first enter the Docker management interface, the system may prompt you to install the Docker service, please click "Install Now" to complete the deployment of the Docker environment.

Install MySQL database

AnQiCMS needs a database to store its data.In the Docker environment, we recommend installing MySQL through the Baota panel's Docker app store, which ensures compatibility and convenience.

In the Docker management interface, switch to the "App Store" or directly enter "mysql" in the search box to search.After finding the MySQL application, click Install. In the installation settings, you can select the version of MySQL.If your server memory is greater than 2GB, it is recommended to choose MySQL 5.7 or a higher version;If memory is low, such as less than 2GB, it is recommended to choose MySQL 5.6 version.Please make sure to check the "Allow External Access" option, which is the key for AnQiCMS to connect to the database.

After the MySQL installation is successful, click its "Details" link, and you will see the root user password of MySQL.Make sure to copy and keep this password safe, it will be used later when installing AnQiCMS.

Install AnQiCMS using Docker

After installing MySQL, we can install AnQiCMS.Search for 'anqicms' in the Docker app store on Baota panel, find the AnQiCMS app and click the 'Install' button.

In the AnQiCMS installation configuration interface, you need to fill in the following information:

  • Website domain:Enter the domain name you plan to use to access the AnQiCMS site, for examplewww.anqicms.com.
  • Database name:AnQiCMS will create its data tables in this database. The default name is usuallyanqicms. If you plan to install multiple AnQiCMS instances on the same server, be sure to set a unique database name for each instance to avoid data conflicts.
  • Database Password:This is the root user password you copied from the MySQL details. Please make sure it is correct.
  • Port:This is the port that the AnQiCMS service listens on inside the Docker container, typically it is8001. If you plan to install multiple AnQiCMS instances on the same server, each instance needs to listen on a different port, for example8001/8002/8003etc., but the port in the container is always filled out8001. The server port can be incremented based on the number of containers you actually deploy.

After filling out, click "OK" to start the installation. The installation process may take 1 to 5 minutes, please be patient.After installation, the Docker container list will display the status that AnQiCMS is running.

The initialization and access of the website

After AnQiCMS is installed and started with Docker, you need to perform the first visit to complete the initial settings.

Enter the website domain configured earlier, for examplehttp://www.anqicms.com/You will be guided to the AnQiCMS initialization installation interface.Here, you need to fill in the database connection information (AnQiCMS will automatically pre-fill most of it, just confirm and modify), and set your admin account and password for the backend.After the initial installation is successful, you can access the AnQiCMS front-end website normally.

To access the AnQiCMS admin interface, please enter in your browser您的域名/system/. For example, if your website domain ishttp://www.anqicms.com/The backend access address ishttp://www.anqicms.com/system/. Please change the default administrator account and password when you first log in to ensure website security.

Deploy multiple AnQiCMS sites on a single server.

AnQiCMS supports multi-site management, which means you do not need to deploy a separate set of AnQiCMS code for each site.To implement multiple sites in the Docker environment of Baota panel, mainly through creating multiple AnQiCMS Docker container instances, and configuring different ports and reverse proxy for each instance.

First, you need to repeat the steps of installing the AnQiCMS application using Docker to install an AnQiCMS Docker container for each new site.Ensure that each new container is configured with a unique server port (such as 8002, 8003, etc.), and points to different database names.

Next, configure reverse proxy for each new site in the Baota panel:

In the left menu of the Baota panel, select 'Website', then click the 'Reverse Proxy' tab, and click the 'Add Reverse Proxy' button.

Enter the new site domain in the pop-up interface, for exampledev.anqicms.comIn the 'Target URL' field, enterhttp://127.0.0.1:端口号. The port number should be the unique server port you assigned when installing the corresponding AnQiCMS Docker container (for example)http://127.0.0.1:8002)

Reverse proxy setup completed

Related articles

What website adaptation modes does AnQiCMS support (Adaptive, Code Adaptation, PC+Mobile)?

As an experienced website operator who understands the operation of AnQiCMS, I know the importance of content presentation in attracting and retaining users.AnQiCMS offers a variety of flexible options in website adaptation mode to help operators build efficient and user-friendly websites according to the target audience and business needs.Below, I will elaborate on the several main website adaptation modes supported by AnQiCMS.AnQiCMS provides adaptive, code adaptation, and PC+Mobile independent site three core modes when handling website visits on different devices

2025-11-06

Does AnQiCMS template engine support syntax similar to Django or Blade?

As an experienced website operator who deeply understands the operation of AnQiCMS, I know the importance of template engines in content presentation and website customization.A highly efficient and easy-to-use template syntax that can greatly enhance the efficiency of content publishing and site optimization.In response to your question about whether AnQiCMS template engine supports syntax similar to Django or Blade, I will give you a detailed explanation.

2025-11-06

What types of websites are suitable for AnQiCMS other than corporate websites?

AnQiCMS (AnQiCMS) has long surpassed the scope of traditional enterprise website construction with its efficient, secure, and flexible features built on the Go language.As an experienced website operations manager, I know that a good content management system should have adaptability.The architecture design and rich features of AnQiCMS make it easy to handle various types of website needs.The core advantage of AnQiCMS lies in its excellent performance and rigorous security mechanism.

2025-11-06

How does AnQiCMS ensure content compliance through built-in security mechanisms?

How does AnQiCMS ensure content compliance through built-in security mechanisms?AnQiCMS is a content management system designed for small and medium-sized enterprises and content operation teams, providing efficient and customizable content management solutions while placing content compliance and security at the core position.In today's complex and changing network environment, ensuring the legality, standardization of published content, and avoiding potential risks is crucial for maintaining corporate reputation and user trust.AnQiCMS through a series of built-in security mechanisms and features design

2025-11-06

How to configure Nginx rewrite rules when installing AnQiCMS on the Baota panel?

The AnQiCMS content management system is increasingly becoming the preferred tool for small and medium-sized enterprises and content operation teams due to its efficient features based on the Go language and its SEO-friendly design concept.As an old veteran who has been deeply involved in website operation for many years, I fully understand the importance of high-quality content and excellent user experience, and the elegant URL structure is the key to improving these experiences.The built-in pseudo-static feature of AnQiCMS is exactly what is needed to achieve this goal.

2025-11-06

How to install and manage multiple AnQiCMS sites on the same server?

AnQiCMS is an efficient and flexible content management system, its multi-site management function is designed to meet the needs of small and medium-sized enterprises, self-media operators, and users with multiple brands or content branches.As an experienced website operations manager, I am well aware of the importance of efficiently managing multiple sites on the same server, which not only saves server resources but also simplifies daily maintenance work.Below, I will elaborate on how to install and manage multiple AnQiCMS sites on the same server.

2025-11-06

How to test and run AnQiCMS program under Windows environment?

As an experienced CMS website operator, I am well aware of the importance of efficiently testing and running CMS programs in a local environment, especially on Windows systems, for content creation and optimization processes.AnQiCMS is a system developed based on the Go language, with its lightweight and efficient characteristics, the deployment and testing in the Windows environment are also relatively convenient.Below, I will explain in detail how to test and run the AnQiCMS program in the Windows environment

2025-11-06

How to solve the error 'Port is already in use' when deploying AnQiCMS?

As an experienced CMS website operation personnel, I know that technical details often determine whether the operation is smooth or not.Among them, 'Port occupied' is a common initial problem when deploying applications like AnQiCMS that run based on a specific port.But please be assured, this is not a difficult problem to solve. Just understand its principles and follow the steps, and you can easily resolve it.### Understanding Port Occupation Error If the system prompts the error message "Port is already in use" when you try to start the AnQiCMS service

2025-11-06