Skip to content

ndiazg/vagrant-debian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-mint

Mint cinnamon + LAMP Ansible playbook

Setting up a new dev box:

	> vagrant plugin install vagrant-persistent-storage
	> vagrant plugin install vagrant-vbguest
	> vagrant box add artem-sidorenko/mint-18.0-cinnamon
    > cd C:\path\to\vagrant-mint
	> vagrant up

To fix Vagrantfile, edit C:\Users\{your_username}\.vagrant.d\boxes\debian-VAGRANTSLASH-jessie64\8.x.x\virtualbox\include\_Vagrantfile and replace type:"rsync" with type="virtualbox"

Accessing the box:

A few reasons why you may find convenient logging in and developing as www-data (apache user):

  • The /var/www folder can be mapped as a Windows network drive (see below for instructions)
  • The /var/www folder persists even after vagrant destroy (persistent storage plugin)
  • Avoid ownership and permission conflicts with apache
username: www-data
password: www-data

Provisioning can take a few minutes, when complete write down the ip address shown for

	enp0s8 -> inet addr

Map Samba drive:

Samba is also included to allow use of your favorite Windows IDE On Windows Explorer right click on 'This PC'

Map network drive -> \xx.xx.xx.xx\www-data
Where xx.xx.xx.xx = your.vagrant.ip
User/pwd: www-data/www-data
The xx.xx.xx.xx ip should be on screen once 'vagrant up' has completed. Look under enp0s8 -> inet addr

Based on the debian/jessie64 vagrant image.

About

Debian Jessie + LAMP Ansible playbook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published