Turn your home into a virtual datacenter with Virtualbox.
Nov 24
You’ve heard us talk lots of times about Virtualbox. Our FAVORITE free (as in ‘Gratis’) cross platform virtualisation software. As we mentioned in the previous podcast episode about “Proxmox” (a more serious virtualisation tool) the machines in our home with their I5 and i7 processors and “Gigglebytes” of ram .. are mostly idling around in a corner when you’re not playing Call of Duty (and perhaps you even do THAT on the Xbox) So lets give those machines something to DO ! Running a ‘dedicated’ solution like dropbox might just be a little too much, but perhaps you have some cycles to spare on another system that is also being used as a desktop ? Why not try Virtualbox.
As an example : Currently I have dragged my I7, 16 gigabyte’s of ram Mac Mini downstairs and hooked it up to our tv. Since it carries most of our media it was a little silly to have it running in my upstairs office and having to stream everything back to the TV using a second (front end) box. So now the little bugger sits in our media cabinet with some 4 terrabyte of USB Harddisks hooked up to it. Having it just sit there running OSX and acting as a mediaserver or fileserver was a waste of power and cpu cycles. So with virtualbox I gave it something to do. I installed Virtualbox, hooked up a big external usb drive and started cooking some VM’s.
- Ubuntu 12.10 vm with LXDE : This is my ‘internal’ ubuntu desktop. I use it for running cronjobs, copy operations and scripts that are meant for internal use only. Its my ‘Secure box’. I’ve enabled the RDP server on it (a builtin function of Virtualbox) so I can cantrol the screen of the virtual machine from afar.
- Ubuntu 12.10 vm with LXDE : The second machine has a torrent client running as does the ‘dirty deeds’ that need to be done on the internet. Insecure surfing, downloading and remote access via SSH are its main goals. Once a week I ‘roll back’ the machine to its original (clean) post install state with the “snapshot” function of Virtualbox.
- Ubuntu 12.10 Server : The main task of this machine is running OWNCLOUD (also featured in one of our podcasts) as my personal cloud storage.
- Nas4Free : With a 1800 gigabyte virtual disk, this VIRTUAL machine acts as my main file storage system. So instead of putting my files on a disk and sharing them out via the file-sharing options on my (host) OSX system, I made a virtual machine of a linux application geared towards storage and filesharing … and put all of my files INSIDE a virtual machine. Performance is very good so far and the added perks to running Nas4free are going to be a topic for next weeks podcast.
In the end, controlling these virtual machines is a little messy sometimes. I mean you can’t just interrupt @Niejana when she is watching “Blood and Chrome” to say : Sorry about that, I need to mess with something on my Virtualbox and for that I need to use the TV ? You need ‘remote’ ways to manage that virtual machine situation.
- Controlling the Virtual Machines. Remote controlling the virtual machines is easy. You can use the built in RDP server in Virtualbox to use an RDP client (on any operating system) to open up the remote machine. If you also want to access them from the outside, try installing Teamviewer on the Virtual Machine. If you are using a Linux operating system as your virtual machine you can enable the SSH Server and go in via the terminal.
- Controlling Virtualbox. Unbeknown to many, virtualbox has a powerful set of terminal commands you can use. With a simple terminal window to my Mac (SSH) I can use the ‘VboxManage’ commands to do just about anything. Make a new virtual machine, clone a drive, resize a drive. Everything runs in the background and its a very very powerful tool. You can find the entire list of Virtualbox commands HERE.
- Controlling Virtualbox with a web interface. Virtualbox also has a web interface that helps you control your virtualmachines. In a point and click way you can start and stop VM’s and do anything you can do on the ‘regular’ desktop window. Installing it might be a little chore (depending on the host operating system you use) but the results are pretty spiffy. Find the howto HERE.
And with those little tips you know can turn that headless box OR that powerful machine upstairs that is always on, but sometimes used by your kids for gaming… into your own personal datacenter. Don’t have the spare beige box for Proxmox ? Just have a desktop and want to get it to do some cool things ‘under the hood’. Want your own invisible datacenter ? Here you go ! Download Virtualbox NOW.
Related Posts
The Knightcast Episode 33 : Virtualisation.
Jul 08|
The Knightcast Episode 33 : Virtualisation
Direct link to the show : http://www.knightwise.com/podcasts/kc7706.mp3
Summary.
In episode 32 we talk about my upcoming wedding, but most importantly look at the power of virtual machines. Learn how to tune tech into your way of life and 'virtualise' your entire computerlab to just one machine. By using free software you can now run XP in Linux, Linux in XP, XP in MacOS and more.
Shownotes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Make sure you enable multiverse — that's where the non-free stuff goes. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For more information : Visit www.knightwise.com.
|
{mos_sb_discuss:5}
Related Posts
Its not what you add .. its what you leave out . Practical pointers in simplicty.
Jun 26Does your office look like a Borg hive ?
One of the biggest challenges in the daily life of a cyber-citizen must be .. Simplicity. Simplicity in using technology , simplicity in integrating technology , simplicity in hardware and software .. and most importantly : Simplicity in thought.
Just think of the classic example. Somewhere along the way it happened. Your ever so tidy laptop bag seams to have been impregnated by the lords of chaos them selves. What started out as a slim shiny Dell laptop-bag has now become an atrocity. Like a grotesque pregnant elephant its innards have now swollen up with meters of cables , extra floppy drives, cd’s, extension cords , paper, books and so forth. As you watch the heaving husk that , due to being terribly overweight, drags your left shoulder to the ground and makes you look like Quasimodo, you think .. Where did it all start ?
But when you look at the mess that is your office , you see a reoccurring pattern, Your office, once setup with the help of your girlfriend to be a place of fen shue , now has the characteristics of a Borg cube after a high speed collision with a scrap barge. Cables , monitors, paper , books, post it notes.. keyboards overlapping keyboards, mouse-cables in suffocating deadlocks, flashing hubs and switches.. and loads of empty coffee-cups.
The big drawback of being on the edge of real an cyberspace is that you learn a lot of new things everyday. There is so much to see, to find out, to try , to test, to use .. Everyday something comes along that takes your fancy and you add it to the list .. stick it in your bag , add it to your start menu. And pretty soon you have an immense collection of tools and toys that by no means contribute to your effectivity.
Techno-Reset.
What i regularly do is a ‘technological reset” where I look at all the things I have and think about ways to work more effective. For example : My 4 old test computers that served as my loyal test-battery (and drove my fiancé AND our electrical bill up the walls) have now been replaced by 4 virtual machines running on one computer, My entire collection of Windows versions have been scaled down to fit on one single dvd. My overweight software collection bag has been reduced to one portable USB hard drive and so on. Its very important to find the balance between keeping up with what is new , and being overwhelmed by hardware, software, information and more. The challenge is to analise what you have , and try to distill it into a workable simple concept. This means letting some things go , or combining tools, hardware or work-methods, but this is the only way to let technology work for you .. instead of the other way around. Take for example my current podcasting setup. It started out with one computer and a microphone , but due to the demands of my podcast, has grown into : A microphone stand , A microphone, A pop screen , headphones, a Mixer , My Macbook for show-notes and skype conversations , a second computer to play music or background tracks (using a USB DJ console) and finally a Linux system to record everything on. I must say its very versatile BUT also very complex. I am momentarily contemplating how to simplify the whole project. This will not only get me a cleaner office , it must also give me a cleaner way to do my thing : thus simplifying technology. The “how to record skype conversation” issue has been solved as I found this little gem for my macbook and as a replacement (or quite probably an “addition” to my studio setup I was looking at the Samson C01u microphone with a table stand . Together with my Macbook it will give me a portable high quality studio, that can be put away at a moments notice. Using Garageband and open source software like Audacity this wil greatly simplify my podcast production.
So you see my friends, Living with technology is not about what you add .. but what you leave out in order to be as effective as possible. This will help you in working faster, thinking clearer, have more time to think and respond to creative challenges. Downloading tool after tool , installing pc after pc is easy , its looking THROUGH the technology in order to see how you can destil it, simplify it .. and tune it into your way of life.
Related Posts
Virtual insanity : Xp in Linux or Linux in XP.
Jun 21A whole new deal.
Very soon we will see a culture shift, A change how people interact on the computer scene. My prophecy is nothing less then the end of the almost reli
gious ‘ OS- Wars ‘. From newbie to web-lord, we have all played the paralympic game of ‘ what’s the better OS’ Wether in forums, in chatrooms, in endless slashdot threads or even in the comfort of our own pub : We’ve all been there. Wether Xp is better then 2000, Why Mac Os is better then Windows , and we’ll never forget the face of our local Linux Guru foaming at the mouth after he had to endure your proclamation that Windows ME was the best operating system ever written. ( And he never spoke to you again. ) But very soon the question “What’s your operating system” will be replaced by “ What’s your Primary Os ?”. Any computer with a processor speed over 1.5 gigahertz is quite frankly a waste of money. You don’t see a specific speed increase when you buy a 3 gigahertz or more . Ok , Windows will boot faster , but that does not mean YOU can work any faster. I mean , the processor is not the bottleneck of the system. The question is : What to do with all this extra operating system power … More eye-candy ? Perhaps Vista will be more then happy to gobble up a few million cycles just for Balmers personal pleasure. OR .. we can make the cycles pay off by jumping on the virtualisation train.
All aboard ?
What do you do when you have one OS running , but your computer can carry twice the load ? Well , lets install ANOTHER operating system. I’m not talking Dual Booting here, I’m talking Virtualisation. Running a second Os , INSIDE the first one. The “Base OS” is the main operating system you are running, The “ Guest OS is a virtual version of an operating system neatly compressed into one file.

Why ?
I know what you are saying. But why “ma cher Knightwise” would i do this ? Here is why.
- Perfect testing : The virtual machine you installed is just ONE FILE. After you install it , make a backup and start fumbling around. Messed up the Guest OS ? Just drag your copy back and you are good to go. You can easily install all kinds of operating systems without having to worry about partitioning.- Space and energy saver : Who said you had to stop with running just one Guest OS . Instead of bricking up your bedroom with countless pc towers you can now have them running as virtual machines on one machine. Needless to say you save money by just owning one pc, you save power cause you only have one power supply to feed and save valuable bedroom time with your space because she doesn’t have to be mad at you all the time for junking up the house with your old ‘test machines”.
- Switchers trouble : I have seen people by a PC or a Mac just for that one task. I’ve seen people buy an extra pc for their on-line banking. I’ve seen switchers go back because they could not get a certain application working on a certain platform. Well, There is an end to switchers trouble and you have all walked through the gates of Sliders heaven (Sliders = cross platform users). Personally I wanted to switch my main machine to linux because I could not get MSN messenger running webcam sessions. (Microsoft does not want to clear the code ) So .. I installed Ubuntu, ran Windows XP as a virtual machine and did the impossible, ran the two Os’es at once and did my Webcam stuff without any trouble. I run Xp on my mac for consulting purposes (when i need to get into a Windows network) and I run Ubuntu in my Xp for testing everything out before I make changes to my ubuntu server.
- Servers dream : The crappy thing about running multiple servers at home is the fact that they eat power. Now you can run several ‘virtual’ servers on the same machine and just have one power supply to feed.
And how do i Do that ?
Before we start : Be sure you have enough memory in your Base Operating system. Each guest operating system requires a chunk of ram. The bigger the chunk, the better the speed. Also see that you have enough storagespace. Not only so the Guest OS can grow to its full potential (About 4 gig”s will do) you also want to make backup copy’s of every clean installed os that you have. Wether you want to run Linux in Xp or Xp in Linux , you need the free vmware player . This is a free application that lets you use pre-built images of virtual machines. So you cant ‘build’ your own virtual machine , just use one that has been pre-built. Now this ‘building’ of a virtual machine tells the virtual machine how to act. Luckily I found THIS site where you can download FREE virtual machine configuration files for just about any operating system you wish. All you need are the installation cd’s of that OS and you are on your way. I’ll be playing with virtual machine more as the week progresses and keep you posted on the results. Meanwhile my “ Piece de resistance “ is a screenshot of an msn webcam session in Windows XP , running as a virtual machine on my Ubuntu (base) workstation. Sliders .. the end of our troubles is in side and we are virtually saved.








recent comments