Deploying AnQiCMS on Linux servers is simple and efficient.

Download the zip file

Use the wget command to download AnQiCMS Linux version: wget https://example.com/anqicms-linux-amd64.tar.gz

Extract the file

Extract to the target directory: tar -zxvf anqicms-linux-amd64.tar.gz -C /opt/anqicms

Configure database

Edit the configuration file conf.yaml, set the database connection information. Ensure that MySQL or PostgreSQL is installed and the database has been created.

Set permissions

Grant execution permission: chmod +x /opt/anqicms/anqicms

Start service

Run directly: ./anqicms. Or use systemd to configure boot automatically, ensure that the system runs automatically after the server restarts.

Nginx reverse proxy (recommended)

Configure Nginx reverse proxy to AnQiCMS port, enable HTTPS and static resource caching.