8. SOLARIS ADMINISTRATION

VIRTUALBOX - Setting and Configure

Note = Sun x86 VirtualBox with CentOS6

      Vbox Lan Network and Vbox Internal network with Host

Configuration Setup-

1

Vbox Manager and CentOS



note: Sharing Host mounted disk via fuse-ssh, "work directory no file transfer"

2

  Vbox CentOS Backup

noc@sol-11:~$ cd VirtualBox\ VMs/
noc@sol-11:~/VirtualBox VMs$ tar cjf CentOS6-`date '+%d-%B-%Y'`.tar.bz2 CentOS6/

noc@sol-11:~/VirtualBox VMs$ ls
CentOS6 CentOS6-24-November-2012.tar.bz2

3   

  Vbox CentOS Clone

noc@sol-11:~$ cd VirtualBox\ VMs/CentOS6
noc@sol-11:~/VirtualBox VMs/CentOS6$ ls
CentOS6.vbox       CentOS6.vbox-prev  CentOS6.vdi        Logs

noc@sol-11:~/VirtualBox VMs/CentOS6$ VBoxManage clonehd CentOS6.vdi CentOS6-28nov.vdi
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VDI'. UUID: 9bbef79e-e455-4ff5-9a00-3bef970a70ba

4

  SSHD



5

  Vbox CentOS DHCP LAN

note: The adapter 2 ( eth0 ) to get DHCP from Router


6

  Networked Host and CentOS6


note: This only can be added via Vbox Manager > File > Preferences > Network

Host: once done, in host ifconfig -a "vbox lan ip is there"

vboxnet0: flags=201000943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,IPv4,CoS> mtu 1500 index 3
    inet 192.168.56.1 netmask ffffff00 broadcast 192.168.56.255
    ether 8:0:27:55:8f:1f


Vbox manager > Machine > Setting > Network

CentOS6: need to add ip range to eth? ( Check with dmesg |grep eth )
[root@sunc6vbx ~]# /sbin/ifconfig eth1 192.168.56.10 netmask 255.255.255.0 broadcast 192.168.56.255

7

   Sol-11 Vbox error ( VERR_SUPLIB_WRITE_NON_SYS_GROUP )

root@sol-11:/# chmod g-w /opt

INFO: Linux
Starting VirtualBox kernel modules                         [FAILED]
  (Running VirtualBox in a Xen environment is not supported)

8

   ADVANCE



9

   PRO


10

   PRO




Previous Section    SOLARIS ADMINISTRATION Next Section