Deployment Process ---------------- Database Initialization ~~~~~~~~~~~~~~~~~~~~~~ Before performing initialization, please modify the database configuration in ``config.yaml`` under the ``mysqlInit`` folder to match your deployment environment. .. code-block:: shell vim mysqlInit/config.yml After modification, execute the following in the extracted root directory: .. code-block:: shell sudo python3 AutoDeploy.py initDB Modify Configuration Files ~~~~~~~~~~~~~~~~~~~~~~~~~ Based on the actual deployment environment, modify the MySQL and MongoDB configurations in the following configuration file. The MySQL address should be the database initialized in step 2.4.1: .. code-block:: shell sudo vim ./PilotOS-Config/config.json **Note:** MySQL and MongoDB need to support remote access. The database address cannot be **127.0.0.1**; it must be a specific IP address. If you need to support account registration to allow multi-user usage, you need to configure an email server by modifying the email configuration item in config.json. The‘recv_accounts‘ represents the email address receiving PilotOS exception messages. Below is an example (using QQ email): .. code-block:: shell "email": { "username": "xx@qq.xx", "pwd": "xx", "server_url": "smtp.qq.com", "port": "465", "ssl_trust": "smtp.qq.com", "recv_accounts": [ ] } Load Image File ~~~~~~~~~~~~~~ Execute the following command to load the Origin PilotOS Docker image: .. code-block:: shell sudo python3 AutoDeploy.py loadImage **Note:** Before executing this command, ensure that Docker container engine (version 20.10.0 or above) and docker-compose component are correctly installed in the system.