Posted by Derek@TheDailyLinux »
25 Comments »
Updated: Jun 25, 2009
This is a continuation of my Fedora 11 Beta on MacBook Aluminum 5,1 notes. I am going to gear this one more specifically on how to get Fedora 11 behaving on a MacBook Aluminum. Here we go…
[Read more →]
Posted by Derek@TheDailyLinux »
25 Comments »
Note: I have been unable to verify these steps. They should work just fine, but I’m a little concerned about the USB support fix. You may or may not want to try it at this point. I have it here just as a reference for now.
This is a tutorial on how to get VirtualBox up and running on Fedora 11. Also, this tutorial is for the 32-Bit version of VirtualBox, so you’ll have to customize a little more to get the 64-bit version running. Everything in the “code” sections should be copy/pasted/typed into the terminal. Right, let’s get to it:
PreStep.) Open the terminal and get into super user mode:
su -
1.) Get the latest VirtualBox package (as of now, 2.2.4) from the VirtualBox website for Fedora 11 and install it. The following command should download and install the application:
wget http://download.virtualbox.org/virtualbox/2.2.4/VirtualBox-2.2.4_47978_fedora11-1.i586.rpm && rpm -ivh VirtualBox-2.2.4_47978_fedora11-1.i586.rpm
2.) Get the kernel-devel and other needed packages:
yum install make automake autoconf gcc kernel-devel dkms
3.) Run the setup file for VirtualBox:
/etc/init.d/vboxdrv setup
4.) Add yourself to the “vboxusers” group and fix the SELinux Permissions:
usermod -G vboxusers -a username
chcon -t textrel_shlib_t /usr/lib/virtualbox/VirtualBox.so
5.) Run, and enjoy!
VirtualBox
6.) To Get USB Support:
1 – create a new group called “usb”;
2 – locate file usbfs: in my case is /sys/bus/usb/drivers (I suggest to find the file with a usb device inserted;
3 – modify file /etc/fstab inserting a line containing the right path and the number corresponding the “usb” group :
none /sys/bus/usb/drivers usbfs devgid=503,devmode=664 0 0
4 – command mount -a;
5 – start VB and try…;
Source: Fedora Forums
7.) To Properly Backup the VirtualBox Machine (.vdi):
Please refer to my other page here:
How To: Properly Backup a VirtualBox Machine (.VDI)
8.) To Get Sound Working:
Highlight your virtual machine and click on the “Settings” button. Click on the “Sound” category, and then check the “Enable Sound” option. In the drop-down box, select “PulseAudio”. You should now have sound.
That’s it! If you find yourself with problems, feel free to comment below or ask for assistance on the fedora forum thread that I have created located here.
Posted by Derek@TheDailyLinux »
Add Comment »
This is a command within LaTeX that I forget constantly and I always lose the resource from where I learned about it. So, I’m documenting it here so that I can find it later on when I need it. I also figured it might help somebody else out there looking for the same thing.
lstset{language=[ISO]C++,tabsize=3}
lstinputlisting{Lab6.cpp}
Basically, what this little code snippit does is import a source code file and inserts it into the final document. It’s a lot easier than copy/paste and it has a lot of formatting options associated with it. Just check out the lstset command manual or this guide here or this guide here (LaTeX wikibook). Be sure to include the listings package with this declaration before the main document: usepackage{listings}.