As an expert in content creation and website operation familiar with AnQi CMS, I am pleased to elaborate on the relevant matters of installing AnQi CMS Docker version on Baota panel, and explicitly recommend the panel version.We are always committed to providing users with efficient, stable and easy-to-manage content solutions, and the combination of Baota panel and Docker is an efficient way to achieve this goal.
Install AnQiCMS Docker version on Baota Panel: Recommended version and detailed guide
AnQiCMS (AnQiCMS) is a modern content management system developed based on the Go language, which is favored by small and medium-sized enterprises and content operators for its high efficiency, security, and ease of expansion.To make it convenient for more users to deploy and manage AnQi CMS, we provide the Docker version and recommend installing it on Baota panel.The graphical interface and powerful management features of Baota Panel can greatly simplify the deployment process, allowing you to focus on content creation and operation.
Baota Panel version requirements and recommendations
Deploy AnQiCMS Docker version on Baota panel, there are certain requirements for the panel itself version. According to our **practice and testing, Docker deployment functionCompatible with Baota Panel 9.2.0 and above versionsThis is because early versions may not be well integrated and managed with Docker.To ensure you have the most smooth and stable installation experience, we strongly recommend that you useBaota Panel 9.5.0 or higher versionPerform the operation. These versions usually include the latest feature optimizations and security patches, providing better support for the running of Docker applications.If the current version of your Baota panel is below this requirement, please be sure to upgrade it first.
Installation preparation for Anqi CMS Docker Edition
Before deploying AnQiCMS officially, make sure that your Baota panel environment is fully prepared for Docker applications.
First, please confirm that your server has successfully installed Baota panel.If you have not installed it yet, you can visit the Baota official website to get the latest installation script and follow the instructions to complete the installation.After the installation is complete, log in to the Baota panel, you will find that there is usually a "Docker" option in the left menu.If you can't see it, you may need to unhide the Docker menu in the panel settings.When you first enter the Docker management interface, Baota will prompt you to install the Docker environment. Please click 'Install Now' to complete the deployment of the Docker service.
Next, to run AnQiCMS, we need a database.AnQiCMS supports MySQL, it is recommended that you install the MySQL database through the Docker App Store.In the Baota Docker management page, search for "MySQL" and click to install.During the installation process, you can choose the MySQL 5.7 version, if the server memory is less than 2GB, it is recommended to choose the 5.6 version.Ensure that the option 'Allow external access' is checked, and remember or copy MySQLrootThe user's password, which is an indispensable database credential for the subsequent installation of AnQiCMS.
Deploy AnQiCMS Docker application
After completing the above preparation, you can now start deploying the AnQiCMS Docker application.
In the Docker management interface of Baota panel, click the 'Container' tab, and then select 'Create Container'.In the pop-up configuration window, you need to fill in the container's related information.Enter in the "Name" fieldanqicmsOr select any name you like. Check the "Manual input" mirror and enter it in the input boxanqicms/anqicms:latestThis will pull the latest stable version of the AnQiCMS Docker image.
In the port settings section, select 'Expose Port', enter the server and container ports both8001. If you plan to deploy multiple AnQiCMS instances on the same server, to avoid port conflicts, you need to assign a different server port to each AnQiCMS container (for example8002/8003), but the container internal port is always maintained8001In the restart rules section, you can choose to restart after failure or restart if not manually stopped, to ensure that the AnQiCMS service can automatically recover after an unexpected stop.After configuration is complete, click "Confirm" to start container creation.This process may take 1 to 5 minutes, please be patient.
After the container is successfully created, the next step is to set up a reverse proxy so that you can access AnQiCMS through your domain.Go to the "Website" menu on the Baota panel, click "Create Website", and select "Reverse Proxy".Enter the domain name you have resolved to the server at the "Main Domain" field, for exampleyourdomain.comFill in the 'Proxy Address'.http://127.0.0.1:8001Please note that if your AnQiCMS container uses a different server port, this should also be modified accordinglyhttp://127.0.0.1:您设置的端口Finally, click confirm to complete the creation of the site.
Start using your AnQi CMS website
After all steps are completed, you can visit the domain you have set through the browser.When you visit for the first time, the system will guide you to the initial installation interface of AnQiCMS.Here, you need to enter the previously copied MySQLrootPassword, create an independent database for AnQiCMS (the default database name isanqicmsIf deploying multiple instances, please modify), and set the administrator account and password.
After completing the installation wizard, your AnQiCMS website can be used normally. The back-end management address is usually your domain name plus/system/For examplehttp://yourdomain.com/system/Make sure to change the initial default administrator account (admin) and password (123456) in time to enhance the website's security.
Wish you a pleasant experience with Anqi CMS!
Frequently Asked Questions (FAQ)
1. How can I install multiple AnQiCMS sites on the same server?
It is feasible to install multiple AnQiCMS sites on the same server.You do not need to copy the AnQiCMS code multiple times. First, you need to assign a different server port for each AnQiCMS Docker instance (such as 8001, 8002, 8003, etc.).Then, create a reverse proxy for each new site on the Baota panel, and proxy each domain to the corresponding AnQiCMS Docker instance port.Continue, in your AnQiCMS main station background, go to the "Multi-site Management" feature, click "Add New Site", and fill in the new site's domain name, an independent database name, and an independent file storage directory (usually with/app/域名替换点为下划线named in the form of ), and set up the administrator account and password for the new site.
2. After installing AnQiCMS Docker version, if the website cannot be accessed, how can I troubleshoot the problem?
If the website cannot be accessed, you can check from several aspects:
- Port conflict checkConfirm that the server port (such as 8001) used by the AnQiCMS Docker container is not occupied by other applications. You can use the 'Terminal' or SSH tool in the Baota panel to
lsof -i:端口号Command to check for port usage, if occupied, you need to change the port or end the occupying process. - Docker container statusCheck if the AnQiCMS Docker container is running normally.In the Docker management interface of Baota panel, check the container list to ensure that the AnQiCMS container is in the "running" state.
- Reverse proxy configuration: Please carefully check the reverse proxy rules configured for your domain in the Baota panel, ensuring that the 'Proxy Address' points to the IP and port of the actual listening address and port of the AnQiCMS Docker container.
- firewall settingsCheck the firewall rules of the server and Baota panel to ensure that the server port and port 80 (if HTTP access is used) used by the AnQiCMS Docker container are allowed.
What are the minimum system requirements for AnQiCMS?
AnQiCMS as a Go language application, the resource usage is relatively small.In Docker environment, it supports Linux distributions based on the X86 architecture, such as Ubuntu, CentOS, Debian, etc.For the minimum configuration, a server with at least 1-core CPU and 1GB RAM is sufficient to meet basic operation requirements.Of course, if your website traffic is high or you need to handle a large amount of content, it is recommended to increase CPU and memory configuration for better performance.In addition, since it involves MySQL database, it is recommended to ensure there is enough disk space to store the data.