效率云默认编译机环境说明

default编译机

software version location
git 2.7.4 /opt/tool/git/
java 1.7 /opt/tool/jdk1.7.0_80/
maven 3.0.4 /opt/tool/maven/apache-maven-3.0.4
go 1.10.1 /opt/tool/go/go

默认配置的环境变量:

software env
java JAVA_HOME=/opt/tool/jdk1.7.0_80/
maven MAVEN_HOME=/opt/tool/maven/apache-maven-3.0.4
go GOROOT=/opt/tool/go/go
export GOROOT=/opt/tool/go/go
export PATH=/opt/tool/jdk1.7.0_80/bin:/opt/tool/git/bin:/opt/tool/maven/apache-maven-3.0.4/bin:$GOROOT/bin:$PATH

设置环境的文件:/etc/profile