请问 Redhat 6.7 版本如何安装 git?

使用 sudo yum install git
会跳出

Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
file:///media/rh/Server/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/rh/Server/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: my. Please verify its path and try again

但看其他 mirror 好像都被停用支持 6.7 版本了..

This directory (and version of CentOS) is deprecated.  For normal users,
you should use /6/ and not /6.7/ in your path. Please see this FAQ
concerning the CentOS release scheme:

https://wiki.centos.org/FAQ/General

If you know what you are doing, and absolutely want to remain at the 6.7
level, go to http://vault.centos.org/ for packages. 

Please keep in mind that 6.0, 6.1, 6.2, 6.3, 6.4 , 6.5, 6.6 and 6.7 no longer gets any updates, nor
any security fix's.

请问还有6.7能用的 mirror 或是老版本 redhat 安装 git 的方式吗?

阅读 1.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题