萬盛學電腦網

 萬盛學電腦網 >> 服務器教程 >> CentOS6.5x86

CentOS6.5x86

   1. 下載geekery repo文件(root權限)

  cd /etc/yum.repos.d/

  wget http://geekery.altervista.org/geekery-el6-x86_64.repo

  2. 到http://packages.sw.be/rpmforge-release 下載合適到rpm包

  rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

  3. 到http://rpm.pbone.net/ 搜索rpm epel-release

  epel-release-6-8.1.noarch.rpm

  4. 安裝 rpm

  rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

  rpm -ivh epel-release-6-8.1.noarch.rpm

  5. yum -y install git

  大功告成

  git --version

  git version 1.7.1

copyright © 萬盛學電腦網 all rights reserved