Questions about Vagrant, a tool to create and configure lightweight, reproducible, and portable development environments though virtual machines.

learn more… | top users | synonyms

1
vote
1answer
15 views

Cannot get or set to Redis on Vagrant guest from host due to “Error: Connection reset by peer”

I tried to forward guest port 6379 to host 6379 and to 16379 but with no luck. I can connect to redis from guest and set and get, and despite I also can connect to redis from host and get help, I ...
0
votes
0answers
7 views

Passwordless ssh to vagrant to load another user after vagrant ssh

I have a new user in my vagrant box(trusty64) and I am trying to ssh into it. Instead of logging into vagrant user after vagrant up, I want to login to my username. What I have done so far Created ...
0
votes
0answers
13 views

Apache2 on Virtualbox - HTTP 500

I know that there are a bunch of questions regarding this, but I can't seem to find an adequate solution for my case. I've set up an Ubuntu Trusty Thar (14.04) VM on Virtualbox using Vagrant, ...
0
votes
2answers
35 views

Community Supported Virtual HDD Ubuntu Configured for VirtualBox?

There are some websites which hosts some virtual HDD images of Ubuntu configured for VirtualBox, without need of installation. However, I cannot trust them without community support. Is there any ...
1
vote
1answer
189 views

System freeze while starting a Vagrant box via VirtualBox on Ubuntu 15.04

I'm starting a virtual machine with: vagrant up The provider is VirtualBox. After few seconds the system freezes and I can't do anything. Only a hard reset is possible. Unfortunately I can't see ...
0
votes
0answers
85 views

not able to ssh to docker instance with vagrant

This is my Dockerfile RUN adduser --gecos "" vagrant RUN echo "vagrant:vagrant" | chpasswd ADD couchbase.tar.gz /home/ RUN apt-get install librtmp0 RUN dpkg -i ...
0
votes
0answers
61 views

swap does not work in 14.04

I use vagrant to install my dev VM. The VM configured config.vm.box = "ubuntu/trusty64" config.vm.provider "virtualbox" do |vb| vb.memory = "256" end I follow How do I configure swappiness? to ...
1
vote
0answers
95 views

Running vagrant inside VirtualBox

I'm running Xubuntu 14.04 in a VirtualBox VM on Windows 7. Inside the VM, I want to use Vagrant as part of my development environment. The Vagrant setup executes successfully, until it wants the VM ...
0
votes
0answers
173 views

Virtualbox Guest Additions won't resize the screen

Im just working on a Vagrant-Setup for a Linux-Desktop System. If installed an ubuntu vagrant box (http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-i386-vagrant-disk1.box ...
0
votes
0answers
89 views

Connect to MongoDB database on Vagrant(VM) from local machine (using RoboMongo)

I have installed MongoDB on Vagrant based VM, and I can connect to it on VM. But not from my local machine. I'm using RoboMongo to connect and following are the credentials, Host - 127.0.0.1 Port - ...
1
vote
3answers
208 views

Node is installed during provisioning on vagrant but disappears upon connecting to ssh

I am really getting sick of this and I don't know what is wrong. I am using Vagrant 1.7.2 , Ubuntu 13.04 , Virtual Box 4.3 12 r93733 My host machine is Windows 8.1 Here is my node bootstrap script ...
1
vote
0answers
134 views

Symlinks: Can't create one because file exists, cant remove it because there is no such file

I posted this already on stackoverflow and it was suggested I ask here... I am running ubuntu 14.04 in vagrant on a windows 7 pc. I am running VirtualBox and git bash as administrator. I've created ...
1
vote
1answer
102 views

Unable to locate package lighttpd1.5

I try to install the issue tracking tool youtrack and the installation instruction recommends lighttpd 1.5 with it. sudo apt-get install lighttpd Will only install version 1.4 – for 1.5 I followed ...
0
votes
1answer
242 views

IPTABLES - Forwarding 80 to 8080 to vagrant's apache

I was trying to forward my 80 access to 8080 with IPTABLES without success, then I read this answer And it finally worked for me, after all the IPTABLES configurations I tried this command made it.. ...
4
votes
1answer
5k views

Vagrant up/reload error - default: Warning: Connection timeout. Retrying…

I had a fully functional vagrant for three months now, but for the last three days, I am getting errors whenever I try to run vagrant up or vagrant reload. This is the error I get when running ...
0
votes
0answers
88 views

How to change another user keyboard layout silently?

I'm working to automate development environments with Vagrant which manages Ubuntu Desktop 14.04 VMs. My Vagrant script: Creates the VM Setup a new user account based on the host user account Does ...
0
votes
0answers
115 views

Vagrant snapshot installation problem. Ubuntu 14.10

I have some troubles with vagrant snapshot installation. I have vagrant(1.4.3) and virtualbox(4.3.18). I'm trying to install snapshot plugin via sudo vagrant plugin install vagrant-vbox-snapshot and ...
0
votes
1answer
472 views

Cannot virtualize 64bit vagrant boxes

I run Ubuntu 14.04. My CPU is Intel Core 2 Duo CPU P7450. It supports neither VT-x nor EPT. But it is 64bit. I can only virtualize 32bit boxes with success. When I try 64bit i get a never-ending ...
4
votes
3answers
3k views

install vagrant version 1.5 or greater on 14.10

Is there a way to install a newer version than in the repository? Ubuntu installs vagrant 1.4.3 at the moment, but I need at least 1.5
1
vote
0answers
611 views

“Vagrant Up” error

I entered "vagrant up" in the terminal and got this: /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.1/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /usr/local/sbin in PATH, ...
0
votes
1answer
210 views

Vagrant/VirtualBox - how to run GUI program from within VM

I successfully instead VirtualBox and Vagrant and have a trusty32 Ubuntu instance running inside a VirtualBox VM on my Windows 7 machine. However, now I am at a conceptual roadblock whereby I don't ...
0
votes
0answers
456 views

Vagrant with VirtualBox - login/password mystery

I am using Vagrant which creates an Ubuntu virtual machine on Windows. I can use that vm with Oracle's VirtualBox. However, now I am confused about why it's asking for a login/password. Does anyone ...
1
vote
1answer
353 views

Vagrant running on port 80

I used to have my Vagrant running on a Windows machine, SSH listening to port 2222 (host: 2222, guest: 22, by default) and I used to forward port 80 to port 80 (host: 80, guest: 80, so i was able just ...
3
votes
2answers
241 views

How to install python as a user

I need to install python so I can install pip/fab which do not need root access to run and install things. I'm setting up a vagrant VM environment which needs to run fab as non root to function and I ...
1
vote
1answer
495 views

IDE for Symfony (PHP) which is able to manage Vagrant VM's over SSH

I just switched from Windows to Ubuntu on my dev Laptop. Now I'm wondering, what's the best IDE to use on Ubuntu when working with PHP? I know there are a lot of threads here about exactly that thing, ...
0
votes
1answer
283 views

How to Install NVIDIA Cuda without EULA/prompts?

I'm currently installing with the following commands: sudo apt-get install linux-headers-`uname -r` curl -O ...
0
votes
1answer
225 views

install vagrant ( homestead 2.0 ) without virtualization enabled

my computers does not have virtualization technology. I assume this could be the reason for the failure when I tried to install vagrant ( homestead 2.0 ) on top of windows. My question is - is this ...
3
votes
1answer
133 views

Vagrant box for vmware provider

Not too sure where this should be asked. If irrelevant please redirect. I'm wondering why all the Ubuntu boxes on VagrantCloud are targeted at virtualbox. I need one tailored for the vagrant vmware ...
1
vote
1answer
58 views

Performance issue [duplicate]

System details: Processor: Intel® Pentium® Processor 2020M (2M Cache, 2.40 GHz) RAM 1.8GB OS type: 64-bit (Release 12.04 (precise) 64-bit) Kernel Linux 3.2.0-32-generic GNOME 3.4.1 I'm a php ...
0
votes
0answers
172 views

Vagrant Ubuntu 14.04.1 LTS (sudo apt-get update not working)

I need your help. $ vagrant init ubuntu/trusty64 $ vagrant up everything is fine. But i can't " $ sudo apt-get update I always get W: Failed to fetch Could not resolve ...
2
votes
1answer
303 views

How to install usbserial and ftdi_sio modules to 14.04 Trusty Vagrant box?

I started a Vagrant box from https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-i386-vagrant-disk1.box. For some reason, this box does not seem to include usbserial and ...
2
votes
1answer
240 views

System cant shutdown if Vagrant box is not halted manually

When I try to shutdown my machine, it "freezes" or it stays stuck on one point, where it can not complete the process. I get the message unregistered_netdevice: waiting for vboxnet2 to become free. ...
0
votes
0answers
150 views

Installing maven w/out X11/Dependency-hell?

I'm trying to provision my Vagrant box with some Java tools. Unfortunately, I get into dependency hell all the time. I had to use a script to dl and install Oracle Java, because openjdk-7-jdk is ...
0
votes
1answer
1k views

Vagrant won't run when setting up Homestead

I went through all the steps from this manual of how to setup Homestead. I've got a problem, when I try to run the vagrant box: mysystem@me:~/Google Drive/Homestead$ vagrant up Vagrant failed to ...
0
votes
0answers
223 views

How to mount directory with NFS under encrypted folder (home dir)?

I have vagrant project with NFS synced_folders option in my home directory. Vagrant can't mount it because NFS doesn't work under encrypted directories (http://serverfault.com/a/392232/106031). How ...
0
votes
1answer
1k views

Cannot install libapache2-mod-php5 because of unmet dependencies

I have a vagrant box that installs php 5.3.28 and most php libraries dpkg -l |grep '^ii' |grep php ii php5-cgi 5.3.28-1~dotdeb.0 server-side, HTML-embedded ...
0
votes
1answer
474 views

localhost:4567 url gets redirected to port 80 [closed]

I am working with vagrant machines, and everything worked fine until I run this command: vagrant destroy -f && vagrant up I expect that if I go into the browser and I type ...
0
votes
0answers
28 views

How to install vagrant if ruby is already installed in the system?

I had installed ruby via rbenv and installed the latest stable version from their repository. I have also configured ruby for all the users. Now, when I am trying to install vagrant via apt-get it ...
0
votes
0answers
26 views

pastebinit gives me the wrong URL when logged in a Vagrant Box

When I try to paste a certain file with pastebinit, I get the URL of the website, instead of the URL of the specific paste I wanted. I want to stress that this does not happen with all files... Here ...
1
vote
1answer
171 views

Prevent *buntu from updating dictionaries during install

In utilizing Vagrant to install an Ubuntu server box with a GUI (lxde), the shell provisioning fails due to what seems to be a frequent issue when setting up dictionaries. The resolutions seem to all ...
0
votes
0answers
56 views

Ubuntu — expected default user and group for /usr folders and children

I'm on Ubuntu 14.04 and was running into problems with Vagrant and VirtualBox v4.3.14 that proved to be an ownership problem with the /usr folder. Looks like something changed the user/group of those ...
0
votes
0answers
82 views

how to replicate my 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
0answers
138 views

Webmin on vagrant and ubuntu environment page not found

Hi I've installed webmin using a vagrant and ubuntu setup, I'm using laravel too and I've installed webmin on my ubuntu vm machine and at the end of the installation it says it is available at this ...
67
votes
6answers
93k views

Docker. How to get bash\ssh inside runned container (run -d)?

I want to ssh or bash into runned docker container. Please, see example: $ sudo docker run -d webserver webserver is clean image from ubuntu:14.04 $ sudo docker ps CONTAINER ID IMAGE ...
1
vote
2answers
625 views

Unable to scp files to Ubuntu 14 with Vagrant

I'm trying to scp files from my machines desktop into my vagrant box but I seem to keep running into this error. ssh: connect to host 127.0.0.1 port 22: Connection refused lost connection I ...
2
votes
0answers
214 views

“unable to make backup link of `./usr/share/tomcat7/bin/daemon.sh' before installing new version: Operation not permitted”

I've ran this many times but today it seems to be failing first: sudo apt-get update That works successfully. Running apt-get install fails when trying to back up the daemon.sh sudo apt-get ...
1
vote
0answers
1k views

vagrant, port forwarding, and iptables

Background: I am a newby learning Python and Django. Because my machine is Windows 8.1, I installed Vagrant with Precise 64. At first things were fine, then suddenly, NONE of my projects in the VM ...
0
votes
1answer
104 views

Packages installed by default on Ubuntu Cloud Image?

I am running Ubuntu in a virtual machine through Vagrant using the "ubuntu/trusty64" box. Based on the information on https://vagrantcloud.com/, this box runs a "Cloud Image" of Ubuntu. I'm having ...
0
votes
1answer
697 views

VirtualBox doesn't run x64 VMs with Vagrant on Ubuntu 12.04 x64

When I execute 'vagrant up' the process end with 'Connection Timeout...' messages. Trying to solve my problem I added 'Ubuntu_64' to config file and enabled GUI, but no results. The VMs which were ...
1
vote
1answer
2k views

Permission when running script in Vagrant using Vagrantfile

I have created a vagrant box for running rails applications and I have managed to create it manually. My next step was to create a shell script that I can include in the Vagrantfile so when creating ...