码迷,mamicode.com
首页 > 其他好文 > 详细

redhat7.4安装svn

时间:2019-07-15 13:22:57      阅读:112      评论:0      收藏:0      [点我收藏+]

标签:call   lease   直接   each   bsp   odata   sea   mic   ali   

1.使用yum install subversion出错

已加载插件:langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
没有可用软件包 subversion。
错误:无须任何处理

意思即为:这是redhat 自带的 yum 源需要注册,花钱才能使用,怎么办呢,发现网上说可以替换。

2.替换为centos的yum

参考:https://blog.csdn.net/wqh0830/article/details/86727100

亲测可用,但需要改,例如文中7.6.1810,我使用cat /etc/redhat-release查到的是Red Hat Enterprise Linux Server release 7.4 (Maipo),直接改为7就可以,7的测试urlhttp://mirrors.163.com/centos/7/os/x86_64/repodata/repomd.xml,可访问即可。

7.6.1810测试url http://mirrors.163.com/centos/7.6.1810/os/x86_64/repodata/repomd.xml

技术图片

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-7 - Base - 163.com
#mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=os
baseurl=http://mirrors.163.com/centos/7/os/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-7 - Updates - 163.com
#mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=updates
baseurl=http://mirrors.163.com/centos/7/updates/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-7 - Extras - 163.com
#mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=extras
baseurl=http://mirrors.163.com/centos/7/extras/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-7 - Plus - 163.com
baseurl=http://mirrors.163.com/centos/7/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

3.继续安装

https://www.cnblogs.com/liuxianan/p/linux_install_svn_server.html

redhat7.4安装svn

标签:call   lease   直接   each   bsp   odata   sea   mic   ali   

原文地址:https://www.cnblogs.com/SmilingEye/p/11188228.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!