Encrypt drives using LUKS
ol
lab
tutorial
ol-storage
Table of Contents
Links
🌙 Lab
🗒 Tutorial
Details
Oracle Linux includes a device mapper crypt (dm-crypt
) and the Linux Unified Key Setup (LUKS) to handle encryption on block devices.
In this tutorial, we’ll focus on the front-end tools to encrypt a device using LUKS, which utilizes the dm-crypt
module from the device mapper support included with the Linux Kernel.
Objectives
In this tutorial, you will learn how to:
- Install
cryptsetup
- Create an encrypted volume
- Mount an encrypted volume
Prerequisites
Minimum of a single Oracle Linux system
Each system should have Oracle Linux installed and configured with:
- A non-root user account with sudo access
- Access to the Internet
- A block device attached to the system