Private

There are a handful of desktop virtualization products which work on Linux such as VMware, Virtual Box UML and so on. However KVM is a upcoming star in this busy market place. KVM (kernel virtual machine) is a upstream supported virtualization product. Redhat and Canonical are both betting hard on this technology with it becoming standard in RHEL6 and its already the power house behind Ubuntu Enterprise Cloud. If your looking to use desktop virtualization rather than server virtualization its very easy. In this simple tutorial I’ll show you how to get up and running with a NAT’d connection that will provide your guest access to the internet via the use of a local (on your PC) network. Later on this blog I’ll cover more advanced topics such as a bridged networks, which will allow the virtual machine to appear as if its a real machine on the network.

Prerequisite’s:

First lets see if your machine can use KVM technology by checking if your processor supports the hardware acceleration required, from a terminal run these commands:

egrep -c ‘(vmx|svm)’ /proc/cpuinfo

This will return a numeric value. Anything above 0 is good. If you see a zero then I’d recommend using something like Virtualbox which will run a little slower as your processor doesn’t support virtualization. Newer processors should be fine and they provide an abstraction layer that allows the guest virtual machine to interact directly with the hardware, thus you get a speed boost!

NOTE: You may need to go into BIOS and enable virtualization (This is vendor specific and will boost the speed of all the virtualization on your machine).

If you want to give more than 2GB of RAM to your VM’s you need to be on a 64bit computer. You can check this from the terminal by running:

egrep -c ‘lm’ /proc/cpuinfo

0 means your on a 32bit machine 1 means 64bit and your good to go.

Installation:

Now you’re ready to install. From the terminal run:

sudo apt-get install qemu-kvm libvirtd-bin virt-viewer

Thats It you should be done. If you want to check that the KVM module is loaded from the terminal run:

lsmod | grep kvm

If you don’t get any output simply run:

sudo modprobe kvm

You also need to to make sure libvirtd is enabled and running.

sudo gedeit /etc/default/libvirt-bin

Make sure you have this line (you may have to edit it) start_libvirtd=”yes”

Now start libvirtd

sudo service libvirt-bin start

Now back to the gui go to Applications -> System Tools and click Virtual Machine Manager, your almost ready to create your first machine. Now just click File -> Add Connection and accept the defaults from the pop up window like the image below:

Now if you click the icon in the top left hand corner of virt-viewer you will be greeted with a wizard to build your first virtual machine. I selected install from ISO for this but you could equally use any of the other options, if you have the correct things in place to do so.

Now point the Use ISO image box to the location of the ISO you wish to use. I also set the OS type and Version although this isn’t necessary.

Now you have the option to set the RAM you wish to dedicate to the machine and number of virtual CPU’s. The max number of VCPU’s is dictated by the output from the egrep -c ‘(vmx|svm)’ /proc/cpuinfo command you ran before, which shows you how many of your core’s support the virtualization extensions.

The next stage asks you to set the size of the virtual hard disk for your new machine, I went for the standard 8GB as this is just a test server instance.

The next screen provides a summery of your options and allows you to pick virtual networking adaptor. As we haven’t set up any bridging yet leave this as the default.

Once you click finish your machine should start running. If you click on the VNC window that’s now popped up and your Keyboard and Mouse become locked to that screen press CTRL+ALT and you’ll return to your desktop.

by-nc
, ,

About

You’re all probably well aware of OpenOffice and great things its done to offer a decent free alternative to MS Office, however recently there has been some changes within the community. Developer support has been dwindling and some members feel that Oracle’s new leadership of the project after its acquisition of Sun isn’t good for the future of OpenOffice. This is why LibreOffice has been created. A few of the key developers have forked the project, taking the current code base of OpenOffice and working independently on the product. Personally I’m not a fan of when projects fork and normally favour the communities working out the problems and moving forward together for the good of the project. However, particularly when corporations get involved a fork is the only way forward.

LibreOffice is run by “The Document Foundation” who are hoping to make some big changes to the open source office suite and to keep track of the latest common document formats to ensure compatibility. They will also hopefully start to innovate and bring in some new features which have always been sadly lacking from the OpenOffice versions who’s main aim was to be just like MS Office. I’d love to see new features that set standards and make working easier, something that may even get copied by the big players one day.

The rumour mill says that the next versions of Ubuntu (11.04+) will have LibreOffice installed as standard, but for now if you wish to install LibreOffice in 10.04 or 10.10 I’ve created a little HOWTO for you, I hope it helps.

HOWTO Install libreOffice in Ubuntu 10.10

Download LibreOffice from the link below (note this is different link to the front page which is RPM’s only).  Download LO_xxxxxxx_Linux_x86-install-deb…… for 32bit and if your on a 64bit machine choose LO _xxxxxxx_Linux_x86-64-install-deb…..
Open a terminal and extract the file to ~/Downloads:
cd Downloads
tar xvfz LO_3.3.0-beta1_Linux_x86-64_install-deb_en-US.tar.gz
Now install the debs:
cd en-US
sudo dpkg -i DEBS/*.deb
And install desktop menu’s:
sudo dpkg -i DEBS/desktop-integration/libreoffice3.3-debian-menus_3.3-9526_all.deb
You should now have libreOffice installed under the Applications -> Office menu.
Optional:
You can run libreOffice along side OpenOffice however if you want to save space or go for libreOffice only you can remove OpenOffice like so:
sudo apt-get remove openoffice*.*
by-nc
, ,

You may remember a while back I reviewed UbuntuOne, Canonical’s cloud based storage offering which is not unlike Dropbox, at the time I preferred Dropbox, due to pricing and features. A few days before the official launch of Maverick MeerKat, Canonical have stepped up their game plan. By default you get “UbuntuOne Basic” which every user can have for free entitling you to 2GB of on line storage space. However we now also see storage packs of 20GB for just $2.99 a month which means that you have a more flexible pricing scheme than Dropbox, something that the old UbuntuOne didn’t compete very well on. Dropbox offer 50GB for $10 a month, where for $8.97 you get 60GB with UbuntuOne. I personally don’t yet require 50GB on line storage and would begrudge paying $10 for something I don’t fully use, for this reason I think Canonical may of hit a sweet spot in the market. The sync daemon also seems to have improved dramatically with Ubuntu 10.10 and I haven’t had nearly as many problems as before with previous versions. It now seems to have that magic “It just works” status.

Another great advance making users life’s a little easier is the introduction of the windows client (currently in beta). This is in my opinion a great idea allowing users to seamlessly move between the two OS’s and helps with converting from one platform to another. Now all we need to see is a OSX client please guys.

The continued integration of the Ubuntu Music store (powered by 7digital) is also a nice feature, automatically transferring your purchased music to your cloud based storage. We can now start to see the planing behind this with the upcoming streaming service “UbuntuOne Mobile”, which will stream your music to your mobile phone. Android, iPhone and BlackBerry are going to be supported, which is a win for freedom of choice in my opinion! The streaming service will cost an extra $3.99 per month, something that may need to be reduced if they want to see large scale adoption. I understand they have to pay for bandwidth but this isn’t spotify you can only play the music you upload yourself, I think it will leave lots of users thinking why not just get a phone with more storage? If they were to offer a $5 bundle of 20GB and streaming I may consider this, and think most users would like to see some deals like this. Having said this there are other advantages to “UbuntuOne Mobile” including contact syncing, which is nice but there are already some big players in this market like Google with gmail or Google Apps both allowing the sync of contacts and calendars, It at the moment isn’t special enough to get me to part with an extra $3.99 a month.

The website Dashboard is also looking very smooth and polished and has received some TLC the same way the Ubuntu website has. The future of “UbuntuOne” is looking more and more exciting and I’m hoping to see more initiative features introduced soon. I know what I’d like to see and I’m sure other users have ideas also so lets hope Canonical open a suggestions section.

As a quick round up UbuntuOne is now a real contender in the on line storage/cloud storage market. Well work another look!

by-nc
,
Private
You are protected by wp-dephorm: