首先用命令查看配置了哪些环境变量
env命令查看
编辑环境变量命令 
vim ~/.bash_profile

Counter_HOME=/home/test/Counter
export Counter_HOME 
 
最后记得source  ~/.bash_profile
 

相关文章: