![]() ![]() Update the packages list and install the latest version of VirtualBox: sudo apt update sudo apt install virtualbox-6.1. For example, if you have Ubuntu version 20.04 the command will print focal. The startup script for vboxweb-service is present in the package, but no installed, so you have to manually copy the script to /etc/init.d, then reload systemd (otherwise you'll get an error like Failed to start rvice: Unit rvice not found. (lsbrelease -cs) prints the Ubuntu codename.However, this will load the virtualbox kernel modules, but it will not start the web service (which is required for phpvirtualbox to work.) So LOAD_VBOXDRV_MODULE must be set to 1 in /etc/default/virtualbox. Log_success_msg "virtualbox disabled edit /etc/default/virtualbox" ![]() In the Ubuntu-provided package, the startup script is /etc/init.d/virtualbox, which states (around line 44): Download Ubuntu Server Download the Ubuntu Server image Virtual Box Linux Create new machine Virtual Box Ubuntu Server Name and Operating System Ram For.Echo "LOAD_VBOXDRV_MODULE=1" > /etc/default/virtualboxĮcho "VBOXWEB_USER=vbox" > /etc/default/virtualboxĬp /usr/lib/virtualbox/vboxweb-service.sh /etc/init.d/vboxweb-service
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |