Powered By Blogger

Wednesday, May 11, 2016

Che-Solo ( Continious deployment tool for Beginers)

Chef:
Chef is configuration management tool use in IT Industry to manage infrastructure as a code
Below diagram will help you understand what chef is for.  However , to start learning chef it is recomanded to use chef-solo



 Chef-Solo:
Its standalone version of chef , mainly used for learning and testing of chef deployments

Installation Of Chef -Solo
Below are steps to install chef-solo and knife plugin on centos-7*

Chef-Solo
Installation of CHEF-SOLO (CHef Standalone)

#yum update
#yum install gcc-c++ patch readline readline-devel zlib zlib-devel
#yum install libyaml-devel libffi-devel openssl-devel make
#yum install bzip2 autoconf automake libtool bison iconv-devel sqlite-devel

Dependencies are installed
#curl -sSL https://get.rvm.io | bash -s stable

Get Stable Ruby Version manager
#source /etc/profile.d/rvm.sh
#rvm install 2.1.8
#rvm use 2.1.8 --default
#ruby --version

Ruby Installation is completed
#mkdir chef
#cd chef

direcorty named chef is created to store all chef conf, cookbooks etc
#knife solo init .
#knife solo prepare root@Centosbase
#knife solo prepare root@localhost
#knife solo cook root@localhost
#knife solo bootstrap root@localhos


 VOILA , you chef-solo instance is ready , 

In next chapter we will deploy LAMP  stack using chef





No comments:

Post a Comment