99
edits
Note: Currently new registrations are closed, if you want an account Contact us
Line 72: | Line 72: | ||
# Setup LUKS (make sure lvm2, udev and cryptsetup packages are installed). | # Setup LUKS (make sure lvm2, udev and cryptsetup packages are installed). | ||
cryptsetup luksFormat /dev/mdX | cryptsetup luksFormat /dev/mdX | ||
# Give disk encryption password as specified in the [[# | # Give disk encryption password as specified in the [[#Server_Access|access repo]] | ||
cryptsetup luksOpen /dev/mdX poddery | cryptsetup luksOpen /dev/mdX poddery | ||
Line 88: | Line 88: | ||
# Create directories for mounting the encrypted partitions | # Create directories for mounting the encrypted partitions | ||
mkdir /var/lib/db /var/lib/static /var/log/poddery | mkdir /var/lib/db /var/lib/static /var/log/poddery | ||
# Manually mount encrypted partitions. This is needed on each reboot as Hetzner doesn't provide a web console so that we can't decrypt the partitions during booting. | # Manually mount encrypted partitions. This is needed on each reboot as Hetzner doesn't provide a web console so that we can't decrypt the partitions during booting. | ||
mount /dev/data/db /var/lib/db | mount /dev/data/db /var/lib/db | ||
Line 135: | Line 135: | ||
ln -s /var/lib/db/mysql /var/lib/mysql | ln -s /var/lib/db/mysql /var/lib/mysql | ||
* Modify configuration files at ''/etc/diaspora'' and ''/etc/diaspora.conf'' as needed (backup of the current configuration files are available in the [[# | * Modify configuration files at ''/etc/diaspora'' and ''/etc/diaspora.conf'' as needed (backup of the current configuration files are available in the [[#Server_Access|access repo]]). | ||
* Homepage configuration: | * Homepage configuration: | ||
# Make sure git and acl packages are installed | # Make sure git and acl packages are installed |