AnQiCMS installation completed? Don't hurry! This database and backend initialization guide will help you quickly start your website operation journey

Congratulations!Successfully installed AnQiCMS, which marks the first solid step in your content management journey.AnQiCMS, as an enterprise-level content management system developed based on the Go language, is becoming the preferred choice for an increasing number of small and medium-sized enterprises and content operation teams with its high efficiency, security, and ease of use.However, installation is just the beginning. Properly initializing database information and background account settings is crucial for ensuring system stability and data security.As an experienced website operations expert, I will guide you in detail on how to complete these crucial steps elegantly and efficiently.

Initial settings: The first handshake between the database and the background account

When you first visit AnQiCMS domain in the browser, the system will not directly jump to the homepage of the website, but will guide you to an intuitive initial installation interface.This is the starting point for our database and backend account setup.

1. Database information configuration: Laying the foundation of data

In the initialization interface, you will see the area where you need to fill in the database-related information.This is the key part for AnQiCMS to establish a connection with your data storage repository.

  • Database type:AnQiCMS usually supports mainstream databases such as MySQL, and you may not need to select manually.
  • Database Host (Host):In most cases, if the database is deployed on the same server as AnQiCMS, fill inlocalhostor127.0.0.1.
  • Database Port (Port):The default port for MySQL database is3306If your database uses a non-standard port, please make sure to set it here.
  • Database Name:This is the name of the database that AnQiCMS will use.Make sure that this database has been created, or that the database account you provided has the permission to create a new database.anqicms_db.
  • Database Username (Username):The account used to connect to the database.
  • Database Password (Password):The password corresponding to the database username.

Please be careful when filling in this information, any error may cause AnQiCMS to fail to connect to the database.An common error is that the database account does not have sufficient permissions to create new databases or table structures.In this case, you may need to manually create the database in the database management tool in advance, and ensure that the account provided to AnQiCMS has full read and write permissions.

2. Backend admin account settings: Master your website

Following the database settings, you will need to create an AnQiCMS admin account. This will be your sole entrance for managing website content in the future, and its security should not be overlooked.

  • Admin Username (Admin Username):Choose a username that is easy to remember but not easy to guess. Avoid usingadmin/testCommon words, this will greatly increase the risk of the account being cracked.
  • Admin Password:This is the most important item to pay attention to throughout the entire setup process. Please make sure to set one.Strong passwordCombine uppercase and lowercase letters, numbers, and special symbols, and the length should be at least 12 characters. Do not use birthdays, phone numbers, or consecutive numbers that are easy to crack as passwords.

Moreover, you may also need to confirm the website'sBasic URLThat is the domain address of your website where users access. Make sure it is filled correctly, as it will affect the internal link generation and resource loading path of AnQiCMS.

After filling in all required items, click the 'Confirm' or 'Install' button on the initialization interface, AnQiCMS will begin to create database table structures, write initial data, and generate an administrator account for you.Wait a moment, you will see the installation successful prompt and be guided to the website front-end or back-end login page.

Special Case: Initialization for one-click deployment of Docker panel

If you are using an integrated environment such as 1Panel, Baota Panel, or aaPanel to deploy AnQiCMS with Docker, the installation process is often more simplified.These tools may automatically complete most of the database connection configurations for you, and even directly provide a preset AnQiCMS instance.

Under this convenient deployment method, the initialization installation interface may not appear, or it may pre-fill default values. Please note that such deployments usually provide a set ofDefault admin login credentialsFor example, the most commonadminaccount and123456password.

Attention must be paid to:Regardless of whether the system requires it, you should immediately modify these default information through the "Admin Management" feature after the first successful login to the back end, and it is best to set a new admin username and a strong password.This is the primary task to ensure website security./system/Path, for examplehttp://您的域名/system/.

After initialization: embark on your website operation journey

After the initialization of the database and background account settings, your AnQiCMS website is officially launched. But this is just the first step of the long journey; the subsequent operations and optimization work is equally crucial:

  1. Check and strengthen security again:Log in to the backend, go to "Admin Management" to ensure that your admin account information is the latest and most secure.
  2. Improve the basic information of the website:Access the "Background Settings" and fill in your website name, upload Logo, configure record number and copyright information, etc.In the "Contact Information Settings", please complete your contact, phone, address, and other information to facilitate communication with users.Don't forget to configure the SEO title, keywords, and description for your website's homepage in the 'Home Page TDK Settings' to lay the foundation for search engine optimization.
  3. Plan content architecture:Deeply understand the powerful content management capabilities of AnQiCMS.In 'Content Management', you can define flexible 'Content Models' based on business requirements, such as articles, products, events, etc., and create clear 'Document Categories' to organize your content.
  4. Configure pseudo-static rules:Optimize your website URL structure by using the 'Feature Management' under 'Pseudo-static Rules', making it more friendly to search engines and users.
  5. Start content creation:After familiarizing yourself with the basic system configuration, you can start publishing your first high-quality article or product information!

AnQiCMS provides a stable, flexible, and efficient content management solution with its highly customizable, multilingual support, comprehensive SEO tools, and powerful user permission management.This initialization setup guide is designed to help you get started smoothly and make your website operation more seamless.


Common Questions (FAQ)

1. How to deal with the error prompt 'Port is already in use' during the AnQiCMS installation process?

This usually means the port you are trying to use (AnQiCMS defaults to 8001) is already occupied by another program on the server. Under Linux systems, you canlsof -i:{端口号}commands (for examplelsof -i:8001Check which process is using the port by coming here.kill -9 {PID}Terminate the command.After that, you can try to reinstall AnQiCMS, or change an unused port number in the AnQiCMS configuration file (usually config.).

How to handle when the database account permissions are insufficient or the database cannot be created?

If you encounter database permission issues during the initial setup, AnQiCMS may not be able to automatically create the required database or table structure. At this point, you can try the following two methods:

  • Create the database in advance:In your database management tool (such as phpMyAdmin, Navicat, etc.), manually create a new database, and ensure that the database account used for connection has all permissions for the database (CREATE, ALTER, DROP, INSERT, UPDATE, DELETE, SELECT, etc.).
  • Use an account with higher privileges:Use an account with database management privileges (such as the MySQL root account) to complete the initialization. After successful installation, create a dedicated low-privilege account for AnQiCMS daily use in the database to enhance security.

3. How do I access the AnQiCMS admin interface after installation?

The AnQiCMS admin interface is usually accessed by adding/system/Path to access. For example, if your website address ishttp://yourdomain.com, then the backend login address ishttp://yourdomain.com/system/.Please use the administrator account and password you created during the initial setup when logging in for the first time.admin, the password is `12