HelloAs an experienced website operator, I am very happy to give you a detailed explanation of how to conveniently deploy AnQi CMS on aaPanel (Baota International Edition).AnQi CMS is becoming the preferred choice for an increasing number of small and medium-sized enterprises and content operation teams with its high-performance architecture based on the Go language, SEO-friendly design, and powerful multi-site management capabilities.Through the one-click deployment function of aaPanel's Docker, the whole process becomes extremely simple and efficient, allowing you to quickly set up and engage in content operations.

How to install the aaPanel panel environment

Before starting the deployment of AnQi CMS, your server needs to install the aaPanel panel. If you have already installed aaPanel, you can skip this part.

aaPanel, also known as Baota International Edition, is a feature-rich server management panel. You can visit its official download pagehttps://www.aaPanel.com/new/download.htmlGet the installation guide.Choose the appropriate installation command based on your server's operating system and personal preferences, and execute it by logging in to the server via SSH.In addition to command line installation, aaPanel usually provides an online installation option. If you encounter any questions during the installation process, you can refer to the customer support information provided on the official website for help.

Deploying Aqei CMS through the Docker App Store

After installing aaPanel and successfully logging in, we can start deploying Anqi CMS.First, make sure that your aaPanel has installed the Docker manager.If you do not see the "Docker" option in the left menu, you may need to search and install it in the "App Store".About the Docker usage of aaPanel panel, you can also visit the aaPanel forum for more help.

The process of deploying AnqiCMS is very intuitive.In the left navigation bar of the aaPanel interface, find and click on "App Store" (App Store).In the search box of the app store, enter 'AnQiCMS' to search.After the search results appear, you will see the AnQiCMS application icon, click the "Install" (install) button next to it, and enter the installation configuration interface.

In the installation and configuration interface, you need to fill in some basic information. In the "Domain" field, enter the domain name you plan to use to access the AnqiCMS website, for example:test.anqicms.comFill in the "Port" field by default8001.This port is the port used by the AnQiCMS application running inside the Docker container.After completing these settings, click the "Confirm" button to start the installation.

Click Confirm after, the installation process will not be completed immediately as it involves downloading Docker images and creating containers.Please wait for about 1 to 5 minutes until the installation process is completed smoothly.If any errors occur during this process, please check and solve according to the error prompt information, and then click the "Restart" button to try installing again.

In rare cases, if Docker fails to automatically configure the reverse proxy after installation, you may need to configure it manually.This step is usually completed in the 'Website' management of aaPanel, select the 'Reverse Proxy' feature.

Configure website reverse proxy

After the Docker container is successfully created and AnqiCMS is running, in order for users to access your website through the domain name, we need to configure a reverse proxy in aaPanel.

In the left menu of aaPanel, click 'Website' (website), then select the 'Add Site' (add site) feature.In the pop-up interface, select the "Reverse Proxy" (reverse proxy) option.test.anqicms.com. Enter the Proxy Addresshttp://127.0.0.1:8001. Here,127.0.0.1Represents the server itself,8001It is the port that AnQiCMS listens to in the Docker container.If you used a different port when installing Docker previously, it also needs to be modified here.

Finally, click confirm to complete the creation of the website and the configuration of the reverse proxy.This way, when external requests access your domain name, aaPanel will forward the request to the running AnqiCMS Docker container.

First visit and backend management

Now, your AnqiCMS website has been deployed and can be accessed via the domain name. Open your browser and enter the domain name you set up earlier, for example:http://test.anqicms.com/. When you first visit, you will usually directly enter the AnqiCMS website installation initialization interface, where you need to fill in database information, set the website administrator account and password, and so on.

After the initialization installation is complete, your website can be used normally. The backend management address of AnqiCMS is added to your domain name plus/system/. For example, if your website ishttp://test.anqicms.com/then the back-end access path ishttp://test.anqicms.com/system/.

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

  • Default administrator account: admin
  • Default administrator password: 123456

To ensure the security of the website, please change these default account and password immediately after the first login to the back-end management interface.After the modification is complete, you can start using AnqiCMS's powerful content management features, such as publishing articles, managing products, optimizing SEO, and various other operational tasks.

Frequently Asked Questions

Q1: After installation, how to modify the default port of AnqiCMS?

A1: AnqiCMS is deployed on aaPanel using Docker, and its running port is specified when the container is created (the default is 8001).If you need to modify, you first need to find the AnqiCMS container in the aaPanel Docker management interface, stop and delete the old container (please note to back up the data).Then recreate an AnqiCMS container, set the 'Port' field to the new port you wish to use, such as 8002.http://127.0.0.1:8001is modified tohttp://127.0.0.1:新端口号.

Q2: If the AnqiCMS website cannot be accessed through the domain name, how should I troubleshoot?

A2: First check if the domain has been correctly resolved to your server IP address.Next, in the "Security" (Security) or "Firewall" (Firewall) of aaPanel, confirm that the server's 80 port (or 443 port if SSL is used) and the ports used internally by the Docker container (default 8001) are open.Check if the reverse proxy configuration of aaPanel is correct, especially whether the "main domain" and "proxy address" match your settings.Finally, check the logs of the AnqiCMS Docker container, you can find the corresponding container in the Docker management interface of aaPanel, click on “Logs” (logs) to view and find out if there are any application-level errors.

Q3: Can I deploy multiple AnqiCMS sites on the same server using aaPanel?

A3: Yes, AnqiCMS supports multi-site management, and it can also be realized through the Docker deployment of aaPanel.When creating an independent Docker container for each AnqiCMS instance, a different internal port must be allocated for each container (e.g., 8001, 8002, 8003, etc.).Then, configure a separate reverse proxy for each new site in aaPanel, and proxy each domain to the specific port of the corresponding AnqiCMS container.Finally, in the AnqiCMS backend management interface, use the "Multi-site Management" feature to add and configure new sites, each corresponding to an independent domain and database configuration.