How to test and run AnQiCMS program under Windows environment?

Calendar 👁️ 51

As an experienced CMS website operation personnel, I am well aware of the importance of efficiently testing and running CMS programs in a local environment, especially on Windows systems, for content creation and optimization processes.AnQiCMS is a system developed based on the Go language, which is lightweight and efficient, and the deployment and testing in the Windows environment are also relatively convenient.Below, I will elaborate on how to test and run the AnQiCMS program in a Windows environment.


Test and run AnQiCMS program under Windows environment

AnQiCMS provides strong support for content operations with its simple and efficient architecture.For operators who need to edit content locally, develop templates, or perform functional testing, deploying it on Windows is an ideal choice.Here are the detailed steps and precautions to ensure you can test and run AnqiCMS smoothly on Windows.

1. Preparation

Before starting the deployment of AnQiCMS, we need to make sure that your Windows system meets the basic requirements.AnQiCMS supports Windows 10, Windows 11, and Windows Server 2016 and above versions.It is not compatible with Windows 7 or Windows Server 2012 and below versions.

Secondly, since AnQiCMS is a content management system, it requires a database to store all content and configuration information.Under Windows environment, MySQL database is commonly used.If you have not installed MySQL yet, please install it in advance.During the initialization installation of AnQiCMS, you need to provide the database connection information.

2. Obtain and run AnQiCMS program

First, you need to download the installation package for Windows systems from the official AnQiCMS website. Please visit the official download page, find and downloadanqicms-windows-vX.X.X.zipthe file, whichX.X.XRepresents a specific version number.

After the download is complete, extract the compressed file to a local directory of your preference, such asC:\anqicms. After extraction, you will see a folder namedanqicms.exeThe executable file and other related program files and directories.

To start AnQiCMS, simply double-click the extracted directory.anqicms.exeFile. After the program starts, you will not see any graphical interface window, as it is a background-running service.

3. Initial Installation and Access

After the AnQiCMS program successfully starts, you can access it through a web browser. Enter it in the address bar of the browser.https://en.anqicms.comYou can access the front-end page of the website. When you visit for the first time, the system will guide you to the initialization installation interface of AnQiCMS.

On this installation interface, you need to fill in the database connection information (such as database address, port, username and password), and set your background administrator account and password, as well as specify the website access address.Ensure that the database information you enter is accurate and that the administrator password is sufficiently complex for security.After completing these settings, click the install button to complete the initialization deployment of AnQiCMS.

After the initialization installation is successful, you canhttps://en.anqicms.com/system/Visit the backend management interface, log in with the administrator account and password you just set up, and start content management and website configuration.

Use the local development environment management tool (optional but recommended)

In order to better develop and test locally in the Windows environment, you can combine some local web service integration environments, such as the Windows version of PHPStudy (Xiao Pi Panel) or Baota Panel.These tools can help you manage services such as Nginx, MySQL, and configure local domains and reverse proxies, simulating a real production environment.

Taking PHPStudy as an example, the configuration steps are as follows:

  1. Install PHPStudy:First, install PHPStudy on your Windows system.

  2. Create a site:In the PHPStudy interface, create a new website. You need to specify a local domain name (such asdev.anqicms.com)and the website root directory. To be compatible with the AnQiCMS structure, you can set the website root directory to the unpacking path of AnQiCMS.publicdirectory one level up, for exampleC:/phpstudy_pro/WWW/dev.anqicms.com/Then include all files of AnQiCMS (includinganqicms.exe) copy them to this directory.

  3. Configure Nginx reverse proxy:In the PHPStudy website settings, find and edit the Nginx configuration file for the corresponding site (usuallyvhosts.conf) atlocation / {Within the code block, add the reverse proxy rule for AnQiCMS, forwarding all requests to the default 8001 port where AnQiCMS is running. The specific configuration example is as follows:

    location @AnqiCMS {
        proxy_pass https://en.anqicms.com;
        proxy_set_header   Host             $host;
        proxy_set_header   X-Real-IP        $remote_addr;
        proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
    }
    location / {
       try_files $uri $uri/index.html @AnqiCMS;
    }
    

    Save the configuration and restart the Nginx service of PHPStudy.

  4. Modify the Hosts file:In order for your local domain namedev.anqicms.comPoint to the local AnQiCMS service, you need to add a record in the Windowshostsfile. OpenC:\Windows\System32\drivers\etc\hostsfile, add127.0.0.1 dev.anqicms.com.

  5. Run AnQiCMS:Double-clickanqicms.exeStart the program. Now, you can go throughhttp://dev.anqicms.comAccess your local AnQiCMS site.

V, Stop the AnQiCMS program

due toanqicms.exeRunning as a background service, you cannot close its window directly. To stop AnQiCMS, you need to use the Windows Task Manager.

PressWin + Rto input the combination key,taskmgrPress Enter to open Task Manager. Or, you can right-click on the taskbar and select Task Manager.In the Task Manager, switch to the "Details" or "Processes" tab, find the one namedanqicms.exeThe process. Select the process, then click the 'End Task' button at the bottom right to safely stop the AnQiCMS program.


Frequently Asked Questions (FAQ)

Is it normal that no window is displayed after the AnQiCMS program runs?Yes, this is completely normal. AnQiCMS usually runs in the background service mode on Windows, it will not open any visible graphical user interface window.You can access byhttps://en.anqicms.comOr you can configure the local domain to confirm that the program is running and access its front-end or back-end interface.

How do I configure a custom domain instead of using it when testing AnQiCMS locally?127.0.0.1?If you want to use a custom domain (such asdev.anqicms.com)To access the local AnQiCMS, you need to perform two steps.First, configure the domain in your local development environment tools (such as PHPStudy) and set up Nginx reverse proxy to forward requests to the port where AnQiCMS is running (default is 8001).Secondly, you need to do in Windows'hostsAdd a record in the file, map your custom domain to the local IP address127.0.0.1.hostsFiles are usually locatedC:\Windows\System32\drivers\etc\directory.

If AnQiCMS fails to start or is inaccessible, how should I troubleshoot the problem?First, checkanqicms.exeWhether it has already run in the task manager. If not running, try to double-click to restart.Next, check for port conflicts, AnQiCMS uses the default port 8001, make sure that port is not occupied by other programs.On Windows, you can usenetstat -anoCheck port usage in the command line. Additionally, during the initialization installation process, please carefully check the MySQL database connection information (address, port, username, password) you enter, as any error may cause the system to fail to start.If PHPStudy or similar tools are used, it is also necessary to ensure that the Nginx reverse proxy configuration is correct and that the PHPStudy service is running normally.

Related articles

How to install and manage multiple AnQiCMS sites on the same server?

AnQiCMS is an efficient and flexible content management system, its multi-site management function is designed to meet the needs of small and medium-sized enterprises, self-media operators, and users with multiple brands or content branches.As an experienced website operations manager, I am well aware of the importance of efficiently managing multiple sites on the same server, which not only saves server resources but also simplifies daily maintenance work.Below, I will elaborate on how to install and manage multiple AnQiCMS sites on the same server.

2025-11-06

How to configure Nginx rewrite rules when installing AnQiCMS on the Baota panel?

The AnQiCMS content management system is increasingly becoming the preferred tool for small and medium-sized enterprises and content operation teams due to its efficient features based on the Go language and its SEO-friendly design concept.As an old veteran who has been deeply involved in website operation for many years, I fully understand the importance of high-quality content and excellent user experience, and the elegant URL structure is the key to improving these experiences.The built-in pseudo-static feature of AnQiCMS is exactly what is needed to achieve this goal.

2025-11-06

How to use Baota panel to install AnQiCMS on a Linux server?

As an experienced security CMS website operator, I know that the deployment of the content management system is the foundation of successful operation.AnQiCMS with its high performance, security, and ease of use based on the Go language, has become the ideal choice for many small and medium-sized enterprises and content operation teams.Install AnQiCMS on a Linux server using the Baota panel can greatly simplify the deployment process, allowing you to quickly get involved in content creation and operation.This article will introduce you in detail how to easily install and configure AnQiCMS on a Linux server using the Docker feature of Baota panel

2025-11-06

What website adaptation modes does AnQiCMS support (Adaptive, Code Adaptation, PC+Mobile)?

As an experienced website operator who understands the operation of AnQiCMS, I know the importance of content presentation in attracting and retaining users.AnQiCMS offers a variety of flexible options in website adaptation mode to help operators build efficient and user-friendly websites according to the target audience and business needs.Below, I will elaborate on the several main website adaptation modes supported by AnQiCMS.AnQiCMS provides adaptive, code adaptation, and PC+Mobile independent site three core modes when handling website visits on different devices

2025-11-06

How to solve the error 'Port is already in use' when deploying AnQiCMS?

As an experienced CMS website operation personnel, I know that technical details often determine whether the operation is smooth or not.Among them, 'Port occupied' is a common initial problem when deploying applications like AnQiCMS that run based on a specific port.But please be assured, this is not a difficult problem to solve. Just understand its principles and follow the steps, and you can easily resolve it.### Understanding Port Occupation Error If the system prompts the error message "Port is already in use" when you try to start the AnQiCMS service

2025-11-06

What are the core function modules provided by the AnQiCMS backend?

As an experienced website operator, I have a deep understanding and practical experience of the powerful functions of AnQiCMS.This is an enterprise-level content management system developed based on the Go language, which provides a comprehensive solution for small and medium-sized enterprises, self-media operators, and multi-site management users with its efficient, customizable, and scalable features.It not only simplifies the content management process, but also helps the website stand out in the highly competitive digital environment through a series of refined functions.The core functional module of AnQiCMS backend, aiming to cover all aspects of website operation, from content creation to publishing

2025-11-06

How to set global functions, content, and contact information in the AnQiCMS background?

As an experienced CMS website operation person in the security industry, I am fully aware that the background settings are crucial for the overall operation efficiency and user experience of the website.Efficiently manage global functions, content processing, and external communication methods, which is the foundation to ensure the stable operation of the website, high-quality presentation of content, and effective engagement with users.Below, I will give you a detailed explanation of how to perform these key settings in the AnQiCMS backend.### Website Global Function Settings Global function settings are the 'master switch' of the AnQiCMS website, affecting every aspect of the site, from brand identity to access status, to multilingual support

2025-11-06

How to manage and publish articles, products, and other document content in AnQiCMS?

As a senior CMS website operation personnel, I know that content is the lifeline of the website.AnQiCMS is a content management system designed specifically for small and medium-sized enterprises, self-media, and multi-site managers, with its core advantages lying in providing efficient, flexible, and comprehensive content creation, publishing, and optimization tools.By fine-tuning content management, we can not only attract new users, but also maintain existing user groups by continuously providing high-quality information.I will elaborate on how to effectively manage and publish various types of document content in AnQiCMS, such as articles and product information

2025-11-06