遇一山,过一山,处处有风景;只要勇敢向前,一路尽是繁花盛开。 | (点击查看→)【测试干货】python/java自动化、持续集成、性能、测开、简历、笔试面试等

常用环境变量配置(复制粘贴备用)

 

vim /etc/profile 

# jdk11
export ES_JAVA_HOME=/usr/local/jdk-11.0.15.1
export PATH=$ES_JAVA_HOME/bin:$PATH
export CLASSPATH=.:$ES_JAVA_HOME/lib/dt.jar:$ES_JAVA_HOME/lib/tools.jar

 

# jdk1.8
export JAVA_HOME=/usr/local/jdk1.8.0_211
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar


# jmeter
export JMETER_HOME=/usr/local/apache-jmeter-5.1.1
export PATH=$JMETER_HOME/bin:$PATH



# redis
export REDIS_HOME=/usr/local/redis
export PATH=$REDIS_HOME/bin:$PATH

# mysql5.7
export PATH=/usr/local/mysql/bin:$PATH

# git
export GIT_HOME=/usr/local/git-2.9.5
export PATH=$GIT_HOME/bin:$PATH

 

# maven
export MAVEN_HOME=/usr/local/apache-maven-3.6.1
export PATH=$MAVEN_HOME/bin:$PATH

 

# zookeeper
export ZK_HOME=/usr/local/zookeeper-3.4.14
export PATH=$ZK_HOME/bin:$PATH

 

posted @ 2021-12-09 18:18  全栈测试笔记  阅读(2085)  评论(0编辑  收藏  举报
浏览器标题切换
浏览器标题切换end