Adding space to an existing Linux 5.8 file system running under VirtualBox

While working with some VMs in the lab, I realized that I needed to increase the size of a file system.  This is actually not that big a deal since I typically create template servers and clone them.  It would very easy to just create a server that had the correct file system size and clone it.

However, as effective as that solution would be, it did not sound like much fun.  As a result I did a bit of research using Google and found several procedures for extending the file systems under VirtualBox using the Gparted utility.  I have used this utility in the past and know that it is effective.  But, again this just didn’t sound like much fun.

As I was about to try the Gparted process, I happened to find a blog post by Frank Munz at www.munzandmore.com.  I don’t know anything about Frank or his blog, but the post interested me because instead of using Gparted, he used the Linux Logical Volume Manager (LVM).  I have used LVM many years ago as a System Administrator, but had not really used it in the past few years.  As a matter of fact, 2 articles I had written years ago about using LVM with AIX and also with HPUX are still referred to by some of my readers.

Seeing his blog post made me think that using LVM instead of Gparted would be a lot more fun.  So this article describes the step by step process I used, following his lead to extend the root file system of an Oracle Linux 5.8 server running under VirtualBox from 16GB to 34GB. Continue reading

Setting up a 2 Server LAMP stack in Amazon AWS

NOTE:  The screenshots in this article show the Amazon AWS management console interface available in May 2014.

Overview

This article contains the step by step procedure for setting up a 2 server LAMP environment in the Amazon AWS cloud.  The first server will be used for Apache and PHP, while the second server will be used for MySQL.  This process consists of the following major steps:

  1. Setup the AWS Environment
  2. Create and configure the Apache/PHP Linux server.
  3. Create and configure the MySQL Linux server.
  4. Configure and verify connectivity between the Apache/PHP server and the MySQL server.

When this process is complete then you will have an proof of concept environment ready for hosting a LAMP application in Amazon AWS. Continue reading

Setting Up a 2 Server LAMP Stack in Microsoft Azure

NOTE:  The screenshots in this article show the Azure management console interface available in April 2014.

Overview

This article contains the step by step procedure for setting up a 2 server LAMP environment in the Microsoft Azure cloud.  The first server will be used for Apache and PHP, while the second server will be used for MySQL.  This process consists of the following major steps:

  1.  Setup the Azure Environment
  2. Create and configure the Apache/PHP Linux server.
  3. Create and configure the MySQL Linux server.
  4. Configure and verify connectivity between the Apache/PHP server and the MySQL server.

Continue reading

Installing Oracle 11gR2 under Linux 5.8 using PreInstall RPM

This article contains the step by step procedure for installing the Oracle 11gR2 database on Oracle Linux 5.8.  A simple installation suitable for use in a personal lab environment will be presented.  The oracle-validated RPM will be used which will eliminate much of the manual configuration that has been required for Oracle database installations before this RPM was made available.  The server hosting the database is a VM running under Oracle VirtualBox 4.2.6. Continue reading

Cloning a Linux Server with VirtualBox 4.2.6

The creation of Linux Servers for use in the lab can be simplified using the cloning feature of VirtualBox.  Cloning allows you to take an existing server VM and quickly make a copy of it that will exist as a separate server.  I will illustrate this process using the Oracle  Linux 5.8 server that I recently created.  I will make a clone of that server that will eventually be used to install the Oracle 11gR2 database on. Continue reading

Manually deploying a Hello World MySQL JSP to TomCat 7.0.26

This article describes a simple JSP that can be used to test access to a MySQL database from TomCat.  As part of the learning process about TomCat deployment process, an IDE will not be used to create and deploy the JSP.  Instead, the JSP will be manually created with a text editor and manually deployed by creating a WAR file and copying to the TomCat webapps directory.  Continue reading