Notes on installing Ubuntu 22.04 with luks encryption and btrfs.
Based on:
# on your ext4 distro | |
sudo su | |
apt install btrfs-progs | |
shutdown now | |
# switch to a linux live environment | |
sudo su | |
fsck -f /dev/vda3 | |
# BTRFS convert |
Notes on installing Ubuntu 22.04 with luks encryption and btrfs.
Based on:
This exemplary initial setup uses two devices /dev/sdb
and /dev/sdc
but can be applied to any amount of devices by following the steps with additional devices.
Create keyfile:
dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
Credit: Mark Kraus
Website: https://get-powershellblog.blogspot.com
configuration AdminRestAp { | |
Import-DscResource -ModuleName xPSDesiredStateConfiguration | |
Import-DscResource -ModuleName xNetworking | |
Node "webserver" { | |
<# | |
Install windows features | |
#> | |
WindowsFeature InstallIIS { |
#!/usr/bin/env python | |
# -*- encoding: UTF8 -*- | |
""" read out S.M.A.R.T. values out of the database and plot them using matplotlib | |
<http://matplotlib.sourceforge.net/examples/pylab_examples/anscombe.html> | |
""" | |
from pylab import * | |
from os import geteuid |
#!/bin/bash | |
LINES=$(tput lines) | |
COLUMNS=$(tput cols) | |
declare -A snowflakes | |
declare -A lastflakes | |
clear |