Skip to content

Instantly share code, notes, and snippets.

@koji
Created January 4, 2015 05:27
Show Gist options
  • Save koji/806f291370b47346284c to your computer and use it in GitHub Desktop.
Save koji/806f291370b47346284c to your computer and use it in GitHub Desktop.
Vagrant Provisioning(CentOS 6.6)
#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