As an experienced CMS website operation personnel of AnQi, I deeply understand the importance of an efficient and stable content management system for both enterprises and individual operators.The Anqi CMS, with its high concurrency features of the Go language, concise architectural design, and in-depth optimization for SEO, has become the first choice for many small and medium-sized enterprises and self-media teams.Deploying AnQi CMS on the server, if you can combine the Docker function of Baota International version aaPanel, it will greatly simplify the deployment process, allowing you to quickly engage in content creation and management.

This article will guide you in detail on how to deploy AnQiCMS application through Docker on the aaPanel panel, helping you easily build your own high-performance content platform.

Introduction: The efficiency integration of AnQi CMS and aaPanel Docker deployment

AnQiCMS (AnQiCMS) is an enterprise-level content management system developed based on the Go language, known for its excellent performance, flexible customization, and easy scalability.It focuses on providing efficient content management solutions for small and medium-sized enterprises, independent media operators, and multi-site managers, covering a series of core functions from content publishing, SEO optimization to multilingual support.The system is designed with a focus on high concurrency, security, and scalability, aiming to provide a lightweight and efficient content management service to help users carry out content marketing activities efficiently.

While aaPanel is a powerful server management panel, it can package the application and all its dependencies into an independent container through its integrated Docker functionality, enabling rapid deployment and environmental isolation.This makes the installation of complex applications extremely simple, greatly reducing the technical threshold.Combining AnQiCMS with aaPanel's Docker deployment, you will experience unprecedented convenience and efficiency.

Preparation work before deployment

Before starting the deployment of the AnQiCMS Docker application, you need to ensure that aaPanel is already installed on your server. If you have not installed aaPanel yet, you can visitaaPanel official download pageChoose the appropriate installation command for your operating system and execute it. If you encounter any problems during the installation, the official website also provides customer support channels for you to seek help.

After installing aaPanel, the next step is to ensure that the Docker service is enabled in the aaPanel dashboard.You can log in to aaPanel, usually find the "Docker" option in the left menu bar.If this is your first time using Docker features, the system may prompt you to install, please click "Install Now" to complete the deployment of Docker services.

Deploy AnQiCMS with one click in the aaPanel app store

Once the Docker service is ready, we can start deploying AnQiCMS.In the left menu of the aaPanel panel, click on "Docker" to enter its management interface.Here, you will see an 'App Store' or similar entry, click to enter, and then type 'AnQiCMS' in the search box to search.

Find the AnQiCMS application from the search results and click the 'Install' button.This will guide you to the installation and configuration interface of AnQiCMS.

First, enter the "Domain" (domain name) that you plan to use to access the AnQiCMS site, for exampletest.anqicms.comMake sure that this domain name is correctly resolved to your server IP address. Secondly, in the port settings, the default port is usually8001. If you plan to deploy multiple AnQiCMS instances on the same server, or if this port is already occupied, please allocate a different, unoccupied port for each instance, such as8002/8003After completing these configurations, click the "Confirm" button to start the installation process of AnQiCMS.

The installation process usually takes 1 to 5 minutes, please be patient.aaPanel will automatically pull the AnQiCMS Docker image and complete the container creation and basic configuration.If any errors occur during installation, the panel will usually provide the corresponding error information.You can try to solve the problem with these hints, and then click the "Restart" button to try installing again.

Manually configure reverse proxy (optional, if one-click deployment fails or multiple sites are needed)

In some cases, if the one-click installation fails to automatically configure the website's reverse proxy, or if you need to manage the proxy for multiple AnQiCMS containers more finely, you can choose to manually configure the reverse proxy.

In the left menu of the aaPanel panel, select 'Website' (Website), then click the 'Add Site' (Add Site) or 'Reverse Proxy' (Reverse Proxy) option.Select to create a website of the "Reverse Proxy" (Reverse Proxy) type.In the pop-up configuration interface, set the "Domain" (primary domain) to the domain name you use to access AnQiCMS.http://127.0.0.1:8001of which8001Replace with the actual container port you set during AnQiCMS Docker installation.After confirming that everything is correct, click "Confirm" to complete the creation of the site.This will direct your domain to the AnQiCMS Docker container running in reverse proxy.

First Visit and Management

After AnQiCMS is successfully deployed, you can visit the domain name you previously set through your browser, for examplehttp://test.anqicms.com/. The AnQiCMS front page will be displayed by default.

To access the AnQiCMS backend management interface, you need to add it to the domain name./system/Path, for examplehttp://test.anqicms.com/system/. When first logging in, AnQiCMS provides a set of default administrator credentials:

  • Default username: admin
  • Default password: 123456

After logging into the backend, it is strongly recommended that you change the default administrator username and password immediately to ensure the security of your website.After completing these basic settings, you can start using the powerful features of AnQiCMS to publish, edit, and optimize your website content.

Frequently Asked Questions (FAQ)

Ask: Do I need to manually install the database when deploying AnQiCMS in aaPanel?

Answer: In most cases, you do not need to manually install the database for the AnQiCMS Docker application deployed through the aaPanel app store using one-click deployment.This deployment method usually abstracts the database configuration, or handles it automatically within the Docker image.The AnQiCMS Docker application is already equipped with default account and password after installation, which means the database and its initialization process have been automatically completed by the Docker container or the aaPanel app store.

Ask: What should I do if an error occurs during the one-click deployment process?

Answer: If you encounter an error while deploying AnQiCMS with one click in aaPanel, first carefully read the error information provided by the aaPanel panel, which usually points to the root cause of the problem.Common issues may include port conflicts or network configuration problems.You can try restarting the Docker service or restarting the installation process.If the error persists, you can try manually configuring the reverse proxy (as described above) or seek help on the aaPanel official forum, where there are abundant resources and community support to assist you in solving the problem.

Ask: How to deploy multiple AnQiCMS sites on the same server?

Answer: To deploy multiple AnQiCMS sites on the same server, you need to use a different Docker container port for each AnQiCMS instance and configure independent reverse proxies for each site in aaPanel. For example, the first site uses8001Port and proxy tohttp://127.0.0.1:8001Second site uses,8002Port and proxy tohttp://127.0.0.1:8002.In addition, AnQiCMS also supports multi-site management functionality. In the AnQiCMS backend that has been deployed, you can add new sites, specify new domain names, site root directories, and database information. The system will automatically create the required data structures for the new site, further simplifying multi-site maintenance.