Changes

From Amahi Wiki
Jump to: navigation, search
313 bytes removed ,  03:26, 23 June 2020
no edit summary
{{NeedsUpdate [[Category:appsVirtualization]]
===[http://www.virtualbox.org VirtualBox] for Fedora 12 Host===
'''LATEST RELEASE:''' 3.2.10
__NOTOC__
This is a step by step tutorial on how to get VirtualBox 3 up and running on Fedora 12. Specifically, this guide was written using the VirtualBox 3.2.10 12 version and an i386 CPU (32-bit), but should work with all versions. It can be adapted to upcoming versions and different CPUs (64-bit). The folks at VirtualBox have made it easy to install for Fedora users and I’m going to show you how in a few easy steps. Right, open a terminal window and let’s get to it…it. There are two options for install: <br /># '''VirtualBox repo:''' If you are selective or do not install Fedora updates, this is not the option for you. It will result in installation of ALL Fedora updates that your HDA requires.<br /># '''VirtualBox RPM:''' This will only install the RPM and any required dependencies or dependency updates your HDA requires. It is much faster and will not force ALL Fedora updates like Option 1.
=== Install Option 1 (VirtualBox Repo) ===
* Become privileged ('''root''' user):
su -
* Enable the new repo:
yum clean all
yum update* Add dependencies: yum updateinstall dkms gcc* Install VirtualBox (along with a few other required packages). If you’re having issues here, try installing '''''kernel-PAE-devel''''' firstsee [[VirtualBox#Troubleshooting|Troubleshooting]] section below: yum install -y VirtualBox-3.2 dkms gcc
* Add yourself to the “vboxusers” group:
usermod -G vboxusers -a <yourusername>
* ''(OPTIONAL)'' This will bring up the VirtualBox GUI on the HDA Desktop. Run and enjoy!
VirtualBox
'''NOTE:''' See [http://www.derekhildreth.com/blog/how-to-install-virtualbox-3-on-fedora-12-tutorial/ how-to-install-virtualbox-3-on-fedora-12-tutorial] for more info.
=== Install Option 2 (VirtualBox RPM) ===
* Become privileged ('''root''' user):
su -
* Download the applicable RPM for your system from the list below: wget <nowiki>http://download.virtualbox.org/virtualbox/rpm/fedora/12/i386/VirtualBox(32-3.2or 64-3.2.8_64453_fedora12-1.i686.rpm</nowiki>bit): wget <nowiki>http://download.virtualbox.org/virtualbox/rpm/fedora/12/i486/VirtualBox-3.2-3.2.8_64453_fedora12-1.i686.rpm</nowiki> wget <nowiki>http://download.virtualbox.org/virtualbox/rpm/fedora/12/i586/VirtualBox-3.2-3.2.8_64453_fedora1212_68302_fedora12-1.i686.rpm</nowiki> wget <nowiki>http://download.virtualbox.org/virtualbox/rpm/fedora/12/i686/VirtualBox-3.2-3.2.8_64453_fedora12-1.i686.rpm</nowiki> wget <nowiki>http://download.virtualbox.org/virtualbox/rpm/fedora/12/x86_64/VirtualBox-3.2-3.2.8_64453_fedora1212_68302_fedora12-1.x86_64.rpm</nowiki>
* Download and import the GPG key:
wget <nowiki>http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc</nowiki>
rpm --import oracle_vbox.asc
* Add dependencies:
yum install dkms gcc
* Install VirtualBox. If you’re having issues here, see [[VirtualBox#Troubleshooting|Troubleshooting]] section below: install --yum localinstall VirtualBox-3.2*
* Add yourself to the “vboxusers” group:
usermod -G vboxusers -a <yourusername>
* ''(OPTIONAL)'' This will bring up the VirtualBox GUI on the HDA Desktop. Run and enjoy!
VirtualBox
 
=== Update VirtualBox to Latest Version ===
To update VirtualBox to the latest version, you must stop the service:
* Become privileged ('''root''' user):
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]
yum localinstall RPM-Name
'''Option 2 (Repo):'''
yum update
* Restart service:
service vboxwebsrv start
 
=== [http://www.amahi.org/apps/phpvirtualbox phpVirtualBox] (Web-Based Access) ===
* It has been packaged for Amahi and is currently in ''ALPHA'' testing. You will find the manual install steps [[PhpVirtualBox|here]].
=== Portable VirtualBox for Windows XP/Vista/7 Host ===
* [http://coffeeonthekeyboard.com/how-to-install-virtualbox-guest-additions-in-fedora-12-332/ How to Install VirtualBox Guest Additions in Fedora 12] has additional info that might be helpful.
=== Web Front End ([http://www.amahi.org/apps/phpvirtualbox phpVirtualBox]) Troubleshooting ===* The application has been packaged for Amahi and is currently in ''ALPHA'' testingApplies to 32-bit machines ONLY.  ==== Manual Install ====* This requires '''''Advanced Settings''''' Having issues with install, check to be enabled on your HDA. This can be done via see if you have the '''''Settings''''' tab in the Amahi Dashboard.* From the Amahi '''''Applications tab''''', create a web app called '''phpvb'''. * Become root userPAE kernel: su uname -r* Download and extract the source file: cd /var/hda/web-apps/phpvb wget <nowiki>http://codeIf it returns something like ''2.google6.com/p/phpvirtualbox/downloads/detail?name=phpvirtualbox-031.5.zip&can=2&q=</nowiki> unzip phpvirtualbox-0.5127.zip mv phpvirtualbox-0fc12.5/* html chown -R apache:users html* Edit '''''/var/hda/web-apps/phpvb/html/configi686.php''''' and change the values below to your user name and password (must be the same user name as added to the ''vboxusers'' group durig VirtualBox install): var $username = 'ian'; var $password = PAE'pass';* (''OPTIONAL'') To enable automatic start on reboot, exit '''root''' user and edit crontab for your user (''whoami'' will display do the current user name)following: whoami crontab yum install -y kernel-eand add the following line. (to save, enter ''':''' followed by '''wq'''): @reboot /usr/bin/vboxwebsrv PAE-b devel-2.6.31.5-logfile /dev/null >/dev/null* Start the service:127.fc12.i686 /usretc/bininit.d/vboxwebsrv -b --logfile /dev/null >/dev/nullvboxdrv setup* That's it. You should now be able to access VirtualBox from your browser at <nowiki>http://phpvb</nowiki>. It will restart automatically on reboot as well.* Refer to [http://code.google.com/p/phpvirtualbox/wiki/Installation phpVirtualBox Installation] for additional guidanceVirtualBox 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