AnQiCMS, this is an enterprise-level content management system built on the foundation of Go language, and it is becoming a powerful assistant for an increasing number of small and medium-sized enterprises, self-media operators, and multi-site management users with its high efficiency, customizable and easy-to-expand features.It is committed to providing a simple and efficient system architecture to meet the diverse needs of content display and management.In the practice of website operation, the convenience of deployment is often an important consideration for users when choosing a CMS.Today, as your website operation expert, I will analyze in detail how to achieve the one-click installation and deployment of AnQiCMS through Baota panel or Docker, making your content management journey smoother.

AnQiCMS is favored for its powerful core functions such as multi-site management, flexible content model, multi-language support, and comprehensive SEO tools, as well as its high-performance architecture based on the Go language.This means that AnQiCMS can still maintain stability and efficiency when handling high-concurrency requests, and its lightweight characteristics make it very suitable for container deployment, greatly simplifying the complexity of installation and maintenance.

Next, let's explore two mainstream convenient deployment methods: installing through Baota panel integrated with Docker, as well as using Docker to deploy AnQiCMS on other panels (such as 1Panel, aaPanel).

One, use the Baota panel (Docker version) to install AnQiCMS with one click

The Baota panel, with its intuitive and user-friendly graphical interface, is deeply loved by domestic webmasters.If you have already installed Baota panel and ensured that the version is above 9.2.0 (it is recommended to upgrade to 9.5.0 or higher), then deploying AnQiCMS will be very simple.

  1. Open the Docker manager and install MySQL:First, log in to your Baota panel. Find and click the "Docker" option in the left menu bar.If you are using it for the first time, the system may prompt you to install Docker, just click 'Install Now'.AnQiCMS needs database support, in the Docker ecosystem, we recommend using the Docker version of MySQL.Search for 'mysql' in the Docker app store and install it.Considering resource consumption, if your server memory is less than 2GB, you can choose version 5.6, otherwise, the default version 5.7 is sufficient.Be sure to check 'Allow external access' during installation, and click the 'Details' link for the MySQL container after installation,Copy the password for the root userThis will be used during the subsequent installation of AnQiCMS.

  2. Install AnQiCMS application:Now, go back to the Docker App Store and search for 'anqicms'.In the search results, click the 'Install' button to enter the AnQiCMS installation configuration interface.Here, you need to fill in some key information:

    • Website domain:Enter the domain name you want AnQiCMS to run, for examplewww.yourdomain.com.
    • Database name:Default isanqicmsIf you plan to deploy multiple AnQiCMS instances on the same server, please set a unique database name for each instance to avoid data conflicts.
    • Database Password:Paste the previously copied MySQL root user password.
    • Port:Default is8001Similarly, if you want to install multiple AnQiCMS instances, you need to allocate a different port for each instance, such as8002/8003Wait. After you have filled in all the information, click "OK" to start the installation. This process may take 1 to 5 minutes, please be patient.
  3. Start using your AnQiCMS website:When the Docker container is installed and configured, the AnQiCMS website is ready. The system will preset a set of default administrator accounts and passwords for you:

    • Default account: admin
    • Default password: 123456You just need to enter the domain you previously set in the browser and add it with/system/For examplehttp://www.yourdomain.com/system/You can access the admin interface. After the first login, it is strongly recommended that you change the default administrator account and password immediately to ensure website security.

Second, use the 1Panel or aaPanel panel (Docker version) to install AnQiCMS with one click

In addition to the Baota panel, other popular host panels such as 1Panel and aaPanel also provide similar Docker management functions, making it easy to deploy AnQiCMS.

1. The deployment method of 1Panel panel:

1Panel is an emerging modern operation and maintenance panel, and its Docker management function is also powerful.

  1. Create AnQiCMS container:Log in to the 1Panel dashboard, click on the "Container" menu on the left side, select the "Container" tab, and then click the "Create Container" button. In the pop-up window:

    • Name:Fill inanqicmsOr any other name you like.
    • Image:Check 'Manual input' and then type in the input box.anqicms/anqicms:latest.
    • Port:Select 'Expose Port', fill in both the server port and the container port.8001. If you install multiple AnQiCMS instances, you need to fill in different values for the server port (such as8002/8003), but the container port is always8001.
    • Restart policy:At the "Restart Rules" setting, it is recommended to choose "restart after failure" or "restart if not manually stopped", to ensure the service runs persistently. Confirm that all settings are correct and then click "Confirm" to complete the container creation.
  2. Configure reverse proxy site:After the container is created, you need to configure a reverse proxy for it to access through a domain name. Click on the "Website" menu on the left, then click the "Create Website" button.In the pop-up interface, select the Reverse Proxy type.

    • Primary Domain:Enter the domain name you wish to use, for exampletest.anqicms.com.
    • Proxy Address:Fill in127.0.0.1:8001If your AnQiCMS container is using a different server port, please modify the port number here. Click "Confirm" to complete the creation of the site.
  3. Start using the website:Now, you can enter the domain name you have set, for examplehttp://test.anqicms.com/The system will guide you through the initialization installation process of AnQiCMS, completing the database connection and setting up the administrator account.

2. Deployment method of aaPanel panel:

aaPanel is the international version of Baota panel, with similar operating logic.

  1. Install Docker and search for AnQiCMS:Make sure your aaPanel is installed and the Docker service is running.In the aaPanel app store, search directly for “AnQiCMS”.In the search results, click the "Install" button on the AnQiCMS card to enter the installation interface.

  2. Install and configure AnQiCMS:In the installation settings, you need to fill in your website domain and set the port to8001(or the other server port you assigned). Click 'Confirm' to start the installation.Similar to the Baota panel, the installation process may take some time.If installation fails, the system will provide an error message. After solving the problem according to the prompt, you can click "Restart" to try again.If the automatically installed reverse proxy fails to succeed, you may need to manually create a website and configure the reverse proxy to point to127.0.0.1:8001(or the corresponding port).

  3. Start using the website:aaPanel deployed AnQiCMS usually pre-installs websites and provides default administrator credentials:

    • Default account: admin
    • Default password: 123456The access address is:您的域名/system/For examplehttp://test.anqicms.com/system/. After logging in, please be sure to update your account password.

Three, AnQiCMS Multi-site Deployment Strategy

AnQiCMS is a powerful CMS, one of its core highlights is the built-inMulti-site managementFunction. This means you can easily create and manage multiple independent websites under an AnQiCMS instance, without deploying multiple sets of AnQiCMS code.The combination of Docker and panel reverse proxy function makes multi-site deployment particularly efficient.

The key to deploying multi-site is to allocate a separate domain and database for each website, and to direct traffic to the same Docker instance of AnQiCMS through the panel's reverse proxy.

  1. Configure reverse proxy:In your Baota, 1Panel, or aaPanel panel, create a reverse proxy site for each new AnQiCMS website. For example, if you want to deployblog.yourdomain.comandshop.yourdomain.comTwo sites:

    • Make sure that these two domain names are resolved to your server IP.
    • Create two websites of the type "Reverse Proxy" in the panel, respectively boundblog.yourdomain.comandshop.yourdomain.com.
    • Their proxy addresses all point to the port exposed by your AnQiCMS Docker instance, for examplehttp://127.0.0.1:8001.
  2. Add a new site in the AnQiCMS backend:Log in to the backend management interface of the AnQiCMS you have deployed, for examplehttp://www.yourdomain.com/system/)。In the left menu, find the "Multi-site Management" feature, click "Add New Site. In the new site creation interface, you need to fill in the details carefully:

    • Site Name:Easy to identify and manage, such as "My Blog", "Product Display".
    • Site root directory: This is the key point!When AnQiCMS runs in Docker, its internal root directory is usually/app/. So here you need to start with/app/a unique and independent subdirectory, for example/app/blog_yourdomain_com. The system will store independent cache and other data for each site in this directory.
    • Website address:Enter the full domain name of the new site, for examplehttp://blog.yourdomain.com.
    • Admin account password:Set the backend login credentials for the new site.
    • Database name:Create a unique database for the new site, for exampleblog_yourdomain_com.
    • Database information reuse: Check the option "Reuse the default database account information" because the Docker version of AnQiCMS usually has database management permissions and there is no need to fill in the database credentials again.
    • Select the template to use:Select as needed. After clicking "OK", the new site will be created.You can access the "Manage Sites" button in the list, or directly enter the new site's domain+/system/to access.

Summary

By using Baota panel or Docker containerization technology, the deployment of AnQiCMS is no longer a daunting technical task, but has become an efficient and convenient one-click operation.Whether you need to build a single corporate website, a personal blog, or operate multiple content sites, AnQiCMS can provide a stable and flexible solution.Mastering these deployment methods, you can invest more energy in website content operations and marketing strategies, fully leveraging the powerful functions of AnQiCMS, and enhancing the value of your website.


Frequently Asked Questions (FAQ)

  1. Ask: After the first visit to the website after Docker installation, do you need to manually configure the database?Answer: When deploying AnQiCMS via Docker, on panels such as Baota, 1Panel, or aaPanel, it is usually required to fill in database connection information (such as database name, password, etc.) during the installation of the AnQiCMS container. This information has been configured inside the container during the installation process