Created
January 4, 2015 05:27
-
-
Save koji/806f291370b47346284c to your computer and use it in GitHub Desktop.
Vagrant Provisioning(CentOS 6.6)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#httpd | |
sudo yum -y install httpd | |
sudo service httpd start | |
sudo chkconfig httpd on | |
#iptables | |
sudo service iptables stop | |
sudo chkconfig iptables off | |
#epel & remi | |
sudo yum install wget -y | |
wget https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | |
sudo rpm -U epel-release-6-8.noarch.rpm | |
sudo rpm -U remi-release-6.rpm | |
#ruby(2.2.0) & rbenv | |
rbenv install -v 2.2.0 | |
rbenv rehash | |
rbenv global 2.2.0 | |
#rails | |
gem update --system | |
gem install rails --no-ri --no-rdoc | |
rbenv rehash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment