Hello, as an experienced AnQi CMS website operator, I am pleased to answer your questions about what supporting software you need to prepare in the 1Panel environment.Ensure the correct installation and configuration of these basic software is the key to the smooth operation of AnQiCMS.

AnQiCMS is an enterprise-level content management system developed based on the Go language, known for its easy deployment, fast execution speed, and high security.Deploy AnQiCMS on a modern server management panel like 1Panel, we usually take advantage of its powerful Docker container management features.However, even though the core application of AnQiCMS runs in a Docker container, it still requires some external auxiliary software to provide complete service support.

To successfully install and run AnQiCMS on 1Panel, you need to pre-install two core配套 software:OpenRestyandMySQL. Both of these software can be found in the 1Panel app store and installed conveniently.

First, let's talk about.OpenResty。OpenResty plays the role of your website's web server and reverse proxy here.Although the AnQiCMS application itself listens to an internal port (such as port 8001 within a Docker container), external users cannot access it directly.OpenResty is responsible for receiving HTTP or HTTPS requests from the internet and then forwarding these requests to the AnQiCMS Docker container for processing.By configuring reverse proxy, it can ensure that your website domain correctly points to the AnQiCMS service, as well as handle advanced web service features such as SSL certificates and traffic management.In the installation instructions of 1Panel, after creating the AnQiCMS container, it will explicitly mention the need to set up a reverse proxy site, which is where OpenResty comes into play.

secondly,MySQLIs AnQiCMS an indispensable data storage layer. As a content management system, AnQiCMS needs a database to store all key information, including your article content, product details, user data, site configuration, and various operational data.During the initialization installation of AnQiCMS, the system will prompt you to fill in the database connection information. At this time, you need to provide the address, username, and password of the MySQL database that is installed and running.Ensure that the MySQL service runs stably and has the user permissions required by AnQiCMS, which is the premise for ensuring the integrity and operability of the website data.For servers with limited memory resources, it is recommended to choose a version of MySQL that uses fewer resources, such as MySQL 5.6, rather than the default 5.7 or higher version.

In summary, before installing the AnQiCMS Docker application in 1Panel, you must first install OpenResty as your web server and reverse proxy through the 1Panel app store, as well as MySQL as the data storage database for AnQiCMS.With the support of these two basic software, you can smoothly deploy AnQiCMS and start your website operation journey.


Frequently Asked Questions (FAQ)

Does AnQiCMS support other databases besides MySQL?According to the current official documentation, AnQiCMS explicitly mentions the use of MySQL database in both the 1Panel Docker installation tutorial and the traditional Linux server installation tutorial.Although many Go language applications may support multiple databases, but in order to ensure compatibility and stability, and follow the official recommendation, we suggest you use MySQL as the database for AnQiCMS.

Why does the AnQiCMS container need to run and still need OpenResty for reverse proxying?AnQiCMS container runs in an isolated network environment, it usually listens to an internal port (such as 8001), and accessing it directly via IP:port may be inconvenient or insecure. OpenResty as a reverse proxy plays several important roles: it maps your domain (such as example.com) to a specific IP address, which makes it easier and safer for users to access your website.www.yourdomain.comMapped to the internal port of the AnQiCMS container, allowing users to access the website through a friendly domain name; it can handle SSL/TLS encryption (HTTPS), ensuring secure data transmission; at the same time, it can act as a traffic entry point to implement advanced features such as load balancing and caching, enhancing website performance and reliability.

If my server has less memory, what advice do you have for choosing the MySQL version?If your server memory is less than 2GB, to optimize resource usage and avoid performance bottlenecks, it is recommended to install MySQL 5.6 version in the 1Panel app store.MySQL 5.6 usually has lower memory requirements compared to subsequent versions (such as 5.7 or 8.0), which helps maintain server stability in resource-constrained environments.When installing MySQL, please make sure to check Allow external access, and copy the root password well, so that the database connection can be configured during AnQiCMS installation.