webmin

Set Up LVM/LVM2 Using Webmin

First off, what is Logical Volume Management and why do you need it? LVM is basically a set of hard drives grouped into being seen by the system as one hard drive. It is different than RAID, because there is no redundancy. In addition, the drives that are "grouped" can be of any size or any interface. You can have SATA, SAS, and IDE all in the same LVM. I wouldn't recommend it, but you could.

But what is it used for? Gigantic volumes, of course! Right now the largest hard drive you can buy is 3TB. What happens when you need a volume larger than that? You can use a RAID setup that will add redundancy, but you will also need a better controller and a lot more drives. But a simpler, quicker solution is to use LVM.

Here's the overview to get LVM going within Webmin:

  • Install LVM
  • Refresh Webmin Modules
  • Add a Volume Group
  • Add drives to the Volume Group
  • Add a Logical Volume within the Volume Group
  • Create the file system within the Logical Volume
  • Mount the newlycreated file system

Now for the nitty-gritty:

  • From the command line, install LVM
  • sudo apt-get install lvm2

  • Once LVM is installed, refresh the modules within Webmin
  • With Logical Volume Management selected under the Hardware menu, click on the Add new volume group link

Share this

Tags: 

Drupal in the Cloud, Part 3: Installing Virtualmin

Let me preface this section with a caveat: you do not need Virtualmin for Drupal to work. Drupal will work just fine without Virtualmin, provided it gets the three things it does need: Apache, MySQL, and PHP.

For those at home taking notes, this is typically called a LAMP setup- Linux, Apache, MySQL, PHP. LAMP. Get it? Cool, let's continue.

What Virtualmin does is provide an easy interface to manage your server, which is an absolute godsend for those who hate doing things by command line.

There are three things we need to get Virtualmin up and running:

  1. Be on a supported system (CentOS, Debian, Ubuntu LTS, etc.)
  2. Change the hostname to what its final hostname will be
  3. Run the install script

The first requirement is done, provided you have been doing things according to the tutorial.

The second requirement is fairly easy:

Share this

Tags: 

Subscribe to RSS - webmin