As an expert in content creation and website operation, I am delighted to provide a detailed explanation of the installation of AnQiCMS Docker version on Baota panel, and to clearly 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.
AnQiCMS Docker version installation of Baota panel: Recommended version and detailed guide
Baota panel version requirements and recommendations
Deploy AnQiCMS Docker version on the Baota panel, which has certain requirements for the panel itself version. According to our **practice and testing, the Docker deployment featureFor PT panels 9.2.0 and above.This is because the early version may not be perfectly integrated and managed for Docker.PT panels 9.5.0 or higher versionPerform action.These versions usually include the latest feature optimizations and security patches, providing better support for the running of Docker applications.If your current Baota panel version is lower than this requirement, please make sure to upgrade it first.
Preparation for installing AnqiCMS Docker Edition
Before deploying AnQiCMS officially, make sure your Baota panel environment is fully prepared for Docker applications.
Firstly, please confirm that your server has successfully installed Baota panel.If you have not installed it, you can visit the Baota official website to get the latest installation script and follow the instructions to complete the installation.After installation, log in to the Baota panel, and you will find a "Docker" option in the left menu usually.If you cannot see it, you may need to unhide the Docker menu in the "Panel Settings".First time entering 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.
Then, 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 Docker management page of Baota, search for 'MySQL' and click to install.During the installation process, you can choose the MySQL 5.7 version, and if the server memory is less than 2GB, it is recommended to choose the 5.6 version.rootThe password of the user, which is an essential database credential during the subsequent installation of AnQiCMS.
Deploy AnQiCMS Docker application
Completed the above preparation, now you can start deploying the AnQiCMS Docker application.
In the Docker management interface of the Baota panel, click the "ContainersIn the pop-up configuration window, you need to fill in the relevant information of the container.anqicmsOr choose any name you like. Check the "Manual input" image, and enteranqicms/anqicms:latestThis will pull the latest stable version of the AnQiCMS Docker image.
In the port settings section, select 'Expose Port', and fill in both the server and container ports8001。If you plan to deploy multiple AnQiCMS instances on the same server, in order to avoid port conflicts, you need to allocate a different server port for each AnQiCMS container (for example8002/8003),but the internal port of the container is always kept8001.In the restart rule section, you can choose 'restart after failure' or 'restart if not manually stopped' to ensure that the AnQiCMS service can automatically recover after an unexpected shutdown.After the configuration is completed, click "Confirm" to start the container creation.This process may take 1 to 5 minutes, please be patient.
Container creation successful, the next step is to set up reverse proxy to access AnQiCMS via your domain.Go to the "Websiteyourdomain.com. Fill in the 'Proxy Address' inhttp://127.0.0.1:8001. Please note that if your AnQiCMS container uses a different server port, this should also be modified accordingly.http://127.0.0.1:您设置的端口. Finally, click Confirm to complete the creation of the site.
Start using your AnQi CMS website
When all steps are completed, you can access the domain you have set through the browser.The system will guide you to the initial installation interface of AnQiCMS when you visit for the first time.rootPassword, create a separate database for AnQiCMS (the default database name isanqicmsIf deploying multiple instances, please modify it), and set the administrator account and password.
After completing the installation wizard, your AnQiCMS website can be used normally. The backend management address is usually your domain name plus/system/for examplehttp://yourdomain.com/system/Please make sure to promptly modify the initial default administrator account (admin) and password (123456) to enhance website security.
Wishing you a pleasant experience using Anqi CMS!
Common 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 multiple copies of AnQiCMS code.First, you need to assign a different server port (such as 8001, 8002, 8003, etc.) to each AnQiCMS Docker instance.Then, in the Baota panel, create a reverse proxy for each new site and proxy the respective domain to the corresponding AnQiCMS Docker instance port./app/域名替换点为下划线(with the naming convention) and set up the new site's administrator account password.
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 investigate from several aspects:
- Check for port conflicts:Confirm 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.
lsof -i:端口号Check the port occupation status with the command, if occupied, you need to change the port or end the occupation process. - Docker container statusCheck if the AnQiCMS Docker container is running normally.In the Docker management interface of the Baota panel, check the container list to ensure that the AnQiCMS container is in the "running" state.
- Reverse proxy configuration:Carefully check the reverse proxy rules configured for your domain in the Baota panel, ensure that the IP and port of the "proxy address" point to the actual listening address and port of the AnQiCMS Docker container.
- Firewall settingsCheck the firewall rules of the server and Baota panel, ensure that the server port and port 80 (if using HTTP access) used by the AnQiCMS Docker container are allowed.
3. What are the minimum system requirements for AnQiCMS servers?
AnQiCMS as an application developed in Go language, has relatively small resource consumption.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 the basic running requirements.Of course, if your website has high traffic or needs to process a large amount of content, it is recommended to increase the CPU and memory configuration for better performance.Moreover, since it involves the MySQL database, it is recommended to ensure there is enough disk space to store data.