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 …

Self-hosted FOSS cloud step 1.2: Server post-install

This is the step 1.2 of: http://julien.coubronne.net/a-self-hosted-free-opensource-cloud Inspired by My First 10 Minutes On a Server, I decided to do the following steps: SSH auth by key only Add user to sudo group Install Fail2ban The steps I’m thinking to do but not quite sure: Firewall? (not sure yet) Logwatch SSH …

A self-hosted FOSS “cloud” (step 0)

So it all started from a simple need, really: being able to share files on my local network. Usually for this type of needs, you buy a NAS, and that’s it. But then you add in a bit of privacy concerns, the will NOT to put all your eggs in …

Self-hosted FOSS cloud step 5.1: Transmission bittorrent client (headless mode) and its web GUI on Debian

A short memo on how to install the Transmission bittorent client and control it from a web GUI, both of them running on a headless server. The aim is to replace the “download station” bundled in the Synology NAS software (DSM), see http://julien.coubronne.net/a-self-hosted-fr…opensource-cloud/ Install Transmission sudo aptitude install transmission transmission-deamon …

Debian: find the fastest mirror

Ok, so most of the information here comes from this useful post. Install netselect-apt sudo apt-get install netselect-ap And run it. sudo netselect-apt Note that the fastest mirror may not be the one providing the best bandwith. You can have the same approach but for your DNS with namebench.  

DynDNS with OVH on Debian

I have a dynamic DNS provided by OVH, called “DynHost”. To update my IP address to the service, I used the linux client ddclient. I followed the following tutorial (in French). I reproduce here the key steps: 1. Create your DynHost account. Take note of your login, sub-domain and password. …