使用 `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 的方式吗?