Introduction to Ansible

Posted by 4Aiur on 2014/01/31 in SysAdmin |

Introduction to Ansible Installation I don’t want input password every time when I run ansible, so prepare ssh key authentication agent for auto login. # Generate ssh public private key pair ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa ssh-agent | head -2 > ~/.ssh/.agent.env source ~/.ssh/.agent.env ssh-add ~/.ssh/id_rsa Install Ansible on a isolation environment. mkdir […]

Tags:

Getting Started with Vagrant

Posted by 4Aiur on 2014/01/12 in SysAdmin |

Getting Started with Vagrant Installation Install VirtualBox or VMware first, and download the latest from Vagrant download page. Launch a instance cd ~/.vagrant.d/tmp/ wget http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130731.box vagrant box add CentOS-6.4-x86_64 CentOS-6.4-x86_64-v20130731.box mkdir -p ~/.vagrant.d/init/myvm cd ~/.vagrant.d/init/myvm vagrant init CentOS-6.4-x86_64 vagrant up vagrant ssh Provisioning # install rvm \curl -sSL https://get.rvm.io | bash -s stable source “$HOME/.rvm/scripts/rvm […]

Tags: ,

Copyright © 2010-2017 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.

.