Virtualbox: Difference between revisions

From D3xt3r01.tk
Jump to navigationJump to search
Created page with "==What== Stuff should be ran as the user that's running virtualbox or else you won't see any messages. List nat networks <source lang="bash"> VBoxManage list natnetworks </..."
 
Line 13: Line 13:
<Source lang="bash">
<Source lang="bash">
VBoxManage
VBoxManage
</source>
For some reason phpvirtualbox doesn't disable dhcp on an host-only if after I've enabled it .. here's how to disable that
<source lang="bash">
VBoxManage dhcpserver remove --ifname vboxnet0
</source>
On the clients you'll probably want to install the vbox additions but you'll need these packages first.
<source lang="bash">
# for debian
apt-get install build-essential linux-headers-$(uname -r)
# for centos
yum install gcc make gcc-c++ kernel-devel-$(uname -r)
</source>
</source>


A nice lil' project I'm using is [http://sourceforge.net/projects/phpvirtualbox/ phpvirtualbox].
A nice lil' project I'm using is [http://sourceforge.net/projects/phpvirtualbox/ phpvirtualbox].


==Links==
==Links==

Revision as of 20:51, 7 September 2014

What

Stuff should be ran as the user that's running virtualbox or else you won't see any messages.

List nat networks

VBoxManage list natnetworks

Other options

VBoxManage

For some reason phpvirtualbox doesn't disable dhcp on an host-only if after I've enabled it .. here's how to disable that

VBoxManage dhcpserver remove --ifname vboxnet0

On the clients you'll probably want to install the vbox additions but you'll need these packages first.

# for debian
apt-get install build-essential linux-headers-$(uname -r)
# for centos
yum install gcc make gcc-c++ kernel-devel-$(uname -r)

A nice lil' project I'm using is phpvirtualbox.

Links

Virtualbox Main Page

VBox Virtual networking]