File README.SUSE of Package phpvirtualbox

+==========================================================================+
|     ____  _____    _    ____  __  __ _____   ____  _   _ ____  _____     |
|    |  _ \| ____|  / \  |  _ \|  \/  | ____| / ___|| | | / ___|| ____|    |
|    | |_) |  _|   / _ \ | | | | |\/| |  _|   \___ \| | | \___ \|  _|      |
|    |  _ <| |___ / ___ \| |_| | |  | | |___ _ ___) | |_| |___) | |___     |
|    |_| \_\_____/_/   \_\____/|_|  |_|_____(_)____/ \___/|____/|_____|    |
|                                                                          |
+==========================================================================+


1. DO NOT edit /srv/www/htdocs/phpvirtualbox/config.php instead edit
   /etc/phpvirtualbox-config.php. This way in case of an update your
   config/settings in config.php is not removed.
   
2. At  the  very least you should have a web user defined in the
   file /etc/default/virtualbox. Create it if you did not already.
   An example of doing it is by running the following command  as
   root.

    echo 'VBOXWEB_USER=foo' > /etc/default/virtualbox

   where "foo" is the username of the user who will use phpvirtu-
   albox and is a member of the vboxusers group. Unless of course
   if you have implemented the systemd way of daemonizing "virtu-
   albox-websrv" then the above and number 3 instruction below
   does not apply to you :-).

3. Use  your favorite text editor and edit the file "phpvirtualbo-
   xconfig.php" inside the directory /etc. Uncomment out the foll-
   owing and replace it's values.
     
   NOTE  THE QUOTES ARE NEEDED IN THOSE VALUES!

   * Replace the value with VBOXWEB_USER's credential above.

      var $username = 'vbox';
      var $password = 'pass';

   * Replace the value with the ip-address of your host.

      var $consoleHost = '192.168.1.40';

4. Start and enable the vboxweb-service

   * systemctl start vboxweb-service.service

   * systemctl enable vboxweb-service.service

5. Open up your all time favorite browser.

   * http://localhost/phpvirtualbox

   * username: admin

   * password: admin

6. After a log in you can add a user that can handle your vms.

   * File --> Preference --> Users --> Add User

7. If you want your vms to auto start and auto save then do this.

   * Set  the "auto" flag to your virtual machines that you want
     to be daemonized. uncomment out the startup config.

      var $startStopConfig = true;

   * Enable it in phpvirtualbox's graphical menu.

      Settings --> General --> Basic --> StartupMode --> Automatic

  * Install  the package "systemd-vboxinit" which resides in the
    same repo as this phpvirtualbox package.

      zypper in systemd-vboxinit

    Read the manual "man systemd-vboxinit" It is a  very  short
    manual I promise :-). It  also came with the ExtraData script
    which is not needed when using phpvirtualbox.


If you ran into some troubles or just want to look for more info.

"http://sourceforge.net/p/phpvirtualbox/wiki/Home/"

for  further help and instructions.

-------------------------------------------------------

Take it easy folks....
openSUSE Build Service is sponsored by