페이지

2012년 10월 25일 목요일

Ruby 1.8.7 on CentOS



출처: http://wiki.opscode.com/display/chef/Installing+Ruby+and+dependencies+on+CentOS+and+Others



On Red Hat and CentOS (Version 5)

Enable AegisCo repository to get Ruby 1.8.7.
sudo yum install wget
sudo wget -O /etc/yum.repos.d/aegisco.repo http://rpm.aegisco.com/aegisco/el5/aegisco.repo
If you will be installing a Chef Server on this host, you will also need to enable the RBEL repo:
sudo rpm -Uvh http://rbel.frameos.org/rbel5
Install Ruby and other development tools:
sudo yum install ruby ruby-devel ruby-ri ruby-rdoc ruby-shadow gcc gcc-c++ automake autoconf make curl dmidecode

On Red Hat and CentOS (Version 6)

Install the RBEL repo
sudo rpm -Uvh http://rbel.frameos.org/rbel6
Install Ruby and other development tools:
sudo yum install ruby ruby-devel ruby-ri ruby-rdoc ruby-shadow gcc gcc-c++ automake autoconf make curl dmidecode
On RHEL 6 you will need to add the "RHEL Server Optional" channel subscription for this command to succeed without missing dependencies.

댓글 없음:

댓글 쓰기