Created
August 21, 2013 06:14
-
-
Save stephenlauck/6290867 to your computer and use it in GitHub Desktop.
Configure remote workstation for development
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
1 sudo passwd | |
2 ls | |
3 uname -a | |
4 apt-get install build-essenatial git | |
5 apt-get install build-essential git | |
6 curl -L https://www.opscode.com/chef/install.sh | sudo bash | |
7 echo 'export PATH="/opt/chef/embedded/bin:$PATH"' >> ~/.bash_profile && source ~/.bash_profile | |
8 mkdir -p /var/chef/cache /var/chef/cookbooks/emacs | |
9 : wget -qO- https://github.com/opscode-cookbooks/chef-server/archive/master.tar.gz | tar xvzC /var/chef/cookbooks/chef-server --strip-components=1 | |
10 wget -qO- https://github.com/opscode-cookbooks/emacs/archive/master.tar.gz | tar xvzC /var/chef/cookbooks/emacs --strip-components=1 | |
11 : chef-solo -o 'recipe[chef-server::default]' | |
12 : chef-solo -o 'recipe[emacs]' | |
13 chef-solo -o 'recipe[emacs]' | |
14 emacs /tmp/workstation.json | |
15 chef-solo -j /tmp/workstation.json | |
16 emacs /tmp/workstation.json | |
17 wget -qO- https://github.com/opscode-cookbooks/git/archive/master.tar.gz | tar xvzC /var/chef/cookbooks/git --strip-components=1 | |
18 mkdir -p /var/chef/cookbooks/emacs && wget -qO- https://github.com/opscode-cookbooks/git/archive/master.tar.gz | tar xvzC /var/chef/cookbooks/git --strip-components=1 | |
19 mkdir -p /var/chef/cookbooks/git && wget -qO- https://github.com/opscode-cookbooks/git/archive/master.tar.gz | tar xvzC /var/chef/cookbooks/git --strip-components=1 | |
20 chef-solo -j /tmp/workstation.json | |
21 cat /var/chef/cache/chef-stacktrace.out | |
22 emacs /tmp/Berksfile | |
23 which gem | |
24 gem install berkshelf -v 2.0.8 | |
25 sudo apt-get install libxml2-dev | |
26 gem install berkshelf -v 2.0.8 | |
27 apt-get install libxslt1-dev | |
28 gem install berkshelf -v 2.0.8 | |
29 history | |
30 ls | |
31 ls /tmp | |
32 which berks | |
33 berks install -b /tmp/Berksfile --path /var/chef/cookbooks | |
34 chef-solo -j /tmp/workstation.json | |
35 history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment