1.下载apache-maven-3.5.0 2.maven保存路径:/usr/local/apache-maven/apache-maven-3.5.0 注:保存编辑后的./bash_profile文件操作:按下esc,输入:wq