AnQiCMS, this corporate-level content management system built on the foundation of Go language, with its high efficiency, customizable and easy-to-expand features, is becoming a powerful assistant for an increasing number of small and medium-sized enterprises, self-media operators, and multi-site management users.It is dedicated 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 factor for users to choose 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 built 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 with Docker, and deploying AnQiCMS using Docker on other panels (such as 1Panel, aaPanel).

一、Using Baota panel (Docker version) to install AnQiCMS with one click

The Baota panel is favored by domestic webmasters for its intuitive and user-friendly graphical interface.If you have already installed Baota panel and ensured that the version is above 9.2.0 (it is recommended to upgrade to version 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.If you are using it for the first time, the system may prompt you to install Docker. Click "Install Now" to proceed. AnQiCMS requires 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, version 5.7 by default.Copy the password of the root userThis will be used during the 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 installation configuration interface of AnQiCMS.

    • 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 need to install multiple AnQiCMS instances, you need to allocate a different port for each instance, for example8002/8003English. After filling out, 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 username and password for you.

    • Default account: admin
    • Default Password: 123456You only need to enter the domain name you previously set in the browser, and add it to the end/system/for examplehttp://www.yourdomain.com/system/You can access the background management interface. It is strongly recommended that you change the default administrator account and password immediately after your first login to ensure website security.

二、Use 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 features, making it just as convenient to deploy AnQiCMS.

1. 1Panel panel deployment method:

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

  1. Create AnQiCMS container:After logging in to 1Panel panel, click the "Container

    • Name:Fill inanqicmsOr choose any name you like.
    • Image:Check "Manual input" and then type in the input boxanqicms/anqicms:latest.
    • Port:Select "Expose Port", and fill in both the server port and container port8001。If you install multiple AnQiCMS instances, the server port needs to be filled with different values (such as8002/8003),but the container port is always8001.
    • Restart policy:In the "Restart Rules Confirm all settings are correct and then click “Confirm” to complete container creation.
  2. Configure reverse proxy site:The container has been created successfully, you need to configure a reverse proxy for it to access via domain name. Click the 'Website' menu on the left, then click the 'Create Website' button.In the popped-up interface, select the [Reverse Proxy] type.

    • Main Domain:Enter the domain name you wish to use, for exampletest.anqicms.com.
    • Proxy address:Fill in127.0.0.1:8001If your AnQiCMS container uses 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 set in your browser, for examplehttp://test.anqicms.com/The system will guide you through the initialization installation process of AnQiCMS, completing database connection and the setting of the administrator account.

2. Deployment method of aaPanel panel:

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

  1. Install Docker and search for AnQiCMS:Ensure that your aaPanel has Docker service installed and running.In the aaPanel app store, directly search 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 enter your website domain and set the port to8001(or any other port you assign to this instance).Click "Confirm" to start the installation. Similar to the Baota panel, the installation process may take some time.If the installation fails, the system will provide an error message. After solving the problem according to the prompt, you can click "Restart" to try again.127.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.

三、AnQiCMS多站点部署策略

AnQiCMS作为一款强大的CMS,其核心亮点之一便是内置的EnglishMulti-site managementFunction.This means you can easily create and manage multiple independent websites under one AnQiCMS instance without deploying multiple sets of AnQiCMS code.Combine Docker and panel reverse proxy functionality, multi-site deployment becomes particularly efficient.

The key to deploying multi-site is to assign independent domain names and databases to each site, and to direct traffic to the same Docker instance of AnQiCMS through the reverse proxy on the panel.

  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:

    • Ensure that these two domain names have been resolved to your server IP.
    • Create two websites of the type “Reverse Proxy” on the panel, respectively bindingblog.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 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 and click "Add New Site". In the new site creation interface, you need to fill in carefully:

    • Site Name:Easy to identify and manage, such as “My Blog”, “Product Display”.
    • Site root directory: This is the key!When AnQiCMS runs in Docker, its internal root directory is usually/app/So here it needs to start with/app/, adding an independent and unique 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.
    • Administrator 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:Select "Reuse default database account information" because Docker version AnQiCMS usually has database management permissions and does not require re-entering database credentials.
    • Select the template you want to use:Select as needed.Click "OK" to finish creating the new site.You can access the backend through the 'Access Backend' button in the multi-site management list, or directly enter the domain name+/system/in the browser.

Summary

Through the 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.Mastered these deployment methods, you can put more energy into the content operation and marketing strategy of the website, fully utilizing the powerful functions of AnQiCMS, and enhancing the value of your website.


Common Questions (FAQ)

  1. 问:Docker安装后首次访问网站,是否需要手动配置数据库?答:Through Docker deployment of AnQiCMS, on Baota, 1Panel, or aaPanel panels, it is usually required to fill in database connection information (such as database name, password, etc.) when installing the AnQiCMS container. This information has been configured inside the container during the installation process