🟠Using Ubuntu

All about using

Initial hardening

References for some of these steps are at this site. It's pasted here for my convenience.

Encrypt your hard-drive

⚠️⚠️⚠️ THIS IS ONLY DOABLE WHEN YOU INSTALL UBUNTU ⚠️⚠️⚠️

On the installation page where you have to select your partition, opt to erase the disk and then select "Use LVM..." option and encrypt it using Linux Unified Key System (LUKS)

Setup Antivirus

Install and Bootstrap ClamAV

Setup ClamAV to run daily

Create the log file:

Use cron to setup a daily job:

Paste in the following contents:

Setup Firewall

Confirm that `ufw` is installed

Setup base rules for `ufw`

Enable `ufw`

If not already done, enable ufw:

Enable `ufw` to run at startup

Secure `sysctl`

Paste in the following contents:

Finally, enable it:

Secure `/proc`

Make a backup of the configuration file and then open it:

Paste the following line at the end of the file:

Reload the configuration by remounting /proc:

Secure the kernel

Backup the configuration file:

Open the configuration file:

Add the following lines at the end:

Add some blocklists to `/etc/hosts` if you want

  1. Checkout the repository at https://github.com/jmdugan/blocklists

  2. Copy and paste the blocklists as needed into your /etc/hosts file

Albert Task Launcher

Troubleshooting

Task exits after hiding launcher

Open Albert by running albert in the CLI.

Trigger Albert using the hotkey, and hide the application again.

The albert task should have exited with the following error:

To resolve this, run:

Reference: https://github.com/albertlauncher/albert/issues/1033

Last updated

Was this helpful?