Rate This Document
Findability
Accuracy
Completeness
Readability

Installing the Operating Environment

Install the required dependencies to provide the environment for deploying 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. Install the dependencies required for running the software.
    1
    yum install -y python rpm-build cpio
    
  2. Download the Miniconda3 installation script.
  3. Install Miniconda3 with default configuration.
    sh Miniconda3-py310_25.1.1-2-Linux-aarch64.sh
  4. Configure the path to the Miniconda3 binary in /etc/profile.
    1. Open the file.
      vim /etc/profile
    2. Press i to enter the insert mode and add the following content to the end of the file:
      export PATH=$PATH:/root/miniconda3/bin/
    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
    4. Make the file take effect.
      source /etc/profile
  5. Initialize the conda environment.
    1
    conda init
    
  6. Exit the current SSH window and reconnect to the SSH window to ensure that conda takes effect.

    If the base environment is displayed after you re-enter the SSH window, run the conda deactivate command to exit the base environment. If the base environment is not displayed, no operation is required.

  7. Use conda to create a Python environment, for example, waasbooster_env.
    1. Add conda-forge channels.
      1
      conda config --add channels conda-forge
      
    2. Use conda-forge to create a Python environment.
      conda create -n waasbooster_env python=3.9.9 -c conda-forge
  8. Check the waasbooster_env environment path.
    1
    conda env list
    

    The command output is as follows:

    • If the waasbooster_env path in the command output in step 8 is not /usr/local/waasbooster/bin/python3, copy the path and use it to modify the configuration file after WAAS Booster is deployed.
    • If the returned content is /usr/local/waasbooster/bin/python3, skip this modification.
  9. Run the following command to go to the specified virtual environment:
    1
    conda activate waasbooster_env
    
  10. Create a requirements.txt file and add the following content to the file:
    numpy==1.23.4 
    pandas==2.2.3 
    prophet==1.1.7 
  11. Run the following command to install the dependencies:
    1
    pip3 install -r requirements.txt