Introduction to Ansible

Posted by 4Aiur on 01/31/2014 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 […]


Getting Started with Vagrant

Posted by 4Aiur on 01/12/2014 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 vagrant box add CentOS-6.4-x86_64 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 | bash -s stable source “$HOME/.rvm/scripts/rvm […]

Tags: ,

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