Self-hosted FOSS cloud step 1.3: File sharing with Samba

This is the step 1.3 of this article: http://julien.coubronne.net/a-self-hosted-free-opensource-cloud Install Samba The ressources from Debian are great: https://wiki.debian.org/SambaServerSimple In a nutshell, to install the samba server, client, and configure the deamon: # apt-get install samba # apt-get install samba-client # nano /etc/samba/smb.conf   Sync the Unix and Samba passwords The …

Installing Owncloud 9 on Debian 8 (with Apache2 & MySQL)

This is a memo on how to install Owncloud 9 in Debian 8. Since the latest version of owncloud’s fork, nextcloud, is available, you may look at it as an alternative. I prefered to go with Owncloud since they provide Debian packages. Note: Since the initial writing of this memo …

LUKS: backups and headers

So from the cryptsetup FAQ and man page: “LUKS header: If the header of a LUKS volume gets damaged, all data is permanently lost unless you have a header-backup. If a key-slot is damaged, it can only be restored from a header-backup or if another active key-slot with known passphrase is undamaged. Damaging …

Adding an encrypted drive in Debian using LUKS and LVM

The idea is to add an additional drive to an existing encrypted installation (using LVM over LUKS, see https://julien.coubronne.net/wp-admin/post.php?post=478) Prepare your disk First you need to identify which disk you want to add: sudo fdisk -l or sudo lsblk Let’s say I want to encrypt the disk “sdc”. It should …