CentOS-7yum安装maven

CentOS -7设置为 阿里云yum源

rm -rf /etc/yum.repos.d/*
curl -o /etc/yum.repos.d/Centos-7.repo http://mirrors.aliyun.com/repo/Centos-7.repo
curl -o /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo

安装maven

yum -y install maven

配置maven

vi /etc/maven/settings.xml

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"><localRepository>D:\dev_mavenRepository</localRepository><pluginGroups>    </pluginGroups><proxies></proxies><servers></servers><mirrors><mirror><id>nexus-aliyun</id><mirrorOf>central</mirrorOf><name>Nexus aliyun</name><url>http://maven.aliyun.com/nexus/content/groups/public</url></mirror></mirrors><profiles></profiles>
</settings>

然后就可以使用maven了

CentOS7 yum 安装 maven相关推荐

  1. mysql rpm conflict_解决centos7 yum安装MySQL rpm包出现conflict problem

    解决centos7 yum安装MySQL rpm包出现conflict problem 发布时间:2020-07-24 06:33:51 来源:51CTO 阅读:1868 作者:运维天空 [root@ ...

  2. centos7 yum安装ifconfig

    centos7 yum安装ifconfig yum install net-tools

  3. Centos7 yum 安装 oracle-rdbms-server-11gR2-pre

    Centos7 yum 安装 oracle-rdbms-server-11gR2-pre 阅读目录 一.下载yum源 二.安装RMP-GPG-KEY 三.安装oracle 一.下载yum源 根据自己需 ...

  4. Centos7 Yum安装MYSQL8.0详细安装步骤

    Centos7 Yum安装MYSQL8.0详细安装步骤 0.更换yum源 1.打开 mirrors.aliyun.com,选择centos的系统,点击帮助 2.执行命令:yum install wge ...

  5. 记一次 Centos7 yum 安装、配置 PgAdmin4

    一.基础信息说明 官网:https://www.pgadmin.org/ 下载:https://www.pgadmin.org/download/pgadmin-4-windows/ 阿里帮助文档:h ...

  6. linux centos7 yum安装mysq

    inux centos7 yum安装mysql https://blog.csdn.net/weixin_35688029/article/details/90401900 CentOS7安装unzi ...

  7. centos7 yum安装tomcat9[亲测可用]

    今天重装了服务器系统,需要重新安装tomcat,做一些必要的笔记,一来是对自己学习的知识的巩固,二来对有同样问题的人有参考作用 安装wget yum install -y wget 检测是否安装成功 ...

  8. centos7 yum安装maven_Linux安装tomcat、mysql 、Maven与Eclipse的整合、settings.xml

    第145次(Linux) 学习主题:Linux 学习目标: 掌握Linux安装管理tomcat与mysql 一.Linux软件安装-安装tomcat 在Linux系统中如何启动tomcat? 1.进入 ...

  9. centos7 yum安装kubernetes 1.1

    前提:centos7 已经update yum update -y 一.创建yum源 master,slave都要 kubernetes release 版本 yum源 http://cbs.cent ...

  10. centos7 yum 安装 redis

    直接yum 安装的redis 不是最新版本 yum install redis 如果要安装最新的redis 或者 yum安装没有时,需要安装Remi的软件源,官网地址:http://rpms.fami ...

最新文章

  1. WINCE6.0操作系统---内核(kernel)学习
  2. DFiddler:A HTTP Packets Listener一个简易版的手机端的Fiddler。
  3. Windows——完全控制面板(上帝模式)
  4. C++KMP算法字符串匹配(附完整源码)
  5. 【解析】spring-boot整合通用mapper
  6. P4445 最长回文串
  7. jvm(10)-早期(编译期)优化
  8. 可以用什么代替平面镜
  9. echarts折线图怎么从y轴开始_基于echarts的双y轴实时更新折线图
  10. ERROR: Unable to write in /opt/module/hadoop-3.1.3/logs. Aborting
  11. Microsoft.mshtml.dll 添加引用及类型选择错误问题解决办法
  12. Python安全攻防-从入门到入狱
  13. 视频像素、分辨率、清晰度关系及区别
  14. Python:retrying与tenacity模块失败重跑库
  15. Matlab:添加和删除表行
  16. 三、Python复习教程(重点)- 前端框架实战
  17. TIKTOK海外直播公会如何申
  18. 鬼谷八荒修改先天气运+逆天改命
  19. MySql查询某个时间段内的数据(前一周、前三个月、前一年等)
  20. 天微TM1650数码管驱动IC新旧版 驱动和注意事项

热门文章

  1. 百度换肤,表单全选案例
  2. 数字化、数字化营销及其重要性的思考
  3. Advertising on Instagram 如何在Instagram上发布广告 Lynda课程中文字幕
  4. Global Mapper24.0汉化中文版下载安装教程
  5. android手游开发三维地图高清版,全球地图3D模拟器
  6. 【软技能】完全写作指南--PPT演讲
  7. 质性数据分析软件NVivo的安装选项和参数
  8. 北理珠大学生体质测试及健康状况的分析
  9. android wps页面设置背景图片,如何给手机版WPS的文档设置图片背景
  10. python语义分析_NLPIR语义分析系统——文本分析利器