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
echo "127.0.0.1 AWSVC009 AWSVC009" >> /etc/hosts | |
yum update -y | |
wget https://packages.chef.io/stable/el/5/chef-server-core-12.6.0-1.el5.x86_64.rpm | |
rpm -Uvh chef-server-core-12.6.0-1.el5.x86_64.rpm | |
chef-server-ctl reconfigure | |
mkdir /home/ec2-user/cookbooks | |
chown ec2-user /home/ec2-user/cookbooks | |
mkdir /home/ec2-user/.chef | |
chown ec2-user /home/ec2-user/.chef |