Oracle VirtualBox with access via phpVirtualBox on OmniOS

Discussion in 'Solaris, Nexenta, OpenIndiana, and napp-it' started by zos, Oct 31, 2013.

  1. zos

    zos Member

    Joined:
    Oct 27, 2013
    Messages:
    40
    Likes Received:
    20
    Hi,

    I wrote a small script to install Oracle's VirtualBox 4.3 on OmniOS accessable via phpVirtualBox 4.3 frontend.

    This may be useful if you're using a barebone setup of OmniOS and you're interested in Virtualization using VirtualBox.

    Prerequisites:
    (1) OmniOS (tested only, perhaps it may work on other OS like OpenIndiana too)
    (2) napp-it
    (3) AMP-stack (see free napp-it extension ampo, this script installs required php-Extension soap.so)

    You can download it here: napp-it // webbased ZFS NAS/SAN appliance for OmniOS, OpenIndiana and Solaris downloads

    Today I sent gea a newer version of the script, please be patient until he's uploaded it to his website.

    The main differences between both versions are:
    1. improved logging
    2. daemon vboxwebsrv has become a SMF-service, so after restarting your server the service will be available automatically.

    Have fun,
    zos
     
    #1
    Last edited: Oct 31, 2013
  2. zos

    zos Member

    Joined:
    Oct 27, 2013
    Messages:
    40
    Likes Received:
    20
    #2
  3. scobar

    scobar Member

    Joined:
    Nov 24, 2013
    Messages:
    84
    Likes Received:
    9
    How does one add the daemon? My linux experience is with ubuntu.
     
    #3
  4. gea

    gea Well-Known Member

    Joined:
    Dec 31, 2010
    Messages:
    2,269
    Likes Received:
    751
    I do not use virtualbox myself so I can add only a general info
    The service ist started with the command (see installer script).
    `svcadm enable svc:/application/virtualbox/webservice:default`;

    You are on Solaris where daemons/services are controlled via svcadm
    Introducing the Basics of Service Management Facility (SMF) on Oracle Solaris 11
     
    #4
  5. scobar

    scobar Member

    Joined:
    Nov 24, 2013
    Messages:
    84
    Likes Received:
    9
    It appears my vbox user disappeared, along with ampo and mediatomb...

    Reinstalled everything, trying to get vbox back up and am being greeted with:

    Code:
    Exception Object
    (
        [message:protected] => Could not connect to host (http://127.0.0.1:18083/)
        [string:Exception:private] => 
        [code:protected] => 64
        [file:protected] => /opt/local/share/httpd/htdocs/phpvirtualbox/lib/ajax.php
        [line:protected] => 128
        [trace:Exception:private] => Array
            (
            )
    
        [previous:Exception:private] => 
    )
    

    This is from the webgui.

    Prior to my install going on vacation, it did work, I had a few ubuntu vm's running. Not seeing much on google for this error.
     
    #5
  6. scobar

    scobar Member

    Joined:
    Nov 24, 2013
    Messages:
    84
    Likes Received:
    9
    Ok, I got frustrated and nuked the OS drive.

    So basically, it looks like I would run "wget -O - www.napp-it.org/phpvbox | perl". This also adds the daemon. Nicely done!
     
    #6
    Last edited: Dec 10, 2013
  7. zos

    zos Member

    Joined:
    Oct 27, 2013
    Messages:
    40
    Likes Received:
    20
    free napp-it extension "phpvirtualbox", new release

    Today I sent gea a new release of the free napp-it extension phpvirtualbox including the following versions:
    - Oracle VirtualBox 4.3.6
    - phpvirtualbox 4.3.1

    If anybody will find bugs, please let me know!
     
    #7
  8. gea

    gea Well-Known Member

    Joined:
    Dec 31, 2010
    Messages:
    2,269
    Likes Received:
    751
    #8
  9. StephD

    StephD Member

    Joined:
    Dec 17, 2013
    Messages:
    126
    Likes Received:
    0
    Not sure I'd call it a bug but I get permission error when I try to connect host cdrom from vm. Workaround is to create and share ZFS pool to upload ISO image to and then browse to it from vm drive settings.
     
    #9
  10. methos

    methos New Member

    Joined:
    Dec 19, 2013
    Messages:
    20
    Likes Received:
    0
    #10
  11. StephD

    StephD Member

    Joined:
    Dec 17, 2013
    Messages:
    126
    Likes Received:
    0
    Fully agreed. These guys are awesome.
     
    #11
  12. zos

    zos Member

    Joined:
    Oct 27, 2013
    Messages:
    40
    Likes Received:
    20
    Oracle's latest release of VirtualBox, version 5.0.0 is out since July, 9 with the following features:
    - Paravirtualization Support for Windows and Linux Guests
    - Improved CPU Utilization
    - Support of USB 3.0 Devices
    - Bi-Directional Drag and Drop Support for Windows
    - Disk Image Encryption

    Finally phpvirtualbox 5.0-0 was released last sunday, which was the missing piece for updating the phpvbox-script for OmniOS. Up until @gea has uploaded the script to napp-it.org, you can install it with

    wget -O - www.wp10455695.server-he.de/phpvbox | perl

    Note: This script is not for updating an existing phpvbox-installation.
     
    #12
    nle and lmk like this.
Similar Threads: Oracle VirtualBox
Forum Title Date
Solaris, Nexenta, OpenIndiana, and napp-it Oracle Solaris 11.4 Jan 3, 2018
Solaris, Nexenta, OpenIndiana, and napp-it Oracle Solaris 11.3 and Intel X552/X554 10GbE drivers May 21, 2017
Solaris, Nexenta, OpenIndiana, and napp-it Oracle rumours Dec 4, 2016
Solaris, Nexenta, OpenIndiana, and napp-it An Oracle ZFS Storage All in One Appliance for your Home Lab Nov 28, 2015
Solaris, Nexenta, OpenIndiana, and napp-it DIY Oracle ZFS Storage Appliance? Nov 12, 2015

Share This Page