CentOS上部署安装

来源:http://www.webtatic.com/packages/git17/,http://www.betaquest.com/2011/07/how-to-install-rvm-ruby-version-manager-and-ruby-1-8-7-and-1-9-2-ree-on-centos-5-6-64bit/

 

在centOS上的yum里没有找到git的安装包,按下面方法安装上了git

 

rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm

yum install --enablerepo=webtatic git-all

 

应该是package源没有更新到系统中,求解

 

安装rvm,先安装gcc等包,在root下安装

 

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

yum install gcc* make automake zlib-devel libjpeg-devel giflib-devel freetype-devel bison openssl-devel  readline-devel

 

 

安装最新的automake autoconfig等包

wget ftp://mirrors.kernel.org/gnu/automake/automake-1.11.1.tar.gz 
ftp://mirrors.kernel.org/gnu/autoconf/autoconf-2.63.tar.gz 
ftp://mirrors.kernel.org/gnu/autoconf/autoconf-2.68.tar.gz

 事先查找最新的包版本

 

安装

tar xzvf automake-1.11.1.tar.gz
tar xzfv autoconf-2.63.tar.gz
tar xzfv autoconf-2.68.tar.gz

Configure and compile. Use the –prefix=/usr in order to overwrite your current versions:

cd autoconf-2.63
./configure --prefix=/usr
make
make install

cd automake-1.11.1
./configure --prefix=/usr
make
make install

cd autoconf-2.68
./configure --prefix=/usr
make
make install

 

安装rvm

bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )

 这是官方的

还有

 bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值