Author: Ryan

Comments are done in BASH and most other shells by placing a ‘#’ mark at the beginning of a line. To create a multi-line comment, or to comment out an entire block of code, you can use the following HERE DOCUMENT feature. :

Read More

Having a clone of a particular VM is helpful whether you want to keep a backup vanilla image to use in the future, or create a cluster of identical machines that can run in parallel. This process is not well documented and can be slightly tricky. Hopefully this guide will help many of you through the process. First off make sure your Guest virtual machine is shut down and not running or suspended and then run: $ VBoxManage clonevdi source.vdi target.vdi This may take a few minutes depending on the size of your VM Oracle VM VirtualBox Command Line Management…

Read More

It is often necessary to have the ability to SSH between your Linux Host and your Guest virtual machines. In VirtualBox you can do this by simply configuring a second network interface on the Guest. This type of setup will not only allow SSH sessions between Host and Guest, but also between separate Guests themselves. First off shutdown your Guest VM so that you can add a second network interface. By default you should have one interface already which is using NAT. Leave this alone as it provides access to the internet. Select the tab “Adapter 2″ and change “attached…

Read More

Changing the hostname on a RHEL box is fairly straightforward if you perform the following steps. First change the HOSTNAME line in /etc/sysconfig/network Then change the hostname in /etc/hosts From here you can either reboot for the changes to take effect or do the following two steps. Force the system to start using the hostname. $ sudo /bin/hostname new_hostname Get syslog to use the new hostname. $ sudo /sbin/service syslog restart

Read More

In many cases it can be helpful to access text from within a PDF file but accomplishing this can be next to impossible. Luckily in Linux there is a command line program called pdftotext which is included with the xpdf package. This first step is making sure that the xpdf package is installed. In Ubuntu you can use the following command. $ sudo apt-get install xpdf Now you can convert a PDF to text with pdftotext. This code will output a file named &#60filename&#62.txt $ pdftotext &#60filename&#62.pdf You can also attempt to preserve some of the formatting within the PDF…

Read More

VirtualBox makes it easy to share folders between the host OS and various guest virtual machines, but it can be difficult to remember the exact way to go about mounting the shared folder within a guest VM. Here is the way to do it correctly. First off make sure you have installed VirtualBox guest additions. Switch to root or use sudo. $ su – Create the directory and mount the shared folder to the mount point of your choice. Use the shared name you assigned to it when you originally created the shared folder, in this case it is “virtualbox_share”.…

Read More

Installing the VirtualBox Guest Additions is fairly straightforward process but with Fedora 12 you will run into some problems. Here is the error message you will see when attempting to install Guest Additions. # /media/VBOXADDITIONS_3.1.6_59338/VBoxLinuxAdditions-amd64.run Verifying archive integrity… All good. Uncompressing VirtualBox 3.1.6 Guest Additions for Linux…….. VirtualBox Guest Additions installer Removing installed version of VirtualBox Guest Additions… Building the VirtualBox Guest Additions kernel modules [FAILED] (Your system does not seem to be set up to build kernel modules. Look at /var/log/vboxadd-install.log to find out what went wrong) Installing the Window System drivers Installing experimental X.Org Server 1.7 modules […

Read More

Whether you work with the GIMP to create graphical content, OpenOffice to write documents, or anything in between, chances are that you will need to supplement the basic installed fonts on your Ubuntu system. There are a couple ways to go about this. If you don’t alrady have a font to install you can use Synatcic or apt to search for and install one. Open System -> Administration -> Synaptic Package Manager and do a search for ttf. This is the TrueType file extension but it can also be used for other types such as FreeType. This should net you…

Read More

For a long while going back to Ubuntu 9.04, 9.10, and even the latest 10.4 lucid, there has been a nagging issue with the Adobe Flash player being unresponsive to mouse clicks. This bug stops you from interacting with Flash buttons or controls for example those in video players or games which is obviously very frustrating. Being such a high profile issue which affects many users it’s amazing that it has taken this long come up with a fix. Here is the official bug on launchpad which concerns the flashplugin-nonfree package and mentions a couple workarounds. https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/410407 So here is…

Read More

Welcome to the new version of WiredRevlution! A lot of time has been devoted to the development and fine tuning of this new design. The most obvious change is the new look and feel of the site which should be a big improvement over the old design. Aside from the cosmetic changes there are some new features as well. Among these additions are nested and paged comments which should enable better conversations. There is also a new news feed which has the latest on all things Linux. Finally we have added a new contact form. Navigation has been improved and…

Read More