Preparation steps
New system
Use a new (virtual) machine as the installer will make changes to its configuration. Use the latest version of the selected operating system.
Hostname and domain configuration
Ensure that the hostname and domain are both correct. It will be used to configure the application components.
Change /etc/hostname and /etc/hosts to properly configure the system.
Tips:
- Add a 127.0.1.1 entry linked to the fully qualified domain name (FQDN), followed by just the hostname.
- Example:
127.0.1.1 lynis.example.com lynis
- Example:
- Confirm that the system has a domain name configured. Command:
hostname -d
After making changes, reboot the system to make sure that all is good.
Create /data partition
Create a /data directory or dedicated partition. When using a partition, ensure it has at least 10 GB of space. Usage of LVM is suggested, so the partition can be extended later.
This directory is used to store software components
Firewall preparation
When iptables/ufw is available, allow incoming connections to HTTP and HTTPS. HTTP is only used for the convenience of users and redirects them to HTTPS automatically.
Postfix or MTA configuration
Configure a local MTA (like Postfix), allowing the system to send emails