TurnKey Linux is an Ubuntu-based virtual appliance library that integrates some of the best open-source software into ready-to-use solutions.
Each virtual appliance is optimised for ease of use and can be deployed in just a few minutes on bare metal, a virtual machine and in the cloud.
The growing list of virtual appliances, each of which is available as a CD image or virtual machine image, include Bugzilla, Django, Drupal, File Server, Joomla, LAMP, Magento, Mantis, MediaWiki, MoinMoin, Moodle, MovableType, MySQL, Openbravo, phpBB, PostgreSQL, ProjectPier, Rails, Revision Control, StatusNet, Apache Tomcat, Torrent Server, Trac, TWiki, vtiger, WordPress, Zimra and others.
Appliance installation tutorial with VirtualBox
Installing to a VirtualBox VM (Virtual Machine) is one of the fastest and easiest ways to get up and running with TurnKey Linux. The open source edition of VirtualBox can be downloaded for free from the VirtualBox website.
As the following step by step tutorial shows, once you are familiar with the basics, deploying an appliance takes just a few minutes. The installation process is the same for all appliances. We'll be installing TurnKey Joomla as an example.
VirtualBox vs VMWare (and others)
VirtualBox is the most popular open source alternative to VMWare's proprietary virtualization products. VMWare is not open source but some of its products are also available for free download (e.g., VMWare Player and VMWare Server).
TurnKey Linux is designed to work well with both VMWare and VirtualBox (and other platforms). This tutorial focuses on VirtualBox, but the principles are the same regardless of what virtualization software you use.
Installation and basic usage video.
Note: The following video shows installation of an older version of TurnKey Linux. The basics are the same but a few things have changed. For example, TurnKey is now available in a ready-to-run VM optimized build (in addition to the ISO). Also in TurnKey Linux 11 passwords are set on first boot and not during installation.
First, 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.X and up).
Second, choose a build type and download the image.
Appliances are available in multiple build types which work well with VirtualBox:
After the download, follow the instructions in the appropriate third step below.
Third, deploy a VM optimized image (#1 alternative)..
Create new VM
Exactly how you setup a VM image depends on whether you've downloaded the default VM build or the OVF version. Both work equally well with VirtualBox.
Using the default VM optimized build...
Third, install the generic ISO image (#2 alternative).
Note: The following screenshots are for older versions of VirtualBox and TurnKey Linux. Some of the details have changed, though the essentials are the same.
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.
Note for users with AMD CPUs: if you have an AMD Phenom or Barcelona-level Opteron CPU you may need to enable IO APIC here to work around a Linux kernel bug.
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.
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. If unsure, just confirm the defaults.
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. When installation is complete, restart the appliance.
The system will now reboot from the virtual Hard Disk.
The first time the system boots, you'll be taken to various configuration screens (e.g., set passwords, install latest security updates). After that the first boot will finish and you'll reach the Configuration Console's Usage screen.
Updates (via Distrowatch):
Screenshots.
Each virtual appliance is optimised for ease of use and can be deployed in just a few minutes on bare metal, a virtual machine and in the cloud.
The growing list of virtual appliances, each of which is available as a CD image or virtual machine image, include Bugzilla, Django, Drupal, File Server, Joomla, LAMP, Magento, Mantis, MediaWiki, MoinMoin, Moodle, MovableType, MySQL, Openbravo, phpBB, PostgreSQL, ProjectPier, Rails, Revision Control, StatusNet, Apache Tomcat, Torrent Server, Trac, TWiki, vtiger, WordPress, Zimra and others.
Appliance installation tutorial with VirtualBox
Installing to a VirtualBox VM (Virtual Machine) is one of the fastest and easiest ways to get up and running with TurnKey Linux. The open source edition of VirtualBox can be downloaded for free from the VirtualBox website.
As the following step by step tutorial shows, once you are familiar with the basics, deploying an appliance takes just a few minutes. The installation process is the same for all appliances. We'll be installing TurnKey Joomla as an example.
VirtualBox vs VMWare (and others)
VirtualBox is the most popular open source alternative to VMWare's proprietary virtualization products. VMWare is not open source but some of its products are also available for free download (e.g., VMWare Player and VMWare Server).
TurnKey Linux is designed to work well with both VMWare and VirtualBox (and other platforms). This tutorial focuses on VirtualBox, but the principles are the same regardless of what virtualization software you use.
Installation and basic usage video.
Note: The following video shows installation of an older version of TurnKey Linux. The basics are the same but a few things have changed. For example, TurnKey is now available in a ready-to-run VM optimized build (in addition to the ISO). Also in TurnKey Linux 11 passwords are set on first boot and not during installation.
First, 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.X and up).
Second, choose a build type and download the image.
Appliances are available in multiple build types which work well with VirtualBox:
- VM optimized images
- Default build: it's a ZIP file containing a ready-to-run VMDK hard disk image which includes a virtualization optimized kernel and VMWare tools.
- OVF build: it's a ZIP file containing the default VM build converted to OVF format, which is easier to work with sometimes (e.g., high-end VMWare products).
- Generic ISO image: Live CD image that can be installed anywhere, including bare metal and most types of virtual machine.
After the download, follow the instructions in the appropriate third step below.
Third, deploy a VM optimized image (#1 alternative)..
Create new VM
Exactly how you setup a VM image depends on whether you've downloaded the default VM build or the OVF version. Both work equally well with VirtualBox.
Using the default VM optimized build...
- Unzip the default VM build
- In VirtualBox, launch the VM creation wizard by clicking the New button:
- OS Type: Select Linux / Ubuntu as your operating system
- Memory: Give the new VM at least 256 MB of RAM.
- Virtual Hard Disk: Select "use an existing hard disk", navigate to the directory where you extraced the ZIP, and select the VMDK hard disk image.
- Unzip the OVF build
- In VirtualBox, click File on the menu bar and select Import Appliance, then navigate to the directory where you extracted the ZIP and select the OVF file.
- Wait for VirtualBox to finish importing the OVF.
Basic VM configuration
After you've created the new VM, you'll need to tweak its configuration:- Settings > General > Advanced > Enable PAE/NX
- PAE: This is required as the linux-virtual kernel in the VM optimized images uses PAE to allow addressing of more than 4GB of memory.
- NX: refers to the CPU feature required by VirtualBox to support PAE. All new CPUs support NX but some older ones may not.
- Troubleshooting: On old hardware if the VM refuses to boot, you may need to install from ISO instead.
- Settings > Network > Adapter 1 > Attach to: bridged
Bridging your VM connects it to the local network your host machine is on.
Third, install the generic ISO image (#2 alternative).
Note: The following screenshots are for older versions of VirtualBox and TurnKey Linux. Some of the details have changed, though the essentials are the same.
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 you may need to enable IO APIC here to work around a Linux kernel bug.
Configure network
In the Network section, attach your VM to a Bridged Adapter (in older VirtualBox versions this is called Host Interface). 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. If unsure, just confirm the defaults.
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. When installation is complete, restart the appliance.
The system will now reboot from the virtual Hard Disk.
The first time the system boots, you'll be taken to various configuration screens (e.g., set passwords, install latest security updates). After that the first boot will finish and you'll reach the Configuration Console's Usage screen.
Updates (via Distrowatch):
Liraz Siri has announced the release of TurnKey Linux 11.1, an Ubuntu-based set of highly specialised virtual appliances available as installation CD images or virtual images: "Part 1 of the TurnKey Linux 11 release is now officially out, including 45 new images based on Ubuntu 10.04.1. Part 1 mostly refreshes the existing roster of appliances in the library. In the upcoming part 2 we'll release the new appliances the community has been helping us develop over the last year. This will roughly double the size of the library. A handful of new appliances have also been squeezed in: Joomla 1.6, Magento, StatusNet, PrestaShop and vTiger CRM. This was mostly a side effect of the original (misguided) plan to do one big massive release with over 80 appliances." The detailed release announcement includes a list of changes since the release candidate and a few hints about future plans. To download one of the 40+ available appliances please see the project's SoureForge page. Here is a quick link to the "core" image from which all appliances are built: turnkey-core-11.1-lucid-x86.iso
Recent releases:
• 2011-01-27: Distribution Release: TurnKey Linux 11.1 (157MB).
Screenshots.
If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:
0 comments:
Post a Comment