百度智能云

All Product Document

          Intelligent Edge

          Device Activation

          Deployment and Activation

          1. Get the installation method

            • Click the button in the picture to get the installation method image.png
            • You can select online installation (not supported for Darwin system platform at present) or offline installation. image.png image.png
          2. Deploy

            • For online installation, copy the command in the box and execute it in the system console. After the execution, proceed to step 4. image.png
            • For offline installation, copy the downloaded zip installation package to the edge core host, decompress it, and go to step 3.
          3. Execute a script

            • Execute the setup.sh script in the installation package. baetyl is installed in the system’s /usr/local directory, and it mainly contains bin, etc, and var three directories.
          4. Create a file to store fingerprints in the specified directory

            • Create a file according to the name of {ID save file} entered during Create a model. Save the device registration ID in the cloud to this file.
            • Create this directory under the /usr/local/ directory according to the name of {host directory} entered during Create a model. The full path is /usr/local/{host directory}. Copy {ID save file} here.
          5. Activation

            • Execute the command systemctl start baetyl, the device is automatically activated, and baetyl supports powerboot.
            • You can view logs related to the master program during the activation process in var/log/baetyl/baetyl.log and activation logs in var/db/baetyl/activation-log/service.log
          6. View the status

            • After it is activated successfully, you can see [Activated] in the status of the corresponding registration ID on the model registration details page in the cloud. image.png
            • You can search and view the core details on the core list page according to the core name.

          Note: The above steps 1 to 5 are also the process to pre-install baetyl.

          Example for Operation

          1. Create a model/batch number

            • Click Create a model/batch.
            • Fill in Model/Batch, and select Application platform. image.png
            • Click to enter the details page to continue editing.
          2. Add a registration record

            • In this demo, click Add in baches and Auto generated. image.png
          3. .Get the installation method

            • Click the button in the picture to get the installation method. Here, online installation is selected. image.png
          4. Deploy

            • Execute the installation command image.png
          5. Create a file to store fingerprints

            • Create a file according to the name entered in Host directory and ID save file during the creation process, and write a Registration ID to be activated in the file. image.png
          6. Activation

            • Start the program systemctl start baetyl, and the device is automatically activated. image.png
            • You can view logs related to the master program during the activation process in var/log/baetyl/baetyl.log and activation logs in var/db/baetyl/activation-log/service.log
          7. View the status

            • After it is activated successfully, you can see [Activated] in the status of the corresponding registration ID on the model registration details page in the cloud. image.png
            • You can search and view the core details on the core list page according to the core name. image.png
          Previous
          Device Registration
          Next
          Deployment Task