Zentyal, the Linux distribution formerly known as eBox Platform, is a server distribution which can be used as a network gateway, unified threat manager, office server, infrastructure manager, and a unified communications server. The latest release, the first under the Zentyal name, is based on Ubuntu server 10.04. For installing the base system, it uses the same installation program as Ubuntu server.
Zentyal’s default installation uses an LVM-based disk partitioning scheme. The installer creates just two logical volumes and allocates all the available disk space to both. Though LVM, the Linux Logical Volume Manager, is the recommended mode of disk partitioning for both server and desktop systems, Zentyal’s use of LVM is not optimal.
This tutorial provides a step by step on how to configure LVM properly for a server installation. Not just plain old LVM, but an encrypted LVM. Encrypted LVM, or full disk encryption in general, is one method that you can use to enhance the physical security rating of your server.
To start, boot up your server with the installation CD, and select Install Zentyal 2.0 (expert mode). Enter.
To reduce the number of images used in this tutorial, images from the next seven steps have been omitted. Those images are for the following steps: Language selection, country, keyboard detection, keyboard origin, keyboard layout, hostname setting, and time zone confirmation. The next image is from step nine of the installation process, and it is where the disk partitioning starts.
Select Manual. Enter.
These screenshots were taken in a virtual environment, so the disk space is not what you would have on a real hardware. In any case, to create the first partition, select the free space as shown. Enter.
Note: For this custom LVM installation scheme, we are going to create a separate /boot partition, and an encrypted Physical Volume from the remaining disk space. The Volume Group created from this will have six Logical Volumes, one each for the following file systems: /, swap, /usr, /var, /tmp and /home.
Select the default, Create a new partition. Enter.
Specify the partition’s size. Since this is going to be the partition for /boot, 500 MB should be more than enough. Enter.
Go with the default. Enter.
Again, the default is it. Enter.
On this screen, tab to Use as, and specify Ext4 journaling file system. This is the default on virtually all Linux distributions. Other journaling file systems available are ext3, reiserfs, jfs and xfs. Tab to Mount point, and specify /boot, then tab to Done setting up this partition. Enter.
With the boot partition created, now is the time to create the Physical Volume. Select the unallocated space. Enter. On the window that comes up, stick with the default – Create a new partition. Enter. The next window that comes up is where the size is specified.
Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.
And by signing up with this referral link, you can help support this website.
If you are reading this, your ad could also be occupying this space. Contact us to make it happen.