Linux服务器下安装maven 下载Maven安装包 地址:https://maven.apache.org/index.html 安装步骤 解压:tar -xzvf apache-maven-3.8.6-bin.tar.gz 重命名:mv apache-maven-3.8.6 maven 修改配置文件:vim /etc/profile 添加配置信息:export PATH=你的下载路径/maven/bin:$PATH 配置生效:source /etc/profile