Rate This Document
Findability
Accuracy
Completeness
Readability

Deploying WAAS Booster

This operation includes installing the WAAS Booster installation package and setting environment variables.

  1. Install WAAS Booster.

    For the root user, directly run the following commands. For a common user, add sudo before the following commands to elevate the permission.

    1
    rpm -ivh waasbooster-1.0.0.aarch64.rpm
    

    If the installation is successful, the following information will be displayed.

  2. Modify the service file of WAAS Booster.
    1. Check the waasbooster_env environment path.
      1
      conda env list
      

      For example, the returned value of waasbooster_env is /root/miniconda3/envs/waasbooster_env.

    2. Open the /usr/lib/systemd/system/waasbooster.service file.
      vim /usr/lib/systemd/system/waasbooster.service
    3. Press i to enter the insert mode and modify the startup script.

      Change

      ExecStart=/usr/local/waasbooster/bin/python3 /usr/local/waasbooster/cpu_booster.py

      to

      ExecStart=/root/miniconda3/envs/waasbooster_env/bin/python3 /usr/local/waasbooster/waas_booster.py

      That is, change /usr/local/waasbooster in /usr/local/waasbooster/bin/python3 to the waasbooster_env path in the conda env list command output.

    4. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  3. Reload the daemon of systemctl.
    1
    systemctl daemon-reload