Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ahsouza/provisionamento-agil

Automation and agile provisioning
https://github.com/ahsouza/provisionamento-agil

ansible aws devops docker nginx php-fpm provisioning ruby shell-script sysadmin vagrant virtualbox wordpress wordpress-site

Last synced: 4 days ago
JSON representation

Automation and agile provisioning

Awesome Lists containing this project

README

        

# Orquestration of Virtual Machines with Vagrant

![alt text](https://t1.daumcdn.net/cfile/tistory/9963D13A5B71BCC63C)

### Vagrant currently supports the following providers

* VirtualBox
* Hyper-V
* VMWARE
* KVM
* Azure
* AWS
* Google
* Digitalocean
* Proxmox
* Openstack
* Docker

### Installing VirtualBox Oracle v.5.2 in Linux

```sh
wget -c https://download.virtualbox.org/virtualbox/5.2.20/VirtualBox-5.2.20-125813-Linux_amd64.run -O virtualbox.run
```

### Permissao de execução

```sh
chmod +x virtualbox.run
```

### Exec file with sudo

```sh
sudo ./virtualbox.run
```

### Installing Vagrant in Linux

```sh
sudo apt-get install vagrant
```

#### Start Vagrant

```sh
vagrant init
```

### Installing Ansible in Linux

```sh
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible
```

#### Check Installation

```sh
ansible-playbook -h
```

#### Commands Vagrant

#### Raise a virtual machine

```sh
vagrant up
```

#### Stop a virtual machine

```sh
vagrant halt
```

#### Destroy a virtual machine

```sh
vagrant destroy
```

#### Access via SSH a virtual machine

```sh
vagrant ssh
```

#### Run only the shell script provisioning driver

```sh
vagrant provision
```

![alt text](http://cdn-ak.f.st-hatena.com/images/fotolife/m/matsuokah/20151223/20151223130449.png)