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 dual-boot Pardus 2011 and Windows 7 This article is the next in a series of guides on how to dual-boot Windows 7 and Linux and BSD distributions. It covers dual-booting Pardus 2011 and W...
How to launch and use a shell terminal in Linux People new to Linux tend to react to any reference of the Linux shell terminal with fright. But there is nothing scary about our beloved shell termina...
How to dual-boot Linux Mint 10 and Windows 7 This is the latest in a series of tutorials that has been published on this site on how to dual-boot Windows 7 and Linux distributions. Previous artic...
How Linux Distros Configure and Manage LVM This is part 2 of a multi-part series on Linux logical volume management. If you are not already familiar with LVM, you may read part 1 here We ar...
Dual-boot Fedora 18 and Windows 7, with full disk encryption configured on both OSs How to dual-boot Fedora 18 and Windows 7 with full disk encryption (FDE) configured on both operating systems stems from a request from K. Miller. The...
How to upgrade Ubuntu 14.10 kernel to version 3.17.1 Upgrading a distribution's kernel is something I tend to shy away from. There was a time, though, when recompiling the Linux kernel was fun. But that ...

We Recommend These Vendors and Free Offers

ContainerizeThis 2016 is a free, 2-day conference for all things containers and big data. Featured, will be presentations and free, hands-on workshops. Learn more at ContainerizeThis.com

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 *

*