Useful Chef commands

Here is my shortcut list for some of the chef commands. Not all of these work in AWS opsworks. Generating cookbooks named apache chef generate cookbook cookbooks/apache   Generating recipes named server.rb   chef generate recipe cookbooks/apache/ server Check syntax of recipe   chef exec ruby -c cookbooks/apache/recipes/server.rb Run Recipe Read more…

Installing Jenkins with java 1.8 using java tar ball

For installing jenkins on Ubuntu 14.04 using Java RPM do the following steps. Step 1: Download java tar ball file from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Step 2: Scp the files from your local machine to your server Step 3: Install java sudo tar xvzf jdk-8u5-linux-i586.tar.gz -C /usr/java Step 4: Setup java. I downloaded Read more…