Creating a Lubuntu 12.04 Virtual Machine with Parallels Desktop 9 for Mac.
Summary
We describe here, how to create a Lubuntu-based virtual machine (VM) with Parallels (virtualization software for Mac), to be used in a Macbook.
This post assumes the reader is familiar with Linux and a virtualization application such as Virtualbox or Parallels.The goal here is to create a fast, light and clean software development environment mainly to work with open source technologies such as Java and/or Ruby On Rails.
Technologies we use in this post
- Linux Lubuntu 12.04 (http://lubuntu.net)
Why we are using Lubuntu:
Lubuntu is an Open Source, fast and lightweight operating system, focused on speed and energy-efficiency. The core of the system is based on Linux and Ubuntu. Lubuntu uses the minimal desktop LXDE, and a selection of light applications. Because of this, Lubuntu has very low hardware requirements. - Lubuntu 12.04 (Precise Pangolin)
-
Parallels Desktop 9 for Mac)
Parallels Desktop for Mac is a hardware emulation virtualization software. - OS X 10.9.1 Mavericks
Download
- Download 64-bit Linux Lubuntu ISO image for Mac. This image is adjusted to work properly on Mac systems:
64-bit Mac (AMD64) desktop CD - Download and install Parallels Desktop for Mac. There’s a 14 days free trial: http://www.parallels.com/downloads/desktop/
Create a new virtual machine in Parallels
- Install Parallels Desktop on your Mac
- Open Parallels Desktop
- Install a Linux Lubuntu Virtual Machine
- File >> New… >> Continue
- Choose “Image File”
- Drag the Lubuntu ISO image into dotted box
- Continue
- Select as operating system: More Linux >> Debian GNU/Linux
- ok
- Name: Lubuntu 13.04 for Mac
- Continue
- After that, you’ll see the first screen Lubuntu configuration. Answer the questions according to your needs.
- Wait for Lubuntu installation. Click restart button when asked.
- Force quit, if you’re facing a frozen screen, by clicking “Shut down” Parallels command.
- If everything went well, by this point, you have a virtual machine named “Lubuntu 13.04 for Mac”
Install Virtual Machine Software Tools
- Most of the cases virtual machines allow tools to install.
- In our case isn’t different. Let’s install Parallels virtual machine tools.
- In Parallels Desktop, click to start your new “Lubuntu 13.04 for Mac” virtual machine.
- if asked, answer your username and password
- If asked, answer NO to update Lubuntu.
- Execute the following commands:
- In Parallels Desktop menu, click: Virtual Machine >> Install Parallels Tools… >> Continue
- To install Parallels Tools, open a terminal (LXTerminal): Control+Option+T
- Go to the CD/DVD drive directory: cd /media/your-user-name/Parallels Tools
- Run the following command as root: “sudo ./install”.
- Press “next” button 3 times.
- Wait while downloading and installing are in progress.
- Press reboot button to restart your virtual machine.
Install Linux Lubuntu Updates
- After installing Parallels tools, open LXTerminal and using the command line, install the lastest Lubuntu distribution updates.
- sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
- sudo apt-get clean
This can take a while.
Configure Lubuntu Virtual Machine
- After updating to the lastest Lubuntu distribution, let’s configure an option.
- Go to the Parallels Desktop menu:
- Virtual Machine >> Configure… >> Options >> Applications
- Share Linux Applications with Mac: uncheck
Configure Lubuntu
- After that, we only need one more adjustment. In the Lubuntu desktop screen:
- Initial button >> Preferences >> Desktop Preferences:
- Change the background mode to: “Tile the image to fill the entire screen”
And that’s it! We have installed and configured a Linux Lubuntu virtual machine in Parallels Desktop for Mac.
Other Posts
- If you write in portuguese like me, maybe you be interested on these links