FAQ Database Discussion Community


Why does getInputStream on HttpURLConnection to VirtualBox server hang unless I am actively using the VM?

java,virtualbox,httpurlconnection,hang
So I have a virtual machine running via VirtualBox. It's Ubuntu and I don't have sudo privileges on the user I have access to. There's a server running that allows me to access pages via localhost/page.php on the VM. Ive set up the network preferences in VirtualBox as Bridged and...

Failed to setup Cloud Foundry on vagrant with Bosh-lite

ubuntu,vagrant,virtualbox,cloudfoundry
I'm trying to setup cloud foundry on my local machine, when I try to install bosh-lite I got the following error: $ git clone https://github.com/cloudfoundry/bosh-lite $ cd bosh-lite $ vagrant up --provider=virtualbox Bringing machine 'default' up with 'virtualbox' provider... There are errors in the configuration of this machine. Please fix...

Would using Vagrant be overkill? [on hold]

python,windows,ubuntu,vagrant,virtualbox
I'm a developer-hobbyist running Windows 8.1 on a Yoga 2 Pro. I mostly do Python/Django work but I think I'm gonna pick up Ruby soon. The thing is, Windows always seems to be the limiting factor for any project I want to pick up. Last time I tried to install...

How to deploy an application on cluster using appscale?

google-app-engine,deployment,vagrant,virtualbox,appscale
I'm trying to run a GoogleAppEngine Application on my laptop using AppScale. I was following the instructions in this link , and all goes just fine until the deployment part. appscale deploy ~/path-to-your-app I dont know what path i have to put. The directory that contain my application is on...

VirtualBox Linux does not return ping and host machine cannot access apache on that guest

linux,windows-7,virtualbox
I have a Windows7 as host and Debian as guest via VirtualBox. everything worked just fine until I did apt-get update on my guest machine and I think it scrambled some settings (not sure though...). My current VB network settings are: Adapter 1: Bridged Adapter Adapter 2: Host-only adapter My...

Centos VirtManager Clone image - Device eth0 does not exist in libvirt

virtual-machine,virtualbox,libvirt
I up the Centos image using VirtualBox ,clone image and convert it into Qcow2 format and tried up using Virt-manager. But i found interface not available in VM. It displays "Bringing up interface eth0: Device eth0 does not seems to be present," I also tried removing the presistance rules ,...

Virtual Box MySQL Server VM constantly timing out

php,mysql,laravel,pdo,virtualbox
I'm trying to connect to my MySQL server hosted in a VirtualBox VM with the following configuration file: # # The MySQL database server configuration file. # # You can copy this to one of: # - "/etc/mysql/my.cnf" to set global options, # - "~/.my.cnf" to set user-specific options. #...

Can't run Heroku from Virtualbox shared folder (wrong permission)

heroku,vagrant,virtualbox,.netrc
I can't run Heroku from Virtualbox home shared folder and receive permission error every time: [email protected]:~/projects/mysite$ heroku login Permission bits for '/home/user/.netrc' should be 0600, but are 777. You should run chmod 0600 /home/user/.netrc so that your credentials are NOT accessible by others. I believe the problem is about the...

CentOS on Virtualbox, have to use ifdown/ifup after startup

networking,centos,virtualbox
I installed CentOS 7 on a virtual machine, using Virtualbox. I added a host-only interface to the machine before installing the OS, so I can access it from my host environment. In installed net-tools using yum. Everything works fine, except that I have to run the following commands everytime I...

How to access the Cassandra browser terminal running on VirtualBox?

cassandra,virtualbox
I'm trying to access the Cassandra browser terminal but the reported IP is unreachable. I'm following the instructions to install Cassandra on VirtualBox here, and have the following configuration: And Cassandra appears to start up appropriately: But I'm unable to hit the provided IP (10.0.0.2) Any idea what's wrong?...

how to get kivy run in a virtual box

python-3.x,virtualbox,kivy
Hej I try to play a litte around with Ubuntu 14 LTS 64Bit at Oracle VM on Windows 7. Installing kivy for python3 works fine. BUT when I want to create the App in python I got following error: [[1;32mINFO[0m ] [Logger ] Record log in /home/stj/.kivy/logs/kivy_15-06-04_0.txt [[1;32mINFO[0m ] [Kivy...

Which virtualization software should i use?

virtualbox,vmware,virtualization,hyper-v
i need to create a lab with free tools. In this lab there will be the three computers (1. Ubuntu server, 2. Client on Windows 7, 3. Attacker on Kali Linux). Which virtualization Software will be the best for this lab? I think there are three options: VMware Player Hyper-V...

VirtualBox open few windows for 1 virtual machine

window,virtual-machine,virtualbox
When I start a virtual machine, the 3 windows of this virtual machine appear. It begins after changes normal, scale and full window mode. As I found out - this windows represent one virtual machine - I can move terminal from window1 to window 2. I have 2 monitors and...

How can I change the language settings of virtual box

virtualbox
Yesterday, I downloaded and installed the Oracle VM Virtual Box on my PC but the UI language is Danish. Can anyone guide me through the process of changing the UI language to English? I have tried clicking the settings button but it is inactive.

Invalid release error when uploading config file to cloudfoundry

vagrant,virtualbox,release,cloudfoundry,bosh
I'm trying to upload a release to cloud foundry (following these steps for the complete cf installation) after installing bosh-lite. The process failed due to an invalid release as shown below, i tried with different configs cf-200.yml and cf-199.yml. I'm using ubuntu desktop 14.04.2. What I can do? $ bosh...

Continuing shell script execution after SSHing into guest machine?

bash,shell,virtualbox,git-bash
I have an Ubuntu guest box setup on my Windows host using Vagrant and VirtualBox. I'm trying to write a shell script that will... vagrant up vagrant ssh once vagrant up is complete cd into a specific project directory in the guest machine once successfully SSHed into the guest machine...

Can't connect to guest node set up with nat and hostonly vagrant and virtualbox

vagrant,virtualbox
I have been trying to replace manual vitualbox setup with vagrant. I usually create a guest node with 2 network adapters a NAT for the guest(ubuntu) to use the host internet for all apt-get operations, and a hostonly for my host to connect to the guest. I has been working...

Powershell - VBoxManage Cloning Script

powershell,virtualbox
I wrote a powershell script to read data from a text file, and then clone a virtual machine, using VBoxManage. It works, however, it reports back with this error. [string]$vmPath = "C:\Users\someuser\VirtualBox VMs\" [string]$vmName="QuestionMark" [string]$vBoxClonevdi = "clonehd" [string]$vBoxVMName = Get-Content -Path "C:\Users\someuser\VirtualBox VMs\log.txt" [string]$invokeCommand [string]$filetype=".vdi" [string]$vBoxManagewithQuotes= "`"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe`"" if(Test-Path ("C:\Users\someuser\VirtualBox...

Custom developer setup with Vagrant

vagrant,virtual-machine,virtualbox,vagrantfile
I currently have a Vagrant vm with a typical web setup (apache, php, etc). The actual web repo is checked out onto the my local machine, and accessed through synced folders and forwarded apache ports (like http://127.0.0.1:4567/web). The question is, how do I make this work for a team, as...

Vagrant won't run startup-once files properly

shell,vagrant,virtual-machine,virtualbox,puphpet
I just created a new Vagrant box using puphpet and I have put a script file in /puphpet/startup-once/once.sh I am trying to run commands like this to modify php.ini sudo sed -i 's|;opcache.enable=0|opcache.enable=1|g' /etc/php5/fpm/php.ini And I am just getting errors like No such file or directoryd /etc/php5/fpm/php.ini Then I connect...

Android Emulator GenyMotion(w/ VirtualBox) causes New 13'' Macbook Pro Yosemite 10.10.2 to crash(Resolved)

virtualbox,genymotion,macbookpro
Whenever I start running any Android emulator on GenyMotion (2.3 and 2.4) with VirtualBox, my Macbook pro crashes..I am using (Yosemite 10.10.2. 8G memory). A large rectangular message box comes up in the middle of my screen telling me the operating system has crashed, press the power button to reboot...

VirtualBox VM won't boot

vagrant,virtualbox,virtual
VirtualBox won't boot the VM no matter what...I tryied with Vagrant and Docker. Vagrant gave me timed out messages and Docker gave me exit code (1). I read tons of suggestions related to this problem but still found no solution. Any suggestion is welcomed. VirtualBox version: 4.3.26 Vagrant version: 1.7.2...

Why does boot2docker, and port forwarding to my docker instances, periodically hang?

virtualbox,osx-yosemite,boot2docker
I have run the following command to forward sinatra and redis ports to my docker instance running in virtualbox on OSX: ports=( 4567 6379 ) for port in "${ports[@]}" do echo "Forwarding $port" VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcpport$port,tcp,,$port,,$port" done However, periodically (like every 60 seconds) requests to either of these...

glxinfo: OpenGL renderer string::Chromium

linux,opengl,ubuntu,virtualbox
$ glxinfo | grep rend direct rendering: Yes OpenGL renderer string: Chromium What does "Chromium" means in the context of glxinfo? I used to see something like "Mesa DRI Intel" or "software" etc. This must be something new?...

Installing Ubuntu on Oracle VM Virtual Box: Failed to open the optical disk file

linux,ubuntu,virtual-machine,virtualbox
I need to install Ubuntu 64-bit on Windows 7 64-bit using Oracle VM Virtual Box. I downloaded Ubuntu Desktop iso file, opened the settings of VM and selected the disk image of Ubuntu. After this the following error message appears. How to solve this issue? UPDATE: I tried both 34-bit...

How can I access a vagrant guest from another virtualbox guest?

vagrant,virtualbox
The scenario is that my dev environment is on a Vagrant box on my laptop (host) and I would like to do browser testing in a vitualbox vm, so I need to see one vm from another. The vagrant box's port is :8080 which is forwarded to the host on...

Laravel Homestead - How to edit homestead.rb when virtualbox not running?

laravel-4,virtualbox,homestead
I attempted the top answer on this thread: Vagrant port forwarding 80 to 8000 with Laravel Homestead which was to make this change in the homestead.rb file: config.vm.network "forwarded_port", guest: 80, host: 8000 to config.vm.network "forwarded_port", guest: 80, host: 80 I am running a newer version of homestead (not sure...

Is it possible to export/import a virtual box machine in one file?

vagrant,virtual-machine,virtualbox
I have a Vagrant set up with 3 virtual machines. Each machine has its own shell script for provisioning. Now I would like to share the exact same status of my set up with somebody else. Since the provisioning procedure takes really (!!) long for each machine, I hope there...

Genymotion: “The specified virtual device was not found in VirtualBox list”

android,virtualbox,genymotion
One day I tried to launch a Genymotion virtual device and got: Everything used to work fine. I haven't done any update. I use Genymotion 2.3.1 and Oracle VirtualBox 4.3.12 on Windows 7 SP1 x64 Ultimate. What could have caused the issue to arise, and how to fix it? My...

VirtualBox machine - Set to access LAN only

virtualbox,lan
I've got a VirtualBox machine set up and it runs fine. But I want to limit it's network access to only computers on my LAN (192.168.2.x). I do not want it to have any type of incoming or outgoing access to the internet at all.

VirtualBox: mount.vboxsf: mounting failed with the error: No such device

osx,centos,virtual-machine,virtualbox
I'm using VirtualBox with Os x as host and CentOS as VM. In Os x I created folder myfolder, added it as shared folder to VM, turned on VM, in CentOS created folder /home/user/myfolder and typing: sudo mount -t vboxsf myfolder /home/user/myfolder and have output: /sbin/mount.vboxsf: mounting failed with...

Kerberos installation error, error: Setup script exited with error: command 'i686-linux-gnu-gcc' failed with exit status 1

python,ubuntu,virtualbox,kerberos
I am trying to install python kerbos library, setup.py fails with following. I have already done sudo apt-get update and sudo apt-get install python-dev(in that order). Here is the complete trackback of the process. [email protected]:~/Downloads/requests-kerberos-master$ sudo ./setup.py install running install running bdist_egg running egg_info writing requirements to requests_kerberos.egg-info/requires.txt writing requests_kerberos.egg-info/PKG-INFO...

Start a server running with screen in a vagrant box

linux,vagrant,virtualbox,gnu-screen
I'm trying to run a server automatically when my vagrant box boots. Similar to start screen detached in a vagrant box with ssh, how?, except I'm trying to do it with a provisioning script set to run: "always". I'm doing something like this: nohup screen -S server -mL -d bash...

VBoxManage guestcontrol to run shell script at guest

virtualbox
I have VirtualBox VM that runs a server that can be accessed via localhost and forwarded ports. I need to run some shells scripts and implement some business logic based on the results. I tried following command as example: VBoxManage guestcontrol <UUID> exec --image /bin/sh --username <su username> --password <su...

Installing docker into a VirtualBox VM running Ubuntu 12.04

docker,vagrant,virtualbox
I have virtual box in my ubuntu 14.4 system and vagrant is installed in virtual box. But if i try to install docker into vagrant virtual machine and used below command in vagrant machine 'docker --version ' It shows docker version and options like -help -display - color but when...

Access to a Webpage on a virtualbox client from host, both Ubuntu, Neo4j Project

linux,ubuntu,neo4j,virtualbox
Problem I tried to set up a VirtualBox Client with Ubuntu (Server Edition) running a neo4j database for web development. It all seemed to work (eg. SSH and SFT connection work), until I wanted to access the web frontend of the former mentioned DB. In detail, i want to open...

Unable to access my webserver (virtual machine, Ubuntu 14.10) through browser

apache,ubuntu,virtual-machine,virtualbox
I have setup a Virtual Machine on my Windows 7 system (Ubuntu 14.10). It looks like Apache, MySql and PHP have been installed successfully. If I ran curl -l 127.0.0.1 I see the website in my console. But if I hit this address in my browser I just get "This...

Shrink a vmdk Virtualbox disk image

virtualbox
VirtualBox is able to compact (reduce the size) of .vdi images but it is not possible with .vmdk disk images. But we can compact .vmdk files if we: detach convert to .vdi compact convert back to .vmdk attach again to the original vitual machine So I tried to shrink my...

VirtualBox and google cloud engine

virtualbox,google-compute-engine
Can I run Virtualbox and an active VM on a server hosted in google cloud engine? If yes, what are the steps? Just install it and build the VM through VNC? So far I have found similar solution for DigitalOcean where you simply install Virtualbox, xfce, VNC, etc. and it...

Start Virtual Machine directly when booting (Virtual Box)

virtual-machine,virtualbox
I am behaving very stupid I feel. This question will receive downvotes. I've installed an ubuntu iso via virtual box, but I want to fully start the ubuntu installation when booting the pc. Right now I can only use ubuntu within windows via a virtual box start. I thought it...

Serial port on linux in VirtualBox filters out 0x11 from data stream

c,linux,serial-port,virtualbox
I don't know if this problem is because of VirtualBox or because of the serial port configuration. I'm testing a program that interacts with a particular piece of hardware over a serial port. Everything is generally working fine, but in the data stream received from the device, some bytes are...

How can i set the port mapping when a Linux host serves as a real router? [closed]

linux,networking,virtualbox,router
Just a little lab. I wanna make a Debian host be a router for other hosts, and all of them are in the virtualbox. I have used the eth0 of router host to connect the internet through NAT, and eth1 to be the gateway of internal network(192.168.1.0/24). And now, the...

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

linux,vagrant,virtualbox
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 vagrant reload default: Attempting graceful shutdown of VM... default: Guest communication could...

Do virtual machines need swap partitions?

virtual-machine,virtualbox,swapfile
I am running Ubuntu on my physical machine; and VirtualBox to run various virtual ones on top. Most of the time, I was doing "straight forward" installations; but today I wanted to be "smart" and checked out the partitions that the fedora or ubuntu installers will create on my virtual...

Oracle virtual box login account / user absent

linux,virtual-machine,virtualbox,xubuntu
After recent system abrupt reboot, Oracle Virtual box with xUbuntu did not show user 'xxxxx' for login. I am able to login as root, I can see /home/xxxxx/, however, working environment with development tools are setup as 'xxxxx' user. here is excerpt of ls -al in /home/xxxxx/ drwxr-xr-x 2 xxxxx...

Shutdown a vagrant box that is no longer configured

vagrant,virtualbox,vagrantfile
I initially created a Vagrantfile that provisioned a default box. Later, I updated the Vagrantfile to use a named box ("db") with a slightly different config. Unfortunately, I forgot to halt the initial box before I provisioned the new box. Now there's a rogue vagrant box running in the background...

How to access Guest's port 3000 from Host?

ruby-on-rails,vagrant,virtualbox,portforwarding,vagrantfile
Here's my Vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "ubuntu-14.04-x64" # Sync'd folders config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder "~/work", "/home/vagrant/work", create: true config.vm.synced_folder "~/apt-archives", "/var/cache/apt/archives/", create: true # Ubuntu VM config.vm.define "ubuntu" do |ubuntu| ubuntu.vm.provision "shell", path: "provision.sh", privileged: false...

How do you kill zombie process using wait()

c,linux,virtualbox,wait,zombie-process
I have this code that requires a parent to fork 3 children. How do you know (and) where to put the "wait()" statement to kill zombie processes? What is the command to view zombie processes if you have Linux virtual box? main(){ pid_t child; printf("-----------------------------------\n"); about("Parent"); printf("Now .. Forking !!\n");...

Laravel 5 Homestead w/ Vagrant and Virtual Box white page

laravel,vagrant,virtualbox,homestead
Hello fellow programmers, So i am currently assigned to install and configure Laravel 5 with homestead and Vagrant currently i am having various issues.. for now i came across the following error in my gitbash. Before this error i had run the init.sh again because someone told me he fixed...

Shutting Down Vagrant Box

windows,vagrant,virtualbox
Is there any difference between typing vagrant halt and right clicking on the box in Virtual Box and selecting close>power off Also on my Windows 7 machine running Vagrant on VirtualBox should I shut down Vagrant using vagrant halt before putting the machine to sleep or hibernating or does it...

Test android app on Virtual Box from Android studio

android,virtualbox
I have a very specific problem. I am trying to create an Android app for educational purposes, together with a friend of mine. The problem is, my processor does not support VT-x, which is essential for using an AVD, and my Android phone is considerably old so it can't really...

Behavior of closing a Virtual Machine window in VirtualBox [closed]

virtualbox
Can I set VirtualBox host to be automatically saved and closed, rather than asking me what to do for closing host window? ...

Mac OSX VirtualBox and Windows 7 Guest from External HD [closed]

virtual-machine,virtualbox
I have a 2014 MacBook Air, and wanted to run a win 7 installation that I have in VirtualBox every now and then. I used VM's VCenter Converter to make a .VMDK image of my current Win 7 installation. I have now moved this to an external HD due to...

Correcting VirtualBox raw disk VMDK file after resizing a partition

virtualbox,raw-disk
I have a Windows 8.1 installation on second partition of my second HDD (/dev/sdb2 in Ubuntu) created using the command VBoxManage internalcommands createrawvmdk -filename sdb2.vmdk -rawdisk /dev/sdb -partitions 2 Everything worked just fine - Windows installation was runable from VirtualBox and even bootable normally from GRUB. Last time when installing...

Why does Vagrant truncate hostname

vagrant,virtualbox
I'm setting the hostname in my VagrantFile like so: config.vm.hostname = "demo.puppet" However this ends up with a host name of just demo: [email protected]:~$ hostname demo It seems that Vagrant will truncate at the first ., is this expected behaviour as plenty of examples on the web seem to have...

PuPHPet vs Puppet?

vagrant,virtualbox,puppet,puphpet
I've been using PuPHPet to setup development / staging hosting environments and it's made for very simple and efficient deployments. However, I'm running into a situation where I need to provide much more detailed directives in various server conf files (i.e., Nginx and Apache configs, cron jobs, etc) and PuPHPet...

How do I modify the host file on a Genymotion VM from windows?

android,virtual-machine,virtualbox,virtualhost,genymotion
I'm basically trying to simplify my development workflow a bit. I have a azure mobile services project running inside IIS on my windows host machine, which I can connect to from the Genymotion Android VM using an IP address (10.71.34.1). What I'd like to be able to do is connect...

403 Forbidden nginx/1.6.2 on Laravel Homestead installation

laravel,nginx,vagrant,virtualbox,laravel-5
I'm out of ideas about what I can do to finish my Laravel Homestead install. Some infos : laravel/homestead (virtualbox, 0.2.4) vagrant base is lucid32. I can't use the serve command with SSH. Here is my homestead.yaml : --- ip: "192.168.10.10" memory: 2048 cpus: 1 authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa...

Error code C4 when installing Windows Server 2012 on VirtualBox

virtualbox,windows-server-2012
I am getting error code C4 when trying to install Windows Server 2012 on VirtualBox. I was able to install this a few weeks ago. However I had to install a fresh copy again. This time however I always get error C4 no matter what I try. Settings I'm using:...

running ruby on rails in virtual box debian instanz

ruby-on-rails,ruby,virtual-machine,virtualbox,portforwarding
my host system is a windows 8.1 system there i've running a debian 7 vm in virtual box. I've created a new Ruby on Rails project and started the server. Server starts properly and listen on port 3000 So i added a port forwarding rule in virtual box for this...

Delay packets using Netem on Virtual Machine

ubuntu,networking,terminal,virtualbox
I'm trying to delay packets using Ubuntu on a virtual machine, but when I type in the terminal: tc qdisc add dev eth0 root netem delay 100ms I get: RTNETLINK answers: Operation not permitted. I'm working as an intern and I got assigned to a clock synchronization project on a...

Running selenium tests on Virtual box guest

eclipse,windows,internet-explorer,selenium,virtualbox
So i am trying to run Selenium tests written in Java through Eclipse on my guest machine. My host machine is Windows 7 and I am running Windows 7 guest machine. I have set 2 network adapter NAT and Host only. I am farily new to the whole Selenium testing...

virtualbox - connect from one vm to another

networking,virtualbox
In one VM, I have a Win XP machine that has a service listening on 0.0.0.0:10000 I can connect from the Win XP to this service, but I have another VM (CentOS) that I would like to connect. When I try to connect from my CentOS, it says connection refused....

Accessing ubuntu virtual machine host from windows browser [closed]

python,ubuntu,flask,virtualbox,ubuntu-14.04
I have a virtualbox ubuntu machine running a hellow world flask app. I tried having the app display on 127.0.0.1:5000 and 0.0.0.0:5000 But both when I try to load up on my windows browser don't resolve. When I run ifconfig in ubuntu virtual machine I get this: ifconfig -a eth0...

Vagrant Virtualbox Override Default Network Interface

osx,vagrant,virtualbox,vagrantfile
I would like to override "Adapter 1" and change it from the default NAT to Bridged. This is MacOSX using VirtualBox My feckless attempt is below: NODE_COUNT = 5 NODE_COUNT.times do |i| node_id = "mes00#{i += 1}" config.vm.define node_id do |node| # $network_interface could either be en0 or en1 depending...

VirtualBox guest running OSX Mountain Lion: XCode install error

xcode,driver,virtualbox,osx-mountain-lion
I'm trying to install Xcode in a VirtualBox Hackintosh for app development purposes. I used MultiBeast and the Xcode installation is complaining about the display, but the way VirtualBox handles displays and graphics is beyond me. I get the following error: Xcode: CVCGDisplayLink::setCurrentDisplay didn't find a valid display -- falling...

How to switch order of network adapters in Vagrant under VirtualBox?

vagrant,virtualbox,vagrantfile
Under Vagrant I have config something like this: Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64" config.vm.provider "virtualbox" do |vb| vb.memory = "512" end config.vm.host_name = 'core.example.com' config.vm.network "forwarded_port", guest: 22, host: 2222, id: 'ssh' config.vm.network "private_network", ip: '172.28.128.3' config.vm.synced_folder "./vagrant_core", "/vagrant", create: true end And after this I receiving something like...

adb push very slow from virtualbox ubuntu to android device

android,ubuntu,adb,virtualbox
Now I am developing some codes in virtualbox ubuntu machine, and the host machine is win7. When the codes are ready, I put the library to the device using the following command adb push abc.so /data/local/tmp/myabcfolder. However, the speed of transferring data is so slow that the shell almost stops....

Setting proper vagrant documentroot

laravel,configuration,vagrant,virtualbox
how to set proper document root for vagrant. Now it takes docroot from the wrong place. I'm trying to run laravel project, so it has to be not /var/www/project but /vae/www/project/public... My YAML file: --- vagrantfile-local: vm: box: puphpet/debian75-x64 box_url: puphpet/debian75-x64 hostname: '' memory: '512' cpus: '1' chosen_provider: virtualbox network:...

Rails sending mails with actionmailer from an virtualbox vm

ruby-on-rails,ruby-on-rails-4,debian,virtualbox,actionmailer
I have an Debian VM running in Virtual box on my Windows machine. In my VM is a Rails application running, which should send mails with the action mailer. I've set up the action mailer credentials in application.rb But when a mail should be send there is nothing in my...

VirtualBox Sdk Java - Executing a command inside guest OS from host OS

java,virtualbox
I'm trying to create a user inside guest OS(Ubuntu server) from host OS(Ubuntu 14.04). Here's my code IGuestProcess process = null; ISession session = manager.getSessionObject(); //VirtualBoxManager machine.lockMachine(session, LockType.Shared); //IMachine IConsole console = session.getConsole(); IGuest guest = console.getGuest(); IGuestSession guestSession = guest.createSession("registerdUserWithRights", "hisPasswd", "", ""); Long time = 100000L; GuestSessionWaitResult result...

enhance Vagrant Box and save as a new box - use 'vagrant package'?

vagrant,chef,virtualbox
Apologies, but chef/vagrant etc... have so many tools built around them that sometimes it is difficult to figure which one is a good fit for the problem at hand. So before getting started with the actual work, I'd like to confirm which tool to look at. I am spinning up...

Why the Vagrant do not share folders on windows 8 64bits e 32bits?

ruby-on-rails,ruby,ubuntu,vagrant,virtualbox
I am using: Windows 8 64-bit vagrant 1.7.2 Virtual Box 4.3.28 GitBash 1.9.4 for SSH connection Box Ubuntu 14:04:02 Trusty32 and Box Ubuntu 14:04:02 Trusty64 I am using everioment development ruby on rails on ubuntu/trusty32 and trusty/64 on vagrant to windows64. Everything is worked well, but i don`t can share...

Vagrant refusing to start (Remote connection disconnect)

linux,osx,ubuntu,vagrant,virtualbox
Vagrant refuses to start after making some changes to networking, I was getting the following; $ vagrant up default: Warning: Connection timeout. Retrying... default: Warning: Remote connection disconnect. Retrying... default: Warning: Remote connection disconnect. Retrying... default: Warning: Remote connection disconnect. Retrying... default: Warning: Remote connection disconnect. Retrying... I tried to...

What is wrong with my mongodb?

django,mongodb,locale,virtualbox,ubuntu-14.04
I have a django project that requires mongo. When setting up my dev environment I get some error related to locale and mongo that I couldn't resolve. $ bash -c ". ./host-install.sh && restore_mongodb ./social ~/Desktop/dump" ./host-install.sh: line 329: warning: setlocale: LC_ALL: cannot change locale (sv_SE.UTF-8): No such file or...

virtual-box virtual machines date and time are not update to the present date and time

date,time,virtualbox,ubuntu-14.04
when virtual-box Virtual Machine's are reverted to snapshot time and date are being followed from snapshot time and date, but I want the present day date and time to be followed by Virtual Machine's and I don't want to synchronize time with my host's date and time. please guide me...

How to change default Nginx setting on Homestead Laravel Virtualbox VM

laravel,nginx,vagrant,virtualbox,homestead
I merely followed the default Laravel Homestead setup here using VirtualBox. Working great. But I need an additional Nginx rewrite setting in my apps vhost file on the VM, something like; location / { if ($request_method !~ "(POST)"){ rewrite .... } try_files $uri $uri/ /index.php?$query_string; } I can add that...

get rid of .AppleDouble files in git status

git,ubuntu,virtualbox
I have a virtual-box with installed Ubuntu on it. All new projects I start working on have some weird .AppleDouble files. So every time I check my git status they are appear in the log, unless I include them in .gitignore. Could someone please advise me how to get rid...