Showing posts with label virtualization. Show all posts
Showing posts with label virtualization. Show all posts

Sunday, January 25, 2015

How to Create a CentOS 7 Minimal VM on VMware Player

By popular request, here is an updated (for CentOS 7) version of an older tutorial for CentOS 6. This post provides step-by-step instructions how to:
  • create a VMware virtual machine from a CentOS-7.0-1406-x86_64-Minimal.iso using VMware Player 6.0.4 on Windows 7;
  • bring the virtual machine to a minimally usable state, i.e. to be able to connect to CentOS mirrors in order to update your new system and install additional software packages;
  • install VMware Tools 9.6.2 or open-vm-tools 9.4.0;
  • open ports with firewall-cmd.

Saturday, November 2, 2013

How to Create a CentOS 6 Minimal Virtual Machine with VMware Player

UPDATE: This tutorial was written for CentOS 6. Creation of a CentOS 7 minimal virtual machine is very similar, but there are some differences. For CentOS-7-specific instructions, see CentOS 7 Minimal on VMware Player.


Today, a lot of pre-built VM images for specific purposes (e.g., LAMP, Drupal, Moodle, Joomla, etc.) are available. They can save a ton of time since you don't have to start from scratch (assuming, of course, that the images come from a reputable source). However, bear in mind that whoever builds those images always makes certain assumptions. For example, it is almost always assumed that in a LAMP stack the web server and the database server should be on the same virtual machine, which may or may not be what you want. Of course, you could take two identical LAMP images, remove the MySQL-related software packages from the first and all the Apache-PHP-related packages from the second and make the two work together. Still, starting from scratch is also an option, and in some cases (when the requirements of your application are very unique) the best option.

There may be a whole bunch of specific reasons why one would want to start with a minimal installation of an operating system, so I am not going to speculate about those, but, generally speaking, it allows to avoid software bloat and, therefore, maximize utilization of resources and reduce security risks. Bear in mind that minimal installs of most Linux distributions are just that - just enough OS to boot the system or slightly more. So, in order for it to actually do something useful, you will have to install additional software (again, what software to install depends on your specific needs, of course).


This post provides step-by-step instructions how to
  • create a VMware virtual machine from a CentOS-6.4-x86_64-minimal.iso (or CentOS-6.4-i386-minimal.iso) using VMware Player 6.0.1 on Windows 7;
  • bring the virtual machine to a minimally usable state, i.e. to be able to connect to CentOS mirrors in order to update your new system and install additional software packages;
  • install VMware Tools 9.6.1.
Other versions of the software involved in all this may require slightly different steps, but the general principles are the same.

Thursday, October 25, 2012

Getting Your Feet Wet with AWS - Part 2: Connect to Amazon EC2 Instance via SSH

In Part 1 of this tutorial, we created an Amazon EC2 instance using a pre-built minimalist AMI. In other words, we created a remote virtual machine from a "disk image" with just enough of Linux operating system (plus some applications) for it to boot up and run, and for us - to be able to remotely administer it over a secure connection.

Saturday, October 20, 2012

Getting Your Feet Wet with AWS - Part 1: Create Amazon EC2 Instance

Although this tutorial was written with an absolute beginner in mind, some general computer knowledge is required in order to complete it.


On a very basic level, AWS (Amazon Web Services) is fairly easy to use. However, if you are totally new to virtualization, at first, it may be somewhat confusing primarily because the documentation, although quite extensive, is, for the most part, not written for the "uninitiated".

Luckily, Amazon offers one year of AWS for free. The free offer includes: one micro instance of Amazon EC2 (Amazon Elastic Compute Cloud) and one micro instance of Amazon RDS (Amazon Relational Database Service). As the word "micro" implies, these are not computing powerhouses, but they are enough for anyone, even without advanced computer knowledge, to "poke around" and figure out the basics of how they work and how to manage them.