Bootstrap YET infrastructure using Opscode Chef - part 3 - Rackspace

Last time I spoke about YET infrastructure everything was hosted on HP cloud managed by Chef. This thrid chapter will demonstrate how easy moving to another cloud provider could be when you use such a Configuration Management tool. Installing Knife Rackspace Rackspace Cloud Servers use a different variant of OpenStack when we compare it to HP Cloud. So there is a specific plugin to deal with their cloud. To install it you just need to type: ...

May 12, 2013 · 2 min · planetrobbie

Bootstrap YET infrastructure using Opscode Chef - part 2 - load balancing

In our first Boostrap YET article, we’ve seen how we could easily instantiate a new node at HP Cloud using knife hp and some Chef Cookbooks, Roles, … Today we’ll see how we can add Load Balancing into the picture using the HAProxy cookbook. Add HA Proxy cookbook to your chef-repo To install the community version of haproxy cookbook (it’s not the latest one): % knife cookbook site install haproxy NOTE: You could use Librarian-chef or Berkshelf to manage your cookbooks dependencies in a cleaner way. ...

December 19, 2012 · 2 min · planetrobbie

Oh My Zsh!

It’s for sure not the first or the last cooking article about Oh My Zsh!, but if you don’t know it, just try it, you’ll understand why so much people are blogging about it. So let’s start by the official description. It’s a community-driven framework initiated by Robby Russel for managing your zsh configuration. It includes 40+ optional plugins (rails, git,OSX, hub, capistrano, brew, ant, macports, etc), over 80 terminal themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community. Looks great isn’t it ? So let’s dig it ! ...

December 8, 2012 · 3 min · planetrobbie

Bootstrap YET infrastructure using Opscode Chef - part 1

In this article, we will details all the required steps to build up an environment to host the previous incarnation of this blog on Nginx using Chef on HP Cloud. Twelve years later the world has changed and this blog is now hosted on a bare metal machine in Germany. Chef Repo cloning First of all, if you don’t already have a Chef Repository available on your Chef Workstation, you can clone one easily : ...

December 1, 2012 · 6 min · planetrobbie

Sublime Text 2

Sublime Text 2 is one of the best editor for text, code, markup and prose which is available for $59 on OSX, Windows and Linux. This cheatsheet is based on the Tuts+ online training by Jeffrey Way an editor fanatic who tried them all : Coda, TextMate, Vim. Installation on Ubuntu or Elementary OS Sublime Text 3 is in the works, still in beta. In the meantime you can install version 2.0.2, from a terminal: ...

November 22, 2012 · 5 min · planetrobbie

nanoc

nanoc is a tool that runs on your local computer and compiles documents written in formats such as Markdown, Textile, Haml,… into a static web site consisting of simple HTML files, ready for uploading to any web server. Installation Start by installing the following dependencies # apt-get install ruby-dev zlib1g-dev libglib2.0-dev Continue on with all the required Gems. % gem install nanoc % gem install adsf # A Dead Simple Fileserver % gem install fssm # File System State Monitor % gem install kramdown # Markdown parser % gem install haml # HTML Abstraction Markup Language % gem install less # Invoke the Less CSS compiler from Ruby % gem install pygments.rb # Exposes the pygments syntax highlighter to Ruby % gem install coderay # Another Syntax Highlightter % gem install coderay_bash # Plugin to process Bash % gem install stringex # useful extensions to Ruby's String class % gem install nokogiri # Parser used by `nanoc validate-links` % gem install rainpress # A CSS compressor % gem install therubyracer # Call javascript code and manipulate javascript objects from ruby. % gem install rpeg-multimarkdown # MultiMarkdown processing used in a new Filter. (req. libgtk2.0-dev.) % gem install nanoc-guard # now replace nanoc watch command [see [docs](https://github.com/guard/guard-nanoc)] Create a web site create yet subdirectory with a blank web site ...

November 21, 2012 · 9 min · planetrobbie

Git

Git is the cornerstone of software development. This article is my git cheatsheet. installation apt-get install git configuration [Anything can be set at three levels] config targets saves to scope --system /etc/gitconfig host --global ~/.gitconfig user --local .git/config repository Minimum configuration: % git config --global user.name "your name" % git config --global user.email "your email" % git config --global core.editor "vim" Querying all entries : % git config --list Querying one entry ...

October 26, 2012 · 6 min · planetrobbie