Skip to content
webserver for digio
Shell Batchfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

#WebServer for DIGIO

This is a prepared Vagrant box for -Web Developers in DIGIO Soluciones Digitales

This box is configured with:

  • Ubuntu 12.04 with specials PPA's for PHP, Apache and NodeJS
  • Webmin
  • Nginx
  • Apache 2.4
  • PHP 5.5 working as FPM or FastCGI
  • NodeJS
  • Sphinx
  • Redis
  • Memcached

###Windows configuration This box requires that you copy the Vagrantfile and the box into c:/Vagrant/boxes/

After run inside the box folder the commandline

$> vagrant plugin install vagrant-winnfsd
$> start.cmd

You need Cygwin openssh installed for vagrant ssh

MacOSX and Linux

This box is configured with nfs share, please check the folders to share

If first provision faults please check your $HOME/.ssh/config for:

  StrictHostKeyChecking no
  IdentitiesOnly yes

SSH access

Default credentials for SSH access are vagrant as user and vagrant as password.

In order to allow unatended SSH access for vagrant scripts, you need to set up the Vagrantfile to use an specific ssh key.

  1. Modify Vagrantfile to use a key stored in a file including the following line

config.ssh.private_key_path = "tools/vagrant"

Now you should have unatended access via ssh. To test it, run vagrant ssh. If you have any problems, check your access with

$> ssh -i tools/vagrant vagrant@localhost -p 2222

Improve NFS on Windows systems

Ubuntu systems have a built in tool that caches access to NFS disks. As the NFS system for Windows is not a native solution, its performance is not as good as expected. Setting up cachefilesd partially solves that.

Update your Vagrantfile to add a new mount option, fsc, as follows:

config.vm.synced_folder "/your/folder", "/vagrant/folder", type: "nfs", mount_options: ["nolock,vers=3,udp,noatime,fsc"]

Reload your vagrant machine. You can check that cachefilesd is actually working by browsing the cache directory inside the vagrant machine:

cd /var/cache/fscache/
sudo du -sh
You can’t perform that action at this time.