Last active
August 29, 2015 14:06
-
-
Save Xiangshen-Meng/7861e5cd0b3840b00f4a to your computer and use it in GitHub Desktop.
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 -s; | |
useradd xiangshen-meng; | |
echo 123456 | passwd xiangshen-meng --stdin; | |
mkdir /home/xiangshen-meng; | |
chown xiangshen-meng:xiangshen-meng -R /home/xiangshen-meng; | |
mkdir .ssh | |
chmod 755 .ssh/ | |
mv id_rsa* .ssh/ | |
cd .ssh/ | |
cat id_rsa.pub > authorized_keys | |
chmod 600 * | |
''' | |
source "https://rubygems.org" | |
gem "knife-solo", ">= 0.3.0pre3" | |
gem "berkshelf" | |
''' | |
''' | |
mkdir chef-kitchen | |
cd chef-kitchen | |
''' | |
USE_SYSTEM_GECODE=1 gem install dep-selector-libgecode | |
sudo apt-get install libgecode-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment