Environment Preparations
Use the deployment script extracted from deployment.tar.gz in the BoostKit-globalcache_1.3.15.SPC3.zip package.
- Copy node_list.txt in deployment.tar.gz to /home.
1 2 3
cd /home tar -zxvf deployment.tar.gz cp deployment/nodelist.txt /home/
- Set the Yum certificate verification status to be verification-free.
1vi /etc/yum.confAdd the following content to the end of the file:1 2
sslverify=false deltarpm=0
- Configure the pip Huawei proxy to accelerate the download.
1 2
mkdir -p ~/.pip vi ~/.pip/pip.conf
Add the following content:
1 2 3 4
[global] timeout = 120 index-url = https://repo.huaweicloud.com/repository/pypi/simple trusted-host = repo.huaweicloud.com
- Configure Java.Decompress OpenJDK8U-jdk_aarch64_linux_hotspot_jdk8u282-b08.tar.gz to the /usr/local directory.
1 2
cd /home tar -zxvf OpenJDK8U-jdk_aarch64_linux_hotspot_jdk8u282-b08.tar.gz -C /usr/local/
- Configure Maven.
- Decompress apache-maven-3.6.3-bin.tar.gz to the /usr/local directory.
1 2
cd /home tar -zxvf apache-maven-3.6.3-bin.tar.gz -C /usr/local/
- Add a mirror.
1vi /usr/local/apache-maven-3.6.3/conf/settings.xmlAdd the following content to <mirrors>:
1 2 3 4 5
<mirror> <id>huaweicloud</id> <mirrorOf>*</mirrorOf> <url>https://repo.huaweicloud.com/repository/maven/</url> </mirror>

If no proxy is configured for Maven, add <proxy> to the <proxies> segment of the settings.xml file.
- Decompress apache-maven-3.6.3-bin.tar.gz to the /usr/local directory.
- Set Java and Maven environment variables.
- Modify the environment variables.
1vi /etc/profileAdd the following content to the end of the file:
1 2 3 4 5
export JAVA_HOME=/usr/local/jdk8u282-b08 export PATH=${JAVA_HOME}/bin:$PATH MAVEN_HOME=/usr/local/apache-maven-3.6.3 export MAVEN_HOME export PATH=${PATH}:$MAVEN_HOME/bin
- Make the environment variables take effect.
1source /etc/profile
- Check whether Java is successfully installed.
1java -versionIf the correct version information is displayed, the installation is successful. If the installation fails, check the installation procedure and try again.

- Check whether Maven is successfully installed.
1mvn -vIf the correct version information is displayed, the installation is successful. If the installation fails, check the installation procedure and try again.

- Modify the environment variables.
Parent topic: Compilation Server