Zentyal installation guide

Creating the Volume Group just means specifying a name for it. Enter.

zenty23
Volume Group's name

It this were a smart installer, it would have detected that we have only one Physical Volume configured. But it did not, so we have to tell it what partition to use. In this example, it is /dev/sda2. Enter.

zenty24
Select the Physical Volume

With the Volume Group Created, select Create logical volume and Enter.

zenty25
Start creating Logical Volumes

Again, if this were a smart installer, it would have detected that we have only one Volume Group configured, automatically selected it and not have to bother with this step. Since it did not, just Enter on this window to move to the next step.

zenty26
Select the Volume Group

In this tutorial, the first Logical Volume we are going to create is for the root file system. When creating Logical Volumes, I like to give them the name of the file system that they will be assigned to. It makes thinks simpler – for me. So here, the name for the logical volume is root. Enter to move to the next step.

zenty27
Specify a name for the logical volume

After naming the Logical Volume, here we specify a size for it. On a default installation of Zentyal, were almost everything is installed on one Logical Volume, only about 1.5 GB of disk space is used. This should help you determine how much disk space to allocate to each Logical Volume. Since I intend to create a Logical Volume for each major file system directory, 2 GB should be more than enough for /. Enter.

zenty28
Specify a size for the logical volume

Repeat the last four steps for all the Logical Volumes you wish to create. Aside from /, which has been created above, the following file systems had their own Logical Volumes in the installation used for this tutorial (the assigned disk sizes are indicated):

  • /usr – 4 GB
  • /var – 2 GB
  • /tmp – 500 MB
  • /home – 10 GB

Also a Logical Volume was created for swap, with a 2 GB disk space allocated to it. When all the Logical Volumes have been created, you should have some disk space unallocated. This is how LVM should be configured. The available disk space will be used to grow any Logical Volume that might need it, or to create additional Logical Volumes.

When all the Logical Volumes have been created, select Finish, then Enter.

zenty29
Setting the file system type and mount point for the LVs

This step shows the details of all the partitions, Physical Volumes, Volume Groups, and Logical Volumes that have been created. It is also where the mount points for the Logical Volumes are specified. To begin, select the line under the first Logical Volume as shown and Enter.

zenty29-a
Final list of LVs, PV and VG

Somehow, we are required to choose the file system type again (Use as), and the Mount point. Then select Done setting up this partition. Enter. Repeat this for all the Logical Volumes.

zenty30
Set the file system and mount point for the LVs

When all the Logical Volumes have been assigned a mount point and a file system type, you will get a window just like this one below. Select Finish partitioning and write changes to disk. Enter.

zenty31
Done creating partitions

Continue with the rest of the installation until it completes successfully, then reboot. During bootup, you will be prompted for the encryption passphrase as shown in the image below. Do you still need to be convinced that Zentyal is based on Ubuntu?

zenty34
Passphrase being requested on bootup

That is the end. Next article about Zentyal will be a review and then how to install a highly available Zentyal server.

Related Posts

How to configure LVM on Mandriva One 2010 Mandriva One is one of three desktop Linux distributions published by Mandriva. It is a Live CD edition with the option to install to hard disk. Mand...
Top 3 applications menu extensions for GNOME 3 On an unmodified, GNOME 3 desktop, the Activities button provides access to all installed applications. But in some circles, it is one reason that the...
Dual-boot Fedora 15 and Ubuntu 11.04 with either side on an LVM partitioning scheme How to dual-boot Fedora 15 and Ubuntu 11.04 on a computer with one hard disk is the subject of this tutorial. If you have ever configured dual-booting...
Configure the graphical firewall manager on Pardus 2009.1 Pardus is a desktop-oriented, Linux distribution. The latest release is Pardus 2009.1, and just like Pardus 2009, it comes with IPTables/Netfilter, th...
Configure LVM in Foresight Linux Foresight is a Linux distribution built around the Conary package management system, with Gnome as the default desktop environment. Like most Linux di...
Have a Happy Holidays and give GRUB a look to match your mood Not too long ago, it was January, and in a few days, it will be another month of January. Time really does fly. But what can we do? Go with the...

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


5 Comments

  1. If not possible to avoid crypt pass request… How to unencrypt without installing the whole system again?

  2. Is it possible to automatically assign the encryption pass so it is not requested every time the server is started?

  3. Could you kindly provide a working configuration scenario for port forwarding in zentyal?
    i cant use my webserver behind the zentyal server even after configuring port forwarding on eth2 (WAN) to be forwarded to webserver local IP.
    Any idea!

  4. Pingback: Konfigurera krypterad LVM på Zentyal | Linux.se – Nyheter, forum och support

  5. Pingback: Installing Zentyal on encrypted LVM « 0ddn1x: tricks with *nix

Leave a Comment

Your email address will not be published. Required fields are marked *

*