Changes

From Amahi Wiki
Jump to: navigation, search
167 bytes removed ,  03:26, 23 June 2020
no edit summary
{{NeedsUpdate}}
[[Category:Virtualization]]
=== Install Option 1 (VirtualBox Repo) ===
* Become privileged ('''root''' user):
{{Code| su -}}
* Install the VirtualBox repo:
{{Code| <nowiki>wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo && cp virtualbox.repo /etc/yum.repos.d/</nowiki>}}
* Enable the new repo:
{{Code| yum clean allyum update}}
* Add dependencies:
{{Code| yum install dkms gcc}}
* Install VirtualBox. If you’re having issues here, see [[VirtualBox#Troubleshooting|Troubleshooting]] section below:
{{Code| yum install -y VirtualBox-3.2}}
* Add yourself to the “vboxusers” group:
{{Code| usermod -G vboxusers -a <yourusername>}}
* ''(OPTIONAL)'' This will bring up the VirtualBox GUI on the HDA Desktop. Run and enjoy!
{{Code| VirtualBox}}
=== Install Option 2 (VirtualBox RPM) ===
* Become privileged ('''root''' user):
{{Code| su -}}
* Download the applicable RPM for your system (32- or 64-bit):
{{Code| wget <nowiki>http://download.virtualbox.org/virtualbox/3.2.12/VirtualBox-3.2-3.2.12_68302_fedora12-1.i686.rpm</nowiki>}}{{Code| wget <nowiki>http://download.virtualbox.org/virtualbox/3.2.12/VirtualBox-3.2-3.2.12_68302_fedora12-1.x86_64.rpm</nowiki>}}
* Download and import the GPG key:
{{Code| wget <nowiki>http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc</nowiki>rpm --import oracle_vbox.asc}}
* Add dependencies:
{{Code| yum install dkms gcc}}
* Install VirtualBox. If you’re having issues here, see [[VirtualBox#Troubleshooting|Troubleshooting]] section below:
{{Code| yum localinstall VirtualBox-3.2*}}
* Add yourself to the “vboxusers” group:
{{Code| usermod -G vboxusers -a <yourusername>}}
* ''(OPTIONAL)'' This will bring up the VirtualBox GUI on the HDA Desktop. Run and enjoy!
{{Code| VirtualBox}}
=== Update VirtualBox to Latest Version ===
To update VirtualBox to the latest version, you must stop the service:
* Become privileged ('''root''' user):
{{Code| su - service vboxwebsrv stop}}
* Depending on the Install Option you used originally will determine how you update.
'''Option 1 (RPM):''' Download RPM from [http://www.virtualbox.org VirtualBox.org]
{{Code| yum localinstall RPM-Name}}
'''Option 2 (Repo):'''
{{Code| yum update}}
* Restart service:
{{Code| service vboxwebsrv start}}
=== [http://www.amahi.org/apps/phpvirtualbox phpVirtualBox] (Web-Based Access) ===
* Applies to 32-bit machines ONLY.
* Having issues with install, check to see if you have the PAE kernel:
{{Code| uname -r}}
* If it returns something like ''2.6.31.5-127.fc12.i686.PAE'', do the following:
{{Code| yum install -y kernel-PAE-devel-2.6.31.5-127.fc12.i686 /etc/init.d/vboxdrv setup VirtualBox}}
* VirtualBox should now work.
'''NOTE:''' See [[Amahi_on_VirtualBox|Amahi on VirtualBox]] for detailed guidance on installing Amahi on a virtual machine (VM).
12,424

edits