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 </..." |
m →Links |
||
(One intermediate revision by the same user not shown) | |||
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== | ||
Line 22: | Line 35: | ||
[https://www.virtualbox.org/ Virtualbox Main Page] | [https://www.virtualbox.org/ Virtualbox Main Page] | ||
[https://www.virtualbox.org/manual/ch06.html#network_nat_service VBox Virtual networking | [https://www.virtualbox.org/manual/ch06.html#network_nat_service VBox Virtual networking] |
Latest 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.