Created
June 5, 2014 13:33
-
-
Save omockler/c1760bc88caa64673880 to your computer and use it in GitHub Desktop.
Chef server install script
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
sudo su | |
curl -L https://get.rvm.io | bash | |
source /etc/profile.d/rvm.sh | |
rvm install 1.9.3 # Might want to go with rvm install 1.9.3 # Install Ruby Version Manager | |
wget https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.1.0-1_amd64.deb # Download Chef 11.1 | |
dpkg --install ./chef-server_11.1.0-1_amd64.deb | |
chef-server-ctl reconfigure # Chef Server is now installed, should be able to reach it via http | |
gem install chef # Now install Chef Client | |
apt-get install git -y # Add Git | |
git clone https://github.com/opscode/chef-repo | |
knife configure -i -r ~/chef-repo/ | |
apt-get install ruby-dev libxml2-dev libxslt-dev -y | |
gem install knife-windows -v 0.6.0 | |
# Done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment