Updated on 2024-09-30 GMT+08:00

Installing a Linux Application Server

Basic Environment Requirements

  • System requirements: CentOS release 7.9 minor
  • Network requirements: The server must have an EIP bound.
  • Firewall requirements: Port 2376 for Docker services and ports 35000 to 40000 must be allowed.

Prerequisites

You have obtained the password of the root user for logging in to the Linux server.

Procedure

  1. Log in to the Linux server as user root.
  2. On the Linux server, download the Linux app_publisher_x86_64_xxx.tar.gz package (xxx indicates the version number).

    Table 1 app_publisher version description

    CBH Version

    Supported Architecture

    app_publisher Version

    Download URL

    V3.3.26.0

    x86 and Arm

    V1.0.0

    Software Package

    V3.3.30.0

    x86 and Arm

    V1.1.0

    Software Package

    V3.3.38.0

    X86

    V1.2.0_CentOS7

    Software Package

    Arm

    V1.2.0_UOS20

    Software Package

    V3.3.40.0

    X86

    V1.3.0_CentOS7

    Software Package

    Arm

    V1.3.0_UOS

    Software Package

    V3.3.43.0

    X86

    V1.4.0_CentOS7

    Software Package

    Arm

    V1.4.0_UOS

    Software Package

    V3.3.46.0

    X86

    V1.5.0_CentOS7

    Software Package

    Arm

    V1.5.0_UOS

    Software Package

    V3.3.52.0

    X86

    1.6.1_EulerOS

    Software Package

    Arm

    1.6.1_EulerOS

    Software Package

    X86

    1.6.1_CentOS7

    Software Package

    Arm

    1.6.1_UOS

    Software Package

  3. On the Linux server, run the following commands to decompress the app_publisher_x86_64_xxx.tar.gz package:

    # tar -xvf app_publisher_*.tar.gz

    # cd app_publisher

  4. Check whether the Firefox application publish server has been installed.

    • If the server is installed, run the following command to delete the previously installed Docker image for Mozilla Firefox:

      # docker rmi 127.0.0.1:5000/psm-firefox:0.2

      After it is deleted, go to 5.

    • If no such server is installed, go to 5.

  5. Run the following command to deploy the script:

    # /bin/bash install.sh

  6. Run the following command to check the service status:

    # service docker status

    active (running): indicates that the application server is successfully installed.

  7. Create the share directory (only required for CBH V3.3.26.0).

    # mkdir /opt/autorun/share

  8. (Optional) Restart the application release server.