Install AnQi via Docker on aaPanel

Calendar 👁️ 87

AnQi CMS is an enterprise-level content management system based on the Go language, designed to provide an efficient, customizable, and easy-to-expand content management solution.As a website operator familiar with content creation and optimization, I understand how important a stable and efficient system is.This article will provide a detailed introduction on how to quickly deploy anq CMS by using the Docker function on the aaPanel dashboard, helping you efficiently build and launch your website.

Preparation: Install aaPanel panel and Docker environment

Before starting the deployment of AnQi CMS, please ensure that the aaPanel panel is already installed and running on your server.If you have not installed aaPanel yet, you can visit the official download page of aaPanel to get the latest installation script and follow the instructions to complete the installation.aaPanel is a powerful server management panel that can simplify the deployment and management of various applications including Docker.

After aaPanel is installed, you need to enable and install the Docker environment in the panel.Please log in to your aaPanel panel and navigate to the "App Store" or "App Market" module in the left menu.In the app store, search and install the "Docker" application.This step is the foundation for the subsequent deployment of the Anqi CMS.

Configure database environment: Install MySQL

AnQi CMS needs a database to store its content and configuration information.In Docker environment, we recommend using a Dockerized MySQL database.In the Docker management interface of aaPanel, you can find and install the MySQL container.

In the Docker management interface, click on the "Create Container" or similar option, and then search for imagesmysql. Choose a version that suits your needs, for examplemysql:5.7ormysql:8.0. During the installation process, please be sure to record the MySQL'srootUser password, this will be the database password you need to provide when installing AnQi CMS.At the same time, it is recommended to check the option to allow external access so that the CMS container can connect to the MySQL container.For servers with low memory configuration (such as less than 2GB), consider using MySQL 5.6 version to optimize resource usage.

Install AnQi CMS with aaPanel's Docker one-click installation

After completing the preparation of the Docker environment and MySQL database, you can now start installing AnQi CMS.

Return to the 'App Store' or 'Application Store' module of the aaPanel panel.Enter "AnQiCMS" in the search box, and the system will display the applications of AnQiCMS.Click the 'Install' button in the search results to enter the installation configuration interface.

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

  • Domain (Domain): Enter the domain name you plan to use to access the Anqi CMS website, for exampleyour-domain.comMake sure that the domain name has been correctly resolved to your server IP address.
  • Port (port): The default port is usually8001. If you plan to deploy multiple AnQi CMS instances on the same server, or if the port is already occupied, please allocate a different unused port number for each instance, such as8002/8003etc.

After filling in, click the "Confirm" button.aaPanel will automatically pull the AnQiCMS Docker image and complete the container creation and basic configuration.This process may take 1 to 5 minutes, please be patient.If any error messages appear during the installation process, you can usually troubleshoot them by checking the error information and try clicking the 'Restart' button to reinstall.

Failed to process installation: Manually configure reverse proxy

In some cases, aaPanel may not be able to automatically configure the reverse proxy for your website.If your AnQi CMS installation fails to access normally through the domain or displays an incorrect page, you may need to manually set up a reverse proxy.

In the aaPanel panel, navigate to the "WebsiteClick the 'Add Reverse Proxy' button to start creating a new reverse proxy rule.

  • Main domain: Enter the domain name you use to access AnQi CMS, for exampletest.anqicms.com.
  • Proxy addressHere you should fill in the address and port that your Anqi CMS container is listening on locally. By default, the address inside the container is127.0.0.1The port is the one you set when installing AnQiCMS (for example8001). So, here you should fill inhttps://en.anqicms.comEnsure that the correct port of the corresponding container is filled in if you have installed multiple AnQiCMS containers and used different ports.

After the configuration is complete, click "Confirm" to save the reverse proxy settings.This will redirect HTTP/HTTPS requests from your domain to the running AnQiCMS Docker container.

First use of the website and backend access

The Aanqi CMS is usually pre-installed in the Docker environment and provides default administrator account information.

  • Default administrator account:admin
  • Default administrator password:123456
  • Background access address: Add your domain name to/system/. For example, if your website domain ishttp://your-domain.com/, then the backend access address ishttp://your-domain.com/system/.

Now, you can enter your domain in the browser to access the front-end of the Anqi CMS website.To enter the background management interface, please visit the background access address mentioned above.After the first login, it is strongly recommended that you immediately change the default administrator account and password to ensure website security.

Frequently Asked Questions (FAQ)

Question 1: When I installed AnQiCMS on aaPanel, it prompted that the port is occupied, how should I solve this?

Answer 1: This usually means that the port you are trying to use (such as the default 8001) has been occupied by another program on the server or another AnQiCMS instance.You can specify a different, unused port number, such as 8002 or 8003, when installing Anqin CMS.lsof -i:{端口号}Command (in Linux server command line) to check the occupancy status of a specific port.

Question 2: After installation, my AnQiCMS website cannot be accessed through the domain name. The page displays an error or is blank. What could be the reason?

Answer 2: This is likely due to an incorrect or missing reverse proxy configuration. Please check the 'Website' -> 'Reverse Proxy' settings in aaPanel, ensure that your domain is correctly pointing to the internal address and port of the AnQiCMS container (for examplehttps://en.anqicms.comMake sure that your domain name is correctly resolved to the server IP address, and that the server firewall allows traffic on ports 80/443.

How to install multiple AnQiCMS sites on a single server?

Answer 3: To install multiple AnQiCMS sites on the same server, you need to deploy an independent AnQiCMS Docker container for each site and ensure that each container listens on a different internal port.Then, set a separate domain for each site in aaPanel and configure reverse proxy to point each domain to the different ports monitored by the corresponding AnQiCMS container.8001Port, use the second site8002Port, and configure the corresponding reverse proxy for each domain.

Related articles

How to configure reverse proxy through 1Panel when installing AnQiCMS with Docker?

AnQiCMS, as an enterprise-level content management system developed based on the Go language, is an ideal choice for small and medium-sized enterprises and content operation teams with its efficient, secure, and user-friendly features.Combining 1Panel, a convenient server management panel, deploying AnQiCMS via Docker containers can greatly simplify the installation and maintenance process.To allow AnQiCMS to access through a custom domain and hide its internal running port, configuring reverse proxy is an essential step before the website goes into operation.

2025-11-06

How to configure the new site root directory for AnQiCMS multi-site deployment to achieve data isolation?

As an experienced security CMS website operator, I am well aware of the core role of the content management system in today's digital marketing.Especially when facing the needs of multi-site operations, the powerful functions and flexible configuration provided by AnQiCMS are undoubtedly our reliable assistant.Among them, how to properly configure the root directory of a new site to achieve data isolation is a key link to ensure the efficient and safe operation of multiple sites.

2025-11-06

How to deploy multiple independent AnQiCMS sites on the same physical server?

In the rapidly changing digital age, businesses and content operators often face the challenge of managing multiple websites.AnQiCMS (AnQiCMS) is an efficient content management system developed based on the Go language, and its multi-site management function is exactly designed to solve this pain point.As an experienced website operator proficient in AnQi CMS, I am well aware of the readers' desire for efficient and convenient solutions.Today, I will elaborate on how to deploy multiple independent security CMS sites on the same physical server, helping you optimize resources and simplify management.## Start Your Multi-Site Journey

2025-11-06

How to use the stop script `stop.sh` written by author fesion in AnQiCMS?

AnQiCMS (AnQiCMS) is a high-efficiency and feature-rich Go language content management system, its stable operation cannot do without refined deployment and management.As a website operator, we not only need to pay attention to content creation and optimization, but also ensure the smooth operation of the system backend.In this case, the stop script `stop.sh` plays a crucial role, which can help us safely and effectively manage the lifecycle of AnQiCMS services.### Core function to stop the script `stop.sh` `stop

2025-11-06

What is the real meaning of checking if the PID exists in the AnQiCMS startup script?

As an experienced security CMS website operations personnel, I know that the logic behind each system component is crucial for the stable operation and efficient management of the website.The startup script serves as the starting point of the application lifecycle, its design often embodies considerations for system robustness and operational convenience.Now, let's delve into the true significance of the "check if PID exists" section in the Anqi CMS startup script.

2025-11-06

How to determine if the AnQiCMS process is running on the server?

As an expert who deeply understands the operation of AnQiCMS, I am well aware of the importance of stable system operation for website business.Determine whether the AnQiCMS process is running normally on the server, which is a basic and crucial task in daily operations.It is crucial to accurately grasp the process status, whether it is to investigate website access failures or to confirm whether the scheduled tasks are effective.

2025-11-06

Why does the AnQiCMS startup script use `ps -ef | grep | wc -l` to check the PID?

As an experienced CMS website operation personnel of an enterprise, I know that the stable operation of the system is of great importance to content publishing and user experience.AnQi CMS, with its high efficiency, lightweight, and easy deployment features, has won the favor of many small and medium-sized enterprises and content operation teams.However, even the most excellent system needs a reliable startup and maintenance mechanism to ensure its continuous online operation.Among them, the `ps -ef | grep | wc -l` command used in the startup script to check the PID, although it looks a bit complex, it is the key to ensuring the stable operation of the Anqi CMS.

2025-11-06

How does the startup script ensure that AnQiCMS automatically restarts after an unexpected stop?

AnQiCMS is a modern content management system developed based on the Go language, and its stability and high availability are the core guarantees for website operation.In the operation of a website, the background service process may unexpectedly stop due to various unpredictable reasons, such as exhaustion of system resources, program errors, and external attacks.

2025-11-06