Appliance installation tutorial with VirtualBox
One of the fastest and easiest ways to get up and running with a TurnKey Linux appliance is to install it into a VirtualBox Virtual Machine.
The following tutorial provides a step by step walkthrough intended to illustrate to virtualization newbies just how easy it is to setup a TurnKey Linux appliance.
Once you are familiar with the basics, deploying an appliance takes just a couple of minutes, and the result is a turn-key virtual server that is perfect for development and production use.
For exemplary purposes, we use the TurnKey Joomla Appliance, but the process for installing any TurnKey Linux appliance is the same.
New: Appliance installation and usage demo. Best viewed full-screen.
Install VirtualBox
If you haven't done so already, download and install VirtualBox, a free software virtualization program available for Windows, Mac OS X and Linux. It's preferable to use a recent version (2.1+), because networking is easier to setup.
Choose a build format
Appliances are now available in two build formats:
- VM image: a ready-to-run VMDK hard disk image with OVF support. Includes a virtualization optimized kernel and VMWare tools.
This is the fastest way to get up and running. The main disadvantage is that you won't go through the Live CD installer, so if security is a requirement you'll have to change the default passwords (e.g., root password, MySQL password) yourself.
- ISO image: an installable Live CD which can be installed in a few minutes almost anywhere: on bare metal and most types of virtual machine.
Option #1: Import VM image
Today, the fastest way to get up and running with VirtualBox is to deploy the VM image using the Appliance Import Wizard:
- unzip the VM image
- Click File on the menu bar, then select Import Appliance
- Click the Choose button, navigate to the directory where you extracted the VM image and select the OVF file.
That's it! After VirtualBox is finished importing the VM image, you will be able to boot your virtual appliance for the first time. Depending on your usage scenario, you may want to tweak the network settings a bit.
Option #2: Install the ISO image
Create a new Virtual Machine
Start VirtualBox and click the New button from the menu. This starts a VM (Virtual Machine) creation wizard.
Give your new VM a name (e.g., TurnKey Joomla) and select Linux Ubuntu as your operating system.

Follow through the VM wizard to completion, allocating at least 256MB RAM for the VM and creating a new Virtual Disk for it with the Virtual Disk Wizard. Just accept the defaults and a few clicks on Next and you're done.

After exiting from the VM creation wizard, you'll see your new VM in the machine list on the main screen.

Configuring the Virtual Machine
Next you'll need to tweak a few configuration settings for the new VM (e.g., Network, CD image, Boot order). Click the Settings button to start.
Configure boot order
In the General section, click on the Advanced tab and change the boot order so that Hard Disk is before CD/DVD-ROM drive. This way after we install the appliance from the appliance CD image it will boot straight from the virtual Hard Disk.

Note for users with AMD CPUs: if you have an AMD Phenom or Barcelona-level Opteron CPU enable IO APIC here to work around a Linux kernel bug.
Configure network
In the Network section, attach your VM to Host Interface (in the latest versions of VirtualBox this is called a Bridged Adapter). This bridges your VM to the local network your host machine is connected to. If you have multiple network interface cards on the host, select which of them you want your VM to attach to. If unsure, experiment. You can always change this later.

Configure CDROM boot media
TurnKey appliances are packaged as an installable Live CD image (a bootable ISO).
In the CD/DVD-ROM section, check Mount CD/DVD Drive and the select ISO Image File. Clicking on the right-side folder icon starts the Virtual Media Manager, which allows you to select the TurnKey Joomla ISO image you previously downloaded.

Installation
Back in the VirtualBox main menu, select the TurnKey Joomla Virtual Machine and click on the "Start" button.
Once the VM starts, you will see the boot loader menu. Select the "Install to hard disk" option with the keyboard and press Enter.

This boots TurnKey Joomla straight into the appliance's installer. Select the default "Guided" partitioning method, which figures out how to partition the virtual hard disk automatically.

Confirm the re-partitioning of the virtual hard disk.

The installer will now quickly install the appliance to the virtual hard disk. Usually this takes about a minute. After the appliance is installed you'll be asked to set the passwords for the system and MySQL root accounts. When installation is complete, restart the appliance.

The system will now reboot from the virtual Hard Disk. When it's finished booting you'll see the Configuration Console's Usage screen.

You can now use a browser to log into your newly installed TurnKey Joomla appliance. Enjoy!

Comments
user name and password?
I installed this on a KVM VM and took me less than 5 mins. Now the big question is that what's the username and password for the appliance site? I used admin/admin, no luck.
Default Credentials
depending on the aapliance they should have a place where it says default credentials or logins for example joomla on the appliance page towards the center of the page it says Default Credentials and gives you the login for joomla, mysql, etc... Hope this helps
appliance passwd
It worked for me on root & 'nopassword' ie blank
Can VirtualBox and TurnKey run from a USB Flashdrive?
Hello! Newbie question.
Can VirtualBox and TurnKey be installed on a USB Flashdrive?
I've searched for the correct answer for a while now and I always find them contradictory.
Thank you!
Newbie to CMS-Linux-Ubuntu-VirtualBox.
"Anyone who has never made a mistake has never tried anything new."- Albert Einstein
Your could store the data (ie VM HDD, config etc) on USB
But I don't think the VirtualBox software itself. So the machine could be portable, but only on machines VirtualBox was installed on. Although I don't know for sure.
Best way to find out is spend a bit of time reading up and do some testing.
I Have Spent Plenty of Time Reading on the Subject....
...like I said, what I have come across, it contradicts each other that I do not know what to believe anymore.
I have downloaded the latest version to an 8GB.
This is what I have found on my desktop:
C:\Documents and Settings\My File\.VirtualBox
and in \.VirtualBox I have 2 Folders (along with Files VirtualBox.xml and VirtualBox.xml-prev):
Unfortunately, I do not have an extra PC lying around to test its portability.
Since I don't fully understand how virtual appliances work, do you know of any books for beginners and that are current?
Thank you for any responses.
Update: Just found a newer and up to date book on virtual appliances since my last search about a month ago
. I don't know if it's beginner friendly though. Also like to read tech books that are published with in the last year.
Newbie to CMS-Linux-Ubuntu-VirtualBox.
"Anyone who has never made a mistake has never tried anything new."- Albert Einstein
My process...
My process goes something like this: reading, testing, reading, playing, breaking, reading, deleteing, starting again. Its probably not the most efficient method but it works for me and if you can get it to work then you know it works!
The VirtualBox forums are probably a good place to post with questions directly relevant to VirtualBox. But son't be scared to share your info here in the General forumif you think it'd be relevant to other TKL users - that's what community is all about. Also for your Linux questions there are a number of good forums but honestly I find Google probably the best tool for finding info about Linux.
The machines themselves are definately portable (ie the VM images) but I would have doubted that the VirtualBox software itself would be. That was until I did a Google search for "virtualbox portable". The first result say that yes indeed it is possible and includes a link to the second result which has downloads of Portable-VirtualBox!
Have fun!
multi joomlas in turnkey joomla
to work on multiple joomla projects can I install several sites or is it one VR Appliance per joomla build. If I can do more than one in a single appliance how may I do this.
also how or where do I get into the virutal drive to drop files:
I'm not sure about multiple sites with a single Joomla
But its easy enough to have multiple VMs running under a single VirtualBox install.
As for getting files in & out I'd recommend an FTP client such as Filezilla - you can connect to your (running) VM using the IP address (select SFTP and you'll also need the username and password).
Latest version of VirtualBox
Automatically assigns the attached hdd's as SATA, make sure you add the HDD's as IDE otherwise you won't be able to boot the device.
re: latest version of VirtualBox
Could you describe how / where this is done?
No CD ROM
I'm trying to complete a turnkey installation on an Acer Revo box that has no CD ROM. How do I mount the image when there is nowhere to specify a CD image to mount?
Thanks,
Figured it out
I had to add another IDE controller then assign it as a CD and attach the ISO image that way.
Use UNetbootin to extract iso
Use UNetbootin to extract iso to your USB drive ;)
/Greetz
Stuck on running from harddisk
Get 1 http://archive.ubuntu..com hardy-security ........
what to do next I am running virtual box from window XP all settings were updated