Zentyal installation guide

Since we are going to create a partition for use by LVM, it is best to use all the available disk space, which should be what is shown in the box. Enter. On the next window, stick with the default – Primary. Enter.

zenty10
Specify partition size

On this window, tab to Use as, and choose physical volume for encryption, then tab to Done setting up this partition. Enter.

zenty12
Done setting partition

With the partition for /boot and the Physical Volume for encryption created, select Configure encrypted volumes as shown below to set the passphrase for encryption. Enter.

Note that for some reason, the installer goes through the whole process of creating an encrypted volume before actually getting to the passphrase step. Under a good installer, we would not have to do this again, but that is how the Zentyal/Ubuntu installer works.

zenty14
Configure encrypted volume

Tab to Yes, then Enter.

zenty15
Write changes to disk

I do not understand why it is necessary to go through the next two steps, but we are compelled to. Select Create encrypted volumes. (this is the default) Enter.

zenty16
Create encrypted volume

In this example, /dev/sda2 is the partition we have already encrypted. Tab to the partition you want to use and Enter.

zenty17
Select partition to encrypt

Select Finish. Enter. The next step is where the passphrase will be specified.

zenty18
Finish

Specify the passphrase to be used for encrypting the volume. Enter. Re-type the passphrase on the window that comes up. Note that this passphrase will be requested by the system every time you boot up the server. Since the server will very likely not be rebooted often, make sure that you do not forget this passphrase.

zenty19
Specify the passphrase to be used for encrypting the volume

Next we have to create the Volume Group and Logical Volumes. To start, select Configure the Logical Volume Manager. Enter.

zenty20
Start setting up the Volume Group

Tab to Yes to write changes to disk and configure LVM. Enter.

zenty21
Yes!

This is the step where the Volume Group and Logical Volumes will be created. The Volume Group will be created first, so select Create volume group. Enter.

zenty22
Create Volume Group

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 *

*