Category: Linux

Cheat sheet: How to create a bootable USB key on Mac OS X for Ubuntu / Debian

Open a terminal. BEFORE inserting the USB key, check which disks are available:

You should see one or more disks installed on your system like this:

Insert the USB key. Do a “diskutil list” again. You should see one more disk. This is your USB key. Let’s assume it is /dev/disk2. First we need to convert the ISO file to …

Cheat sheet: Install ZFS file system on Ubuntu 14.04

This file system is perfect to be used in a NAS. You can check Why ZFS over EXT4 or other FS at the bottom of this article. Install ZFS Before we can start using ZFS, we need to install it. Simply add the repository to apt-get with the following command:

You should get something like this:

Reboot. …

Cheat sheet: Install Java on Odroid (Ubuntu server 14.04)

Download Java 8 for ARM hard fload (hard float means that the Odroid CPU can calculate floats by hardware not software): http://www.oracle.com/technetwork/java/javase/downloads/jdk8-arm-downloads-2187472.html

Et voila !

Cheat sheet: Install Apache Ant on Odroid (Ubuntu server 14.04)

Download the necessary software from http://ant.apache.org/bindownload.cgi (http://wwwftp.ciril.fr/pub/apache//ant/binaries/apache-ant-1.9.4-bin.tar.gz)

 

Cheat sheet: Use Ubuntu 14.04 as a Mac OS X Time Capsule

Step 1: Install Netatalk

Step 2: Configure /etc/nsswitch.conf locate the line that reads:

Add “mdns” at the end. You should have that:

Step 3: edit /etc/netatalk/AppleVolumes.default Check that you have:

Add a line in the shares like this:

For me it looks like this for user “stfb”

Step 4: add time machine dir + user