As an experienced security CMS website operator, I am well aware of the importance of an efficient and stable content management system for the development of the enterprise.AnQi CMS with its efficiency in Go language, powerful feature set, and SEO-friendliness, has become an ideal choice for our team to manage content across multiple websites.Today, I will give you a detailed explanation of how to search and install AnQiCMS in the Docker app store on the Baota panel, making your content management journey smoother.
Start the journey of CMS efficient content management: Baota panel Docker installation guide
AnQiCMS (AnQiCMS) is an enterprise-level content management system developed based on the Go programming language, which provides an excellent content management solution for small and medium-sized enterprises, self-media operators, and multi-site managers with its easy deployment, secure operation, elegant interface, and fast execution speed.Its built-in rich enterprise website common features, such as multi-site management, flexible content model, advanced SEO tools, and others, can greatly enhance website operation efficiency and market competitiveness.
Deploy AnQiCMS using Docker technology on the Baota panel can quickly set up the environment and isolate it, 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 for 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 and look for 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 show it in the 'Panel Menu Hide'.
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 the Docker environment, we recommend that you install the Docker version of MySQL.In the Baota panel's Docker manager, switch to the 'App Store' or 'Image Management' interface, and search for 'mysql'.
After finding the MySQL mirror, click to install. Pay attention to the server memory when installing the configuration.If your server memory is less than 2GB, it is recommended to choose MySQL version 5.6;If memory is sufficient, you can choose version 5.7 by default. It is crucial to check the 'Allow External Access' option, which is essential for AnQiCMS to connect to the database.After installation, click on the "Details" link of the MySQL container and copy the password for the root user.This password will be used during the subsequent installation of AnQiCMS, please be sure to keep it safe.
Search and install the AnQiCMS application
Now, we are ready to install AnQiCMS itself. Still in the Baota panel's Docker manager, enter 'anqicms' in the search box to find the AnQiCMS 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:Enter the domain name you have parsed to the server, for example:
www.anqicms.com. - Database name:Default is usually
anqicmsIf 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:Default port is
8001Similarly, if multiple AnQiCMS instances are installed, each instance requires a different port number, such as8002/8003etc.
Confirm all information is correct before clicking "OK" to start the installation.This process may take 1 to 5 minutes, please be patient until the installation is complete.After installation, the Docker container list will show that the AnQiCMS container is running.
First visit and initialization
After the AnQiCMS container is successfully started, you can access your website using the domain name you previously entered. For example, if your domain ishttp://dev.anqicms.com/, please enter this address in your browser.
When you first 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 up your background administrator account and password.
After initialization is complete, you can officially start using AnQiCMS. The backend management address is usually your domain name plus/system/the path. For example:http://dev.anqicms.com/system/Please use the administrator account and password you set during initialization to log in, and it is recommended to change the default credentials immediately.admin/123456to enhance security.
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, leveraging the powerful functions of AnQiCMS to enhance the influence of your website.
Frequently Asked Questions
Q1: What should I do if the Docker container fails to start or the website is inaccessible during the installation of AnQiCMS?
A1: If you encounter a situation where the AnQiCMS container fails to start or the website cannot be accessed, you first need to check if the port is occupied. You can use it in the Baota panel terminal.lsof -i:{端口号}Command (for example:lsof -i:8001) to check port occupancy. If the port is occupied, you can usekill -9 {PID}The command ends and occupies the process, or change the port number of AnQiCMS and reinstall it.In addition, make sure that your domain is correctly resolved to the server IP, and that no other services are using the 80 or 443 ports for website access on the Baota panel.
Q2: How to install and manage multiple AnQiCMS sites on a server?
A2: In the Docker environment, allocating an independent Docker container and a different port for each AnQiCMS site is a**practice.You can install AnQiCMS multiple times in the Docker App Store. Each time you install it, specify a new site with an unoccupied port (such as 8002, 8003, etc.) and a unique database name.Then, in the "Website" function of the Baota panel, add a "Reverse Proxy" for each site, and proxy your domain to the internal IP and port of the corresponding AnQiCMS container (for example127.0.0.1:8002)。So, different AnQiCMS sites can be accessed through different domain names.
Q3: After installation, my website displays normally, but the address for accessing the backend is/system/However, a 404 error is提示?
A3: If you encounter a 404 error when accessing the back end, it 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 function of Baota panel, the default configuration of Nginx may not be correctly handled in addition to proxying to the port of AnQiCMS./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 backend paths.