As an experienced CMS website operation person, I am well aware that a smooth deployment process is crucial for the rapid launch and stable operation of a website.A quiet CMS, with its lightweight and efficient Go language and powerful SEO features, is deeply loved by our team.Deploying AnQi CMS combined with Docker technology through the Baota panel takes convenience and flexibility to a new height.

The following is a detailed guide on how to install AnQi CMS using Docker on the Baota panel:

Important preparatory work before deployment

Before installing AnQi CMS officially, we need to make sure that your Baota panel environment is ready.

Please confirm that your Baota panel version meets the requirements. The document clearly states that Docker deployment is applicable to Baota panel versions 9.2.0 and above, with version 9.5.0 being demonstrated.If your panel version is too low, it is recommended that you upgrade it first.

After the installation of the Baota panel is completed and you have logged in, you need to activate and check the Docker function.Generally, Docker entries are located on the left menu. If not found, please go to 'Panel Settings' to enable 'Docker Display'.When you first use the Docker feature, the Baota panel will prompt you to 'Install Docker Engine' immediately. Please make sure to complete this installation step.

Before installing the AnQi CMS container, a crucial prerequisite is to install the Docker version of the MySQL database.Search and install MySQL in the Docker App Store on the Baota panel.According to your server memory situation, you can choose version 5.6 or 5.7 (it is recommended to choose 5.6 if you have 2G of memory or less).During the installation process, please make sure to check 'Allow external access', and remember or copy the root password displayed on the MySQL details page after installation. This is the necessary information for the CMS to connect to the database later.

Install AnQi CMS via the Docker App Store

After completing the above preparation, you can now start installing the AnQi CMS application.

In the Docker interface of the Baota panel, click the "App Store" tab.Enter 'anqicms' in the search box, and the system will list the Docker images of Anqicms.Click the 'Install' button in the search results to enter the installation configuration interface.

In the configuration interface, you need to fill in several key pieces of information:

  • Website domain:Enter the domain name you wish to bind to the AnQi CMS, for examplewww.yourdomain.com. Make sure that this domain has been resolved to your server IP address in advance.
  • Database name:The default isanqicmsIf you plan to deploy multiple security CMS instances on the same server, please set a different database name for each instance to avoid data conflicts.
  • Database password:Enter the root password you obtained when installing Docker-based MySQL in the previous steps.
  • Port:The default is8001Similarly, if you need to install multiple security CMS, please allocate an unused port number for each instance, for example8002/8003etc.

Check and then click the "Confirm" button to start the installation.The installation process for Docker containers may take 1 to 5 minutes, please be patient until the installation is complete.anqicmsor a container with a custom name, and the status should be running.

The first use and management of the website

After installation, the Baota panel usually automatically configures Nginx reverse proxy, forwarding the requests from the bound domain to the specified port of the Anqi CMS Docker container.

Now, you can enter the domain name you previously set in the browser (for examplehttp://www.yourdomain.com/Access by doing.The AnQi CMS will guide you to the initial installation interface of the website.In this interface, you may need to reconfirm the database information, set the administrator account and password (please use a complex password), and configure the website address and other basic information.

After completing the initial installation, your security CMS website can be used normally.

The backend management address of AnQi CMS is unified as:您的域名/system/. For example, if your website domain ishttp://www.yourdomain.com/Then the backend access path is:http://www.yourdomain.com/system/.

When you log in to the backend for the first time, the system will provide the default administrator account and password:

  • Default account: admin
  • Default Password: 123456

It is strongly recommended that you change the default administrator account and password immediately after your first login to ensure website security.

So far, you have successfully deployed AnQi CMS through Docker on the Baota panel, and you can start enjoying the efficient content management experience it brings.


Common Questions and Answers (FAQ)

1. How to install multiple AnQiCMS instances on the same Baota panel server?

To run multiple AnQiCMS instances on the same server, the key is to allocate independent resources for each instance. When installing AnQiCMS via the Docker app store, you need:

  • Distribute different ports:Specify a different Docker container port for each AnQiCMS instance (e.g., 8001, 8002, 8003, etc.).
  • Use different databases:Set a unique database name for each instance.
  • Bind different domain names:Bind a separate website domain to each AnQiCMS instance in the Baota panel.The Baota Panel Docker App Store automatically handles the corresponding Nginx reverse proxy configuration during installation, forwarding requests from different domain names to the corresponding Docker container ports.

2. After installation, the website or backend cannot be accessed, how should I troubleshoot?

When the website or backend is inaccessible, you can troubleshoot by following these steps:

  • Domain resolution check:Ensure that your domain is correctly resolved to the server IP address. You can use:ping 您的域名ornslookup 您的域名Command check.
  • Docker container status:Log in to the Baota panel, go to the Docker management interface, and checkanqicmsContainer is running. If not running or in an abnormal state, check the logs to troubleshoot the issue.
  • Port conflict check:Confirm that the port allocated to the Docker container (e.g., 8001) is not occupied by other services on the server. On a Linux server, you can uselsof -i:端口号Check the command. If the port is occupied, you may need to end the occupying process or change the container port of AnQiCMS.
  • Baota website configuration:Check the "Website" menu under the Baota panel and confirm that the target address and port of the reverse proxy are consistent with the port of your AnQiCMS Docker container (for examplehttp://127.0.0.1:8001).
  • Firewall settings:Check the server firewall and Baota panel security group settings to ensure that your website access ports (usually 80 and 443) and AnQiCMS Docker container ports (such as 8001) are open to the public.

3. What is the default username and password for AnQiCMS?

After the first installation and initialization of AnQiCMS, the default administrator account isadminThe default password is123456In order to ensure the security of your website, it is strongly recommended that you change these default credentials immediately after logging into the backend.