Archive for September, 2015:

Most Useful Tools for Chef

Useful Tools for Chef  Chef Code Correctness (Chef Code Analysis) Foodcritic Rubocop Chef Unit Testing ChefSpec Chef Integration Testing TestKitchen ServerSpec RSpec Some other tools which can be used along with Chef dsh gsh Some other chef & Knife tools knife-lastrun knife-preflight Chef-handlers knife-flip knife-bulkchangeenvironment knife-env-diff knife spork Chef Tools for Windows POSHChef – POSHChef

(Read More…)

How to Implement Chef roles using Chef server ?

What is Role? A role is a way to define certain patterns and processes that exist across nodes in an organization as belonging to a single job function. Each role consists of zero (or more) attributes and a run-list. Each node can have zero (or more) roles assigned to it. When a role is run

(Read More…)

How to Setup SVN Server with Apache2 in Ubantu?

This tutorial is to setup the SVNServer from base using Apache2 in Ubantu only. > sudo apt-get update > sudo apt-get install subversion apache2 libapache2-svn apache2-utils > sudo addgroup subversion > sudo mkdir /home/svn > sudo chown -R www-data:subversion /home/svn > sudo chmod -R g+ws /home/svn > sudo svnadmin create /home/svn/myWebsite sudo vim /etc/apache2/mods-available/dav_svn.conf &

(Read More…)

Jenkins Backup and Restore Process | Jenkins Tutorial

How Do I Backup Jenkins Jobs using Grunt? Backup Jenkins configuration to S3 bash-backup-script for jenkins‘ job-configs via user-crontab Backup and restore Jenkins using jenkins plugins

Chef Commands Line Reference | Chef Commands Line Guide | Cheatsheet

To run single recipe using chef-solo > chef-solo -c /opt/chef/repo/config/solo.rb -o my_cookbook::recipe To run the single reciepe in same machine > chef-apply hello.rb To generate the cookbook standard structure > chef generate cookbook learn_chef_httpd > knife cookbook create smartmontools -r md To generate the template file in cookbook > chef generate template learn_chef_httpd index.html To

(Read More…)

DOT NET Build and Release Training | Build and Release DOTNET Course

  About the Build and Release Dot Net Course This Training is specially designed for the engineer who wants to excel their career in Build and Release and DevOps domain using Microsoft Platform in DO NET. We are using tools like TeamCity and Jenkins for CIs, apart from MsBuild, NAnt, Octopus, Nuget and Puppet. Course

(Read More…)

Chef in Microsoft Windows using DSC | Training | Course

How to Resolve jenkins java.lang.outofmemoryerror permgen space issues?

Solution 1 In Windows: Go to environment variable and add following variables export JAVA_OPTS=”-XX:MaxPermSize=512m -Xms512m -Xmx1024m” export GRADLE_OPTS=”-XX:MaxPermSize=512m” export SONAR_RUNNER_OPTS=”-Xmx512m -XX:MaxPermSize=512m” In Linux: In my ~/.bash_profile file, I have set the following 3 variables. Note there are other variables in this file as well i.e. JAVA_HOME, ANT_HOME, SONAR_HOME, SONAR_RUNNER_HOME, etc: export JAVA_OPTS=”-XX:MaxPermSize=512m -Xms512m -Xmx1024m” export

(Read More…)

Jenkins Troubleshooting Guide

Jenkins Troubleshooting Jenkins is one of the important CI tools which many organization used as part of their Build and DevOps infrasture. I am going to consolidate all the troubshooting techniques which can be used in order to find any issues related in jenkins. Step 1. Take a look at Log generated by the jenkins

(Read More…)

© Tutorials