What are the detailed steps for installing AnQiCMS using 1Panel Docker?

Calendar 👁️ 110

As an experienced website operations expert, I am well aware of the importance of an efficient and user-friendly content management system for both enterprises and individual operators.AnQiCMS (AnQiCMS) has become the preferred choice for many users with its high performance brought by the Go language, rich SEO tools, and excellent multi-site management capabilities.When AnQiCMS encounters a modern server operation and maintenance management panel like 1Panel, the convenience of deployment has reached a new height.Today, let's delve into how to easily install AnQiCMS using the Docker feature of 1Panel.

The powerful functions of AnQi CMS, such as flexible content models, multilingual support, intelligent SEO optimization (including static redirection, 301 redirection, Sitemap, keyword library, etc.), as well as unique anti-crawling and watermark management, all make it stand out in the content operation field.It can not only help small and medium-sized enterprises improve the efficiency of content marketing, but also provide one-stop solutions for self-media and multi-site managers.Now, let's deploy this efficient CMS step by step on 1Panel.

1. Ready: 1Panel installation and basic environment setup

Firstly, we need to ensure that 1Panel is successfully installed on your server. If you have not installed it yet, you can visit the 1Panel official websitehttps://1panel.cn/Operate according to its detailed installation guide. The installation process of 1Panel is usually very simple, it will provide you with an intuitive graphical interface to manage your server.

After installing 1Panel, in order for AnQiCMS to run smoothly, we still need to install several necessary supporting software in the 1Panel app store. Specifically, you need to find and install in the app storeOpenRestyandMySQL。OpenResty will act as the reverse proxy server for our AnQiCMS, while MySQL is the relational database used to store data for AnQiCMS.Make sure these two applications have been successfully installed and are running properly.

2. Container creation: Deploy AnQiCMS core service

Next, we will create a container for AnQiCMS in 1Panel using Docker.

Open your 1Panel panel and select from the left-hand navigation menu“Container”Options, then switch to“Container”the tab. Here, you will see a“Create Container”Button, click it to start the configuration.

In the pop-up container creation interface, first specify a friendly name for your AnQiCMS container.nameFor example, you can fill inanqicms.

In"Image"Select part, pleaseManual inputThen enter the Docker image address of AnQiCMS in the input box below:anqicms/anqicms:latest. This will ensure that the system pulls the latest stable version of the AnQiCMS image.

Continue configuringPort. AnQiCMS container internally listens on the default port.8001Port. Therefore, in“Container Port”Fill in a column8001And“Server Port”In a column, you can fill in similarly8001. It is worth noting that if you plan to deploy multiple AnQiCMS containers on the same server, each AnQiCMS container must expose a unique server port to the outside, for example, the second container you can set to8002, the third is set to8003and so on, but the container internal port is always8001.

Keep scrolling down to find“Reboot Policy”Options. It is recommended to choose to ensure the continuous and stable operation of AnQiCMS services“Reboot after failure”or“Reboot if not manually stopped”. Even if the service is interrupted unexpectedly, the system can automatically try to recover.

After completing the above configuration, click the bottom of the interface.“Confirm”Button. 1Panel will automatically pull the Docker image and create an AnQiCMS container. This process may take a few minutes, please be patient.

3. Reverse proxy configuration: Make the AnQiCMS site accessible

After the AnQiCMS container is created, it is already running internally on the server, but external users cannot access it via the domain name.At this time, we need to use the reverse proxy function of 1Panel to forward domain requests to the port of the AnQiCMS container.

Return to the left navigation menu of 1Panel, click“Website”and then select“Website”Tab and click“Create website”button.

In the pop-up website creation interface, selectReverse ProxyType.

In“Primary Domain”column, enter the website domain name you have prepared for AnQiCMS, for example:test.anqicms.comEnsure that this domain has been resolved to your server IP address.

InProxy addressIn the field, enter the access address of the AnQiCMS container inside your server, which is usually127.0.0.1:8001Remember that if you previously set a different server port for the AnQiCMS container (for example8002), you also need to modify it here127.0.0.1:8002.

Finally, click“Confirm”Button. 1Panel will configure OpenResty for you and set up reverse proxy rules.

4. Website initialization: Start your AnQiCMS journey.

As of now, the deployment work of AnQiCMS has been basically completed. Now, you can enter the domain name you previously set in your browser (for example:http://test.anqicms.com/) for access.

When you first visit, you will enter the initialization installation interface of AnQiCMS.Please fill in the necessary database connection information according to the interface prompt (such as MySQL's IP, port, database name, username, password, etc.) as well as the administrator account and password you wish to set for the background.After completing these steps, click install, the AnQiCMS website will be officially launched!

You can access your domain name by adding/system/to enter the AnQiCMS admin panel, for example:http://test.anqicms.com/system/. The default admin account is usuallyadmin, and the password is123456(Strongly recommended to change immediately after the first login!).

With the powerful support of 1Panel and the excellent performance of AnQiCMS, your content management work will become unprecedentedly easy and efficient.


Frequently Asked Questions (FAQ)

  1. What is the default administrator account and password of AnQiCMS? How should I change it?AnQiCMS will set a default administrator account after completing the initial installationadminThe initial password is123456. It is strongly recommended that you change the default password to a complex and hard-to-guess new one immediately after your first login to the admin backend or to related settings pages such as 'Administrator Management' or 'Profile'.

  2. Why is my website inaccessible or showing a 502 error after installing AnQiCMS on 1Panel?This is usually due to the reverse proxy configuration or the Docker container itself. You can check from the following aspects:

    • Check Docker container statusIn the 'Container' page of 1Panel, confirm whether the AnQiCMS container is running and there are no abnormal exits.
    • Check port mappingMake sure that the mapping of 'server port' to 'container port' is correct when creating a container, and that the 'server port' is not occupied by other applications.
    • Check the reverse proxy configurationCheck if the 'Website' -> 'Reverse Proxy' filled 'Proxy Address' matches the 'Server Port' of the AnQiCMS container (for example, if the container server port is 8001, the proxy address should be127.0.0.1:8001)
    • Check OpenResty statusEnsure OpenResty service is running normally in 1Panel.
    • View logCheck the AnQiCMS container logs and the OpenResty error logs, as this usually provides more specific error information.
  3. How can I deploy multiple AnQiCMS sites on the same server?How many strategies are there to deploy multiple AnQiCMS sites on 1Panel?

    • Multiple Docker container solutions: You can create an independent Docker container for each AnQiCMS site.Each container needs to use a different 'server port' (such as 8001, 8002, 8003, etc.) when deployed, but the internal container port remains unchanged.Then, configure a separate domain and reverse proxy rule for each container, proxying to their respective server ports.
    • AnQiCMS multi-site management feature:AnQiCMS itself supports powerful multi-site management.You can log in to the backend after deploying an AnQiCMS container and add a new site using the 'Multi-site Management' feature.Each new site can be bound to a different domain, have an independent database, and content management.This method is usually more resource-saving, but all sites share the same AnQiCMS program instance.If you choose this method, you just need to configure multiple domain name reverse proxies for this AnQiCMS container in 1Panel, and direct all these domains to the same127.0.0.1:8001(or any other port you set), then go to the AnQiCMS background for detailed configuration.

Related articles

How to change the default administrator account and password after installing AnQiCMS to enhance security?

As an experienced website operations expert, I am well aware of the importance of website security in daily operations, especially in the early stages of system installation, many details may become potential security risks.AnQiCMS is an enterprise-level content management system dedicated to providing efficient, secure, and customizable services, considering security from the beginning of its design.However, the initial settings are often adopted for convenience and use default values, which requires us to take immediate action after installation to ensure the security and stability of the website.

2025-11-06

How to query and release the port occupied by AnQiCMS or other programs under the Linux system?

AnQiCMS, as an enterprise-level content management system developed based on the Go language, has won the favor of many users with its lightweight and efficient features.When deploying and running AnQiCMS in a Linux environment, we usually specify a listening port for it, such as the default 8001.However, in daily operation and maintenance, we may encounter such situations: AnQiCMS cannot start, indicating that the port is occupied; or the system resources are abnormal, and it is necessary to find and terminate the process occupying a specific port.

2025-11-06

How to solve the error 'Port is occupied' during the installation of AnQiCMS?

AnQiCMS as an efficient and flexible content management system, is favored by many users for its lightweight characteristics of the Go language and ease of deployment.However, during the installation or startup of AnQiCMS, you may encounter a little surprise - an error message indicating that the port is already in use.Don't worry, this is usually a common and easy problem to solve.As an experienced website operations expert, I will delve into this issue for you and provide a clear and practical solution to help you smoothly build the AnQiCMS site.

2025-11-06

What is the specific method for installing and testing AnQiCMS under MacOS?

As an experienced website operations expert, I fully understand the importance of an efficient and stable content management system (CMS) for a corporate website.AnQiCMS (AnQiCMS) stands out in the field of small and medium-sized enterprises and content operations with its lightweight and efficient features in the Go language.Today, let's delve into how to easily install and test AnQiCMS on our commonly used MacOS system, so that everyone can better understand and use this excellent CMS.

2025-11-06

How to configure a reverse proxy site for AnQiCMS container deployed with Docker in 1Panel?

As an experienced website operation expert, I am happy to give you a detailed explanation of how to configure reverse proxy sites for AnQiCMS containers deployed in the 1Panel environment, so that your website runs professionally and efficiently. --- ## In 1Panel, configure reverse proxy for AnQiCMS container deployed using Docker: Get your website up professionally!

2025-11-06

How is the installation process for deploying AnQiCMS Docker application with aaPanel one-click?

As an experienced website operations expert, I am well aware of the importance of efficient and stable website deployment for any content operation project.Especially at the moment, Docker container technology and integrated management panels like aaPanel have brought us unprecedented convenience.Today, let's delve into how to take advantage of the powerful features of aaPanel and easily achieve one-click deployment of AnQiCMS Docker applications.

2025-11-06

How to manually configure reverse proxy to solve the problem after the installation of AnQiCMS fails in aaPanel Docker?

## aaPanel Docker installation failed?Don't hurry, setting up manual reverse proxy is easy!Hello!As an experienced website operations expert, I know how important efficiency and stability are when deploying a website.AnQiCMS, with its high-performance architecture developed in Go language, rich and practical SEO features, and flexible content management capabilities, has become the preferred choice for many small and medium-sized enterprises and content operators.It is not only simple to deploy and efficient in operation, but also effectively guarantees website security.

2025-11-06

How to install MySQL in the Baota panel Docker environment for AnQiCMS usage?

AnQiCMS (AnQiCMS) is a powerful helper for small and medium-sized enterprises and content operation teams with its high-performance, modular design based on the Go language and enterprise-level features, quickly becoming a reliable assistant.It is committed to providing an efficient, customizable, and easy-to-expand content management solution. Whether you are building a corporate website, a marketing website, or managing multiple sites, AnQiCMS can handle it with ease.As the core of the content management system, the database plays a vital role, responsible for storing and managing all the content and configurations of the website.

2025-11-06