Dev Workstation Setup

While there is an emphasis on the “dev” portion of my workstation – mostly because there is more of a need to ensure the various tools and their compatibility is maintained. I do want to clarify that I use the same workstation for my personal stuff too.

  1. Reinstall OS
    1. Reformat / Clean HD
    2. Install OS
    3. Upgrade to macOS Sierra
  2. Install Basic Tools
    1. iTerm 2
    2. Slack
    3. chrome / Firefox
    4. —Google Drive—
    5. Viber / WhatsApp
    6. Sublime / atom
    7. Keybase / 1Password
  3. Install Dev Tools
    1. git
      1. Xcode Developer Tools
    2. bundler – this needs to happen after RVM
      1. sudo gem install bundler
      2. cd ~/dev/GAR/chef-repo ; bundle install
    3. homebrew
      1. ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
    4. rvm with latest ruby (NOTE: ruby v2.3.1 seems to be a good one to stick to)
      1. curl -L https://get.rvm.io | bash -s stable –auto-dotfiles –autolibs=enable –ruby
      2. rvm install 2.3.1
    5. gem install librarian-chef
      1. librarian-chef install
      2. berks install
    6. vagrant
    7. VirtualBox
    8. chef DK
    9. Google Cloud Platform / Engine
    10. AWS CLI
      1. brew install awscli
    11. brew install docker
    12. brew install terraform
    13. brew install kops
    14. brew install kubectl
    15. brew install kuber

Issues:
rvm shell_session_update: command not found
Possible solution –
http://superuser.com/questions/1044130/why-am-i-having-how-can-i-fix-this-error-shell-session-update-command-not-f

Note:
Uninstall rvm
1. rvm implode
2. gem uninstall rvm

chef aws provisining -> https://christinemdraper.wordpress.com/2015/01/31/deploying-a-multi-node-application-to-aws-using-chef-provisioning/

VM

  1. list available vagrant box – vagrant box list
  2. add vagrant image (if not already in the list above) – vagrant box add ; vagrant box add ubuntu/trusty64
  3. initialize a vagrant image – vagrant init
  4. bring up the vagrant box – vagrant up
  5. log / ssh into the vagrant box – vagrant ssh

rails

  1. sudo apt-get install gnupg2
  2. gpg2 –recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
  3. curl -sSL https://rvm.io/mpapis.asc | gpg –import –
  4. curl -L https://get.rvm.io | bash -s stable –rails
  5. source /home/vagrant/.rvm/scripts/rvm
  6. ruby –version
  7. rails –version
  8. sudo apt-get install git
  9. eval ssh-agent $SHELL
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s