Skip to content

Instantly share code, notes, and snippets.

@tamano
Created October 22, 2015 02:02
Show Gist options
  • Save tamano/3f4c425ebd4b5cc5df6c to your computer and use it in GitHub Desktop.
Save tamano/3f4c425ebd4b5cc5df6c to your computer and use it in GitHub Desktop.
Install Chef for test
[vagrant@localhost ~]$ cat /etc/redhat-release
CentOS release 6.6 (Final)
[vagrant@localhost ~]$ wget https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.9.0-1.el6.x86_64.rpm --no-check-certificate
[vagrant@localhost ~]$ sudo rpm --install chefdk-0.9.0-1.el6.x86_64.rpm
[vagrant@localhost ~]$ sudo chef gem install knife-zero --no-document
[root@localhost ~]# ssh-keygen -N ''
[root@localhost ~]# cp ~/.ssh/{id_rsa.pub,authorized_keys}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment