Rate This Document
Findability
Accuracy
Completeness
Readability

CentOS 7.6

If an error is reported during Anaconda installation due to system compatibility issues, perform the following steps to install the dependencies.

  1. Mount the CentOS image and modify the Yum source.
    mount CentOS-7-aarch64-Everything-1810.iso /media/
  2. Create a Yum configuration file.
    1. Create a /etc/yum.repos.d/CentOS-local.repo file.
      vim /etc/yum.repos.d/CentOS-local.repo
    2. Press i to enter the insert mode and add the following content to the file:
      [local]
      name=CentOS-7.6 local
      baseurl=file:///media/
      enabled=1
      gpgcheck=0
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  3. Make the configuration file take effect.
    yum clean all
    yum makecache
  4. Install Python 3.9.12.
    1. Install the dependencies.
      yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make libffi-devel
    2. Go to the /home directory and download the Python 3.9.12 source package.
      cd /home
      wget https://www.python.org/ftp/python/3.9.12/Python-3.9.12.tgz --no-check-certificate
    3. Decompress the Python source package and go to the /Python-3.9.12 directory.
      tar zxvf Python-3.9.12.tgz
      cd Python-3.9.12
    4. Configure the installation path.
      ./configure prefix=/usr/local/python3
    5. Perform compilation and installation.
      make && make install
    6. Modify the Python soft links.
      ln -s /usr/local/python3/bin/python3.9 /usr/bin/python3
      ln -s /usr/local/python3/bin/pip3.9 /usr/bin/pip3
  5. Install the Python dependencies.
    pip3 install Cython==0.29.24
    pip3 install docutils==0.19
    pip3 install numpy==1.22.3
    pip3 install pandas==1.3.5
    pip3 install ply==3.11
    pip3 install PuLP==2.4
    pip3 install py4j==0.10.9
    pip3 install pydoop==2.0.0
    pip3 install pyparsing==3.0.9
    pip3 install pypred==0.4.0
    pip3 install pyspark==3.1.1
    pip3 install python-dateutil==2.8.2
    pip3 install pytz==2022.2.1
    pip3 install PyYAML==6.0
    pip3 install six==1.16.0
    pip3 install torch==1.10.2
    pip3 install typing_extensions==4.3.0
    pip3 install z3-solver==4.8.15.0
  6. Install GLPK using the source code.
    1. Download the GLPK installation package.
      wget https://ftp.gnu.org/gnu/glpk/glpk-5.0.tar.gz
    2. Decompress the installation package.
      tar zxvf glpk-5.0.tar.gz
    3. Go to the glpk-5.0 directory and run the configuration script.
      cd glpk-5.0
      ./configure
    4. Perform compilation and installation.
      make
      make install
  7. Download the OmniCache view recommendation algorithm software package, OmniCache plugin JAR package, and OmniCache log parser JAR package, and upload them to the /opt/omnicache directory on the server node of the Spark cluster. For details about how to obtain the software packages, see Table 1.
    mkdir -p /opt/omnicache
    mv boostkit-omnicache-spark-3.1.1-1.0.0-aarch64.jar /opt/omnicache
    mv boostkit-omnicache-logparser-spark-3.1.1-1.0.0-aarch64.jar /opt/omnicache
    mv BoostKit-omnicache_1.0.0.zip /opt/omnicache
  8. Decompress the OmniCache component package and remove the read and executable permissions of other user groups on the generated folder.
    cd /opt/omnicache
    unzip BoostKit-omnicache_1.0.0.zip
    chmod -R o-r BoostKit-omnicache_1.0.0
    chmod -R o-x BoostKit-omnicache_1.0.0