Changes

From Amahi Wiki
Jump to: navigation, search
243 bytes added ,  04:17, 4 December 2010
* Refer to [http://code.google.com/p/phpvirtualbox/wiki/Installation phpVirtualBox Installation] for additional guidance.
===== (''OPTIONAL'') Start Service on Boot =====
* There are two methods to enable automatic start on reboot.
* Option 1(Cronjob):
Exit '''root''' user and edit crontab for your user (''whoami'' will display the current user name and must match the one in the previous step):
whoami
@reboot /usr/bin/vboxwebsrv -b --logfile /dev/null >/dev/null
* Option 2(Service):
As '''root''' user, create the file /etc/init.d/vboxwebsrv and add the following:
#! /bin/sh
;;
esac
* Set permissions and enable service:
chmod 755 /etc/init.d/vboxwebsrv
chkconfig /etc/init.d/vboxwebsrv on
* To use the service, do the following (options: start, stop, restart, force-reload, status):
service vboxwebsrv option
12,424

edits