As an experienced CMS website operation personnel, I know the importance of an efficient and stable content management system for the development of a company.AutoCMS is our ideal choice for managing multiple websites due to its efficiency in Go language, powerful feature set, and SEO-friendliness.Today, I will elaborate in detail on how to search and install AnQiCMS in the Docker app store of Baota panel, making your content management journey smoother.

Start your journey of CMS efficient content management: Baota panel Docker installation guide

安企CMS(AnQiCMS)is an enterprise-level content management system developed based on Go language. It provides an excellent content management solution for small and medium-sized enterprises, self-media operators, and multi-site managers with features such as easy deployment, secure operation, elegant interface, and fast execution speed.Its built-in rich corporate website common functions, such as multi-site management, flexible content model, advanced SEO tools, etc., can greatly enhance the efficiency and market competitiveness of website operation.

On the Baota panel, using Docker technology to deploy AnQiCMS can achieve the rapid construction and isolation of the environment, greatly simplifying the installation process.Before you start the installation, please make sure that your Baota panel version is above 9.2.0 and that Docker Manager is installed.If you have not installed Baota Panel yet, please visit its official website to get the latest installation instructions.

Check and install Docker manager

Firstly, we need to confirm that the Docker feature in the Baota panel is enabled and installed.Log in to your Baota panel, find the "Docker" option in the left menu bar.If you do not see this option, you may need to go to the 'Panel Settings' and display it in the 'Panel Menu Hidden'.

When you first enter the Docker management interface, the system will usually prompt you to install Docker.Please click the 'Install Now' button and wait patiently for the Docker environment to be deployed on your server.This is an automated process, usually requiring no human intervention.

Deploy MySQL database

Before installing AnQiCMS, we also need a database to store its data.In Docker environment, we recommend you install the Docker version of MySQL.In the Docker Manager of the Baota panel, switch to the "App Store" or "Image Management

Find the MySQL image and click Install.Please pay attention to the server memory during installation and configuration.If your server memory is less than 2GB, it is recommended to choose MySQL 5.6 version; if the memory is sufficient, you can choose the default 5.7 version.Ensure that the option 'Allow external access' is selected, which is crucial for the AnQiCMS to connect to the database.After installation, click the 'Details' link of the MySQL container and copy the password of the root user.This password will be used during the installation of AnQiCMS, please make sure to keep it safe.

Search and install the AnQiCMS application

Now, we are ready to install AnQiCMS itself.Still in the Docker manager of the Baota panel, enter “anqicms” in the search box to find the Anqi CMS application.

Click the 'Install' button in the search results, you will enter the installation configuration interface. Here, you need to fill in some key information:

  • Website domain:Fill in the domain name you have parsed to the server, for example:www.anqicms.com.
  • Database name:Default is usuallyanqicmsIf you plan to install multiple AnQiCMS sites on the same server, please set a unique database name for each site to avoid data conflicts.
  • Database password:Enter the root user password you previously copied from the MySQL container details.
  • Port:The default port is8001Similarly, if multiple AnQiCMS instances are installed, each instance requires a different port number, for example8002/8003etc.

Confirm all information is correct before clicking "OK" to start the installation.This process may take 1 to 5 minutes, please be patient and wait until the installation is complete.After installation, the Docker container list will show that the AnQiCMS container is running.

First visit and initialization

When the AnQiCMS container starts successfully, you can access your website using the domain name you previously filled in. For example, if your domain name ishttp://dev.anqicms.com/, please enter this address in your browser.

First time visit, the system will guide you to the initialization installation interface of AnQiCMS.Here, you may need to confirm the database connection information again, and set your background administrator account and password.

After the initialization is completed, you can officially start using AnQiCMS. The background management address is usually your domain name plus/system/Path. For example:http://dev.anqicms.com/system/Please log in using the administrator account and password you set during initialization, and it is recommended to change the default credentials immediately.admin/123456to enhance security.

Here, your AnQiCMS website has been successfully deployed through the Baota Panel's Docker App Store.Now, you can freely create, publish and optimize your content, unleash the powerful functions of AnQiCMS, and enhance the influence of your website.


Frequently Asked Questions

Q1: How do you handle it if the Docker container fails to start or the website is inaccessible when installing AnQiCMS? A1:If the AnQiCMS container fails to start or the website cannot be accessed, the first thing to check is whether the port is occupied. You can use the terminal in the Baota panel.lsof -i:{端口号}Command (for example:lsof -i:8001) to view port occupation. If the port is occupied, you can usekill -9 {PID}Command process ended, or change the port number of AnQiCMS and reinstall.In addition, please make sure that your domain name is correctly resolved to the server IP, and there are no other services occupying the 80 or 443 ports for website access on the Baota panel.

Q2: How to install and manage multiple AnQiCMS sites on a single server? A2:In Docker environment, it is**practical**to allocate an independent Docker container and a different port number for each AnQiCMS site.You can install AnQiCMS multiple times in the Docker App Store, and specify a new port (such as 8002, 8003, etc.) and a unique database name each time you install it.127.0.0.1:8002)。Thus, different AnQiCMS sites can be accessed through different domain names.

Q3: After installation, my website displays normally, but the backend access address/system/But it prompts a 404 error? A3:If you encounter a 404 error when accessing the backend, this is usually due to incorrect configuration of the reverse proxy or pseudo-static rules of the web server (such as Nginx). When using the reverse proxy feature of Baota panel, in addition to proxying to the port of AnQiCMS, the default configuration of Nginx may not be handled correctly/system/Such a secondary path.Please check your website reverse proxy settings to ensure that all requests are correctly forwarded to the AnQiCMS container.In some cases, it may be necessary to manually adjust the Nginx configuration to ensure that the URL rewrite rules can correctly identify and route the background paths.