Vagrant is a tool to create and configure lightweight, reproducible, and portable development environments. By default, it uses Oracle's VirtualBox for these virtual environments, but support for other virtualization systems is available. Most questions about Vagrant should be asked on Super User or ...

learn more… | top users | synonyms

-2
votes
0answers
30 views

PHP-FPM 5.6 with NGINX is downloading app.php of Symfony 2 and throwing 403 forbidden

I've been trying to set up development environment in Vagrant using CentOS 7 + Nginx 1.6.2 + php-fpm 5.6.4 Everything went smooth and worked, until I installed Symfony 2 project with this folder ...
0
votes
1answer
20 views

Vagrant, nginx 404 - fastcgi sent in stderr unable to open primary script

Was googleing a lot of and didn't find solution for this. Have found few accepted answers here on stackoverflow, but they didn't helped me. I am using vagrant for development, or at least trying to ...
-4
votes
0answers
25 views

Nginx php config? [on hold]

I am using Varying Vagrant Vagrants for local Wordpress development. It is an Nginx PHP setup. How do I configure the date/time for a central timezone? Viewing the phpinfo it shows date.timezone has ...
-1
votes
0answers
10 views

How can I connect to my vagrant box after I activated ufw on it? [closed]

I have a vagrant box with VirtualBox as its provider and basic ubuntu 14.04 as its image. I've activated ufw on the box, but the power went off before I allow port 22. Now I try to vagrant up it ...
0
votes
0answers
11 views

Convenient way to restart server inside vagrant

We have a webserver, that needs nginx and other configurations, so for development we use vagrant. vagrant ssh I want to easily [re]start it, so I use single line ssh commands. vagrant ssh -c "" ...
0
votes
0answers
15 views

Is it possible to have two versions of Vagrant in Mac OS X? [migrated]

in my company we are using Vagrant 1.3 and I cannot update it because the Vagrant files we are using in our development environment are tied to that version, and they won't work anymore. I am ...
-2
votes
0answers
18 views

Setting up test environment with old computer tower to match current sever perfect. Centos Need quick guidance [closed]

We have a Centos 6 server running our website through a dedicated host. It has Apache, PHP, WHM and MySQL configured as well as various packages. I would like to basically clone that setup and use it ...
-3
votes
0answers
27 views

error404 /cgi-sys/defaultwebpage.cgi [closed]

I have a Mac mini I install vagrant with nginx + php on my Mac mini I set up a hostname(*.dev.com) on my Mac mini path /etc/hosts I set up a same hostname on my vagrant If vagrant IP Address is ...
0
votes
0answers
10 views

How can I preserve content in shared/synced vagrant directories on exported / packaged box? [migrated]

I am trying to export a machine I created with vagrant to either an OVA file for Virtualbox or a package to host in vagrantcloud. The machine exports successfully, but then when I start it up, the ...
2
votes
2answers
26 views

Why aren't my puppet variables getting assigned by Vagrant's puppet.facter options?

Given that the following is config'd in my Vagrantfile: puppet.facter = { 'variableOne' => 'one', 'variableTwo' => 'two' } ... and the following is in the manifest: notify{ "Got here ...
1
vote
0answers
15 views

gunicorn not fully reloading after an HUP signal

I'm trying to get a working supervisor/gunicorn/django setup on vagrant. I am using python-watchdog to try and restart gunicorn when code changes happen. I am using the following supervisor ...
0
votes
0answers
5 views

PHPStorm Error Copying Helpers

I'd previously configured PHPStorm to remote debug with Vagrant but some changes have caused a strange error. I have recently switched the Vagrant nfs to true and I have also downloaded the EAP ...
0
votes
0answers
5 views

Unable to change IPv4 properties for a VirtualBox Host-Only Adapter [migrated]

Keeps coming up with: In order to configure TCP/IP, you must install and enable a network adapter card. Using Vagrant and ScotchBox if that helps but also tried with a basic Vagrant box and same ...
0
votes
0answers
37 views

How to change the execution time of the my.ini file using Chef

I'm attempting to get an existing Drupal site set up using Vagrant Drupal Development but have come across a few problems. My first is that I cannot seem to connect to the database to import my SQL ...
-1
votes
1answer
49 views

Difficulty Installing and SSHing to Vagrant Box [closed]

I am new to Vagrant and have not been able to get it to work properly. I installed Vagrant without a problem and have Virtual Box installed and open. When I create a box (vagrant init), it seems to ...
0
votes
1answer
30 views

Vagrant duplicate IP

I'm trying to configure static IPs on 2 vagrant boxes so they can communicate with each other. With the following config, the "db" node comes up with an eth1 and eth2 with 192.168.50.4 and ...
0
votes
0answers
32 views

Gem installation on vanilla ubuntu fails - EACCESS

I'm trying to install the Middleman gem on a completely generic installation of Ubuntu Trusty (i386). Here's my console input/output: vagrant@vagrant-ubuntu-trusty-32:~/rj$ which ruby /usr/bin/ruby ...
0
votes
0answers
4 views

How to add a 'Host-only Adapter" to a VirtualBox machine via Vagrant file configuration? [migrated]

A lot of answers out there are only applicable version 1 of Vagrant file configuration. e.g. config.vm.network :hostonly, :adapter => 2 The new public network does not support this feature. e.g. ...
0
votes
0answers
59 views

ConEmu, Powershell, & ANSI Colors

I've just found ConEmu and am unclear on how to make ANSI colors show in a powershell session. In particular, I'm wanting to see the colored output of a vagrant up while provisioning a CentOS vm. Can ...
0
votes
0answers
51 views

“More than one MPM loaded” when trying to start apache on Vagrant Ubuntu box

Whenever I try sudo apache2ctl start I receive the following message: AH00534: apache2: Configuration error: More than one MPM loaded. Action '-k restart' failed. The Apache error log may have more ...
0
votes
1answer
41 views

How can I specify an environment for salt's top.sls file from Vagrant?

I want to use Vagrant to deploy a range of boxes with salt. I've looked through all the available Vagrant salt options available in salty-vagrant (now built in) and I can't see any that would let me ...
0
votes
1answer
128 views

MariaDB 10.0 / Docker / Vagrant - Sub-process /usr/bin/dpkg returned an error code

MariaDB 10.0 does not install properly when using Vagrant, Docker and other virtualised services. $ DEBIAN_FRONTEND=noninteractive apt-get install -y mariadb-galera-server Setting up ...
0
votes
1answer
34 views

Chef-solo: how can I install a package mailutils in ubuntu?

I want to install the command line mail in my ubuntu box in Virtual box. The command line will be sudo apt-get install mailutils. What is the best to achieve the same via chef-solo? I don't think ...
0
votes
1answer
32 views

Specifying config.vm.synced_folder at run time

I'd like to give the user the ability to specify the path to the folder they want to share with the Vagrant box when they provision the machine, eg via a command prompt entry: config.vm.synced_folder ...
0
votes
1answer
83 views

Apache + mod_ssl (on Vagrant) HTTP connection works fine, HTTPS connection times out

Introduction Hi guys, this is quite a strange one that I've been battling with for a few hours now. I have a CentOS Vagrant box with a network adapter attached to my NAT (as opposed to host only). I ...
0
votes
2answers
56 views

Nginx http prefixes in upstream server

I'm trying to use nginx to proxy pass to two docker containers. Here is my upstream conf file: upstream api_servers { server http://192.168.49.4:49155; server http://192.168.49.4:49156; } This ...
-1
votes
1answer
167 views

How to make sudo -u not require password [closed]

I'm using ansible with vagrant and ansible is trying to sudo as postgres user to run some postgres commands. Ansible running as vagrant user seems to run something like sudo -u postgres psql This ...
0
votes
1answer
19 views

how to configuring vagrant to allow some specific IP to be available on a windows machine?

I have Vagrant installed on my windows machine. I am using putty to ssh to the ubuntu machine. Lets say that I need some specific service (let's say a graphite for stats) which should be reached with ...
0
votes
2answers
92 views

SSH tunnel (port forwarding) slow down a lot my mysql queries

I'm currently testing some configurations with vagrant (virtual box) to connect 2 servers (VM currently) together throw an SSH tunnel. The goal being to securely connect my web app to the database. ...
0
votes
1answer
119 views

Vagrant private IP not found after network change

I've got a simple Vagrant Ubuntu virtual machine setup using Virtual Box, running on a Mac. I'm using private networking, configured with a static private IP like so: Vagrant.configure("2") do ...
0
votes
2answers
161 views

Unable to ssh to a vagrant started ec2 ubuntu instance

After I ran vagrant up --provider=aws, I could see an ec2 instance being created and became up and running. However it will invariably stuck at this point ==> default: Waiting for SSH to become ...
-1
votes
1answer
79 views

Chef freezes on vagrant centos box

I have a centos-6.5 box. Strangely it freezes when I try to request its provision by chef. Here's a sample of what goes when I try to vagrant provision --debug it [2014-10-10T20:33:33+00:00] INFO: ...
0
votes
0answers
23 views

Network error when running multiple Virtual Boxes

I have a Ubuntu 14.04 physical desktop that's running some Virtual Box instances (also Ubuntu) through Vagrant. The Virtual Box instances are configured to use static ip and with "natdnshostresolver1" ...
0
votes
1answer
121 views

pgpool run and only log one line

I am using pgpool and when I run: sudo pgpool -f pgpool.conf -F pcp.conf -n It just log one line and keep waitting.... : 2014-10-09 13:27:42 LOG: pid 28626: wd_chk_setuid: ifup[/sbin/ifconfig] ...
0
votes
2answers
79 views

ssh into virtual machine (or direct VM console access)

I am trying to launch multiple VMs and need to have a direct console access (whether through ssh etc.) So, far I can launch multiple VMs using virsh/KVM tools. How I do it is that I just have one ...
0
votes
1answer
121 views

Yum php-yaml install issues

We had an issue with an ansible playbook using vagrant - where formerly php-yaml was installing fine. Then, we were getting issues with our PHP repo: [vagrant@localhost ~]$ sudo yum install php-yaml ...
0
votes
0answers
76 views

puppet xdebug.ini not working

I install xdebug puppet Here is folder structure /myproject Vagrantfile puppet\ xdebug\ files\ xdebug.ini manifests\ init.pp This is ...
0
votes
0answers
62 views

installing drupal drush thru vagrant puppet

this is part of puppet manifest class composer { file { '/tmp/composer.sh': source => 'puppet:///modules/composer/composer.sh', ensure => present, ...
0
votes
0answers
50 views

Dovecot Replication(between CentOS vms) not working

I have the following configuration: 2 Virtual Machines(set up using Vagrant) with CentOS 7( master_1 - 127.0.0.1:2222 and master 2 - 127.0.0.1:2200). Each has installed postfix + dovecot 2.2.10. My ...
-1
votes
1answer
68 views

how to ssh into a vagrant box when working with multi-vagrant environments?

I have two vagrant boxes (wordpress VVV and laravel homestead) running at the moment at the same time. I always ssh to the machine with putty 127.0.1.1:2222 if I run vagrant homestead first I can only ...
1
vote
1answer
231 views

Remote automated provisioning to a XenServer Hypervisor

I'm currently working on a project where I use Vagrant with Ansible provisioning to create local environments in VirtualBox. I'm currently working with a University and we have a XenServer Hypervisor ...
0
votes
1answer
295 views

Issues installing Grunt in Vagrant environment

I am attempting to install node.js, npm and Grunt.js in an Ubuntu Trusty 64bit Vagrant environment and running into some issues. Here is my puppet manifest: init.pp -- class grunt::install { ...
0
votes
1answer
46 views

puppet stage syntax error

I have a shell script to install nodejs module packages which should be execute after all packages are installed. I defined a stage 'last' after the Stage[main] here is my code stage { 'last': } ...
0
votes
2answers
45 views

failed to copy a shell script from host to a vagrant box

Host is Windows 8 I prepared a shell script which execute secure_mysql_installation This is the folders structure c:\myproject\ Vagranfile puppet\ files\ ...
0
votes
3answers
331 views

Exim says DNS lookup succeded, but also says “host lookup did not complete”

I'm trying to send automatic notification emails to users of my website. Those emails are sent to the users by a custom daemon that sends them via exim 4. Exim's role in this is simply to relay the ...
2
votes
1answer
211 views

Have a Vagrant VM destroy itself or power off on completion of a long-running task

I've been using Vagrant with Ansible to perform certain ETL tasks. This has provided some flexibility and transparency: jobs can be easily be moved around and the YAML playbook provides some level of ...
0
votes
2answers
93 views

How can I ssh into a vagrant virtualbox VM from an external machine?

I'm trying to set up a server on my desktop with vagrant, but while I can ssh (via PuTTY) into the VM at localhost:2222, I can't ssh into it via my local or public IP addresses - even though I have ...
1
vote
0answers
226 views

Deploy packer images on bare metal server?

How can I match my dev and production bare metal box? The hosting provider does not allow or have a process to install custom images and only provides a selection from all the latest popular ...
0
votes
0answers
49 views

Replicate server environment and directory structure using Vagrant

I am a developer by trade but am not used to configuring VM's and servers, so I apologize if these questions seem rather novice. I have recently started trying to use Vagrant for local development of ...
0
votes
2answers
95 views

Keepalived loses VIP upon power cycle of master

I have two servers running Keepalived 1.2.7 with hostnames left and right. Here are the configs: # keepalived.conf on left vrrp_instance VI_1 { state MASTER interface eth1 ...