Ubuntu Posts

Install Tvheadend on Ubuntu 14.04

Install Tvheadend on Ubuntu Linux

Tvheadend is a TV streaming server for Linux. Hardware devices can be managed and live TV can be viewed directly via the web interface albeit with somewhat of an outdated user interface. It makes a great back-end to a media centre such as Kodi. Among other things it can also record based on user defined schedule.

Force Hard Drives to Sleep on Ubuntu 14.04

Activate Num-Lock at Boot on Ubuntu 14.04

One of the more important traits of a good home server is low power consumption. Hard drives can account for a big chunk if not the majority of power usage of a home server depending on the number of drives. Most hard drives can be put into sleep or stand-by mode to reduce power usage dramatically. Western Digital drives require a more forceful method which is where hd-idle tool comes into play. Hd-idle is a simple tool that can force both SATA and USB hard disk devices into stand-by mode.

Configure Samba Public Share

Samba Public Share

Before you configure Samba public share make sure to install Samba on Arch Linux or install Samba on Ubuntu Linux. You will also want to configure Samba shares. The public share is useful for sharing files freely between guest users without any credentials.

Configure Samba Home Share

Samba Shares

Before you configure Samba home share make sure to install Samba on Arch Linux or install Samba on Ubuntu Linux. You will also want to configure Samba home shares. By default user home directories are made available as shares for each user of the same name. This means that if your requirements are only to share UNIX user home directories then you don’t need to make any changes outlined below.

Install Samba on Ubuntu Linux

ubuntu-linux-samba

I have already installed Samba on Arch Linux and the installation has only minor differences compared to Arch Linux. Once Samba is installed you can configure Samba shares, create Samba public share and setup Samba home share.

Configure Home Server Samba Shares

Samba Shares

Before you configure Samba make sure to install Samba on Arch Linux or install Samba on Ubuntu Linux. Once the installation is completed it’s time to create the actual shares and configure access permissions. Samba boasts an overwhelming amount of configuration options but most are unlikely to be needed. Only a handful of options should suffice for simple home server configuration.

Install AMD APU Proprietary Drivers on Ubuntu Linux

amd-a-series-processor

The A-Series APU’s from AMD integrate a powerful entry-level GPU and offer excellent performance and power saving balance. The default open source driver on Linux however are not ideal and proprietary driver offered by Ubuntu are a little outdated. To get the best performance and reduce possible bugs it’s a good idea to install the latest AMD Drivers for Linux.

Fix Western Digital Load Cycle Count Issue in Ubuntu Linux

hard-disk-platter

Many newer Western Digital hard drives have a new power saving feature called idle3. Unfortunately on Linux this does not work well and can cause excessive head parking depending on the default factory setting. Since this is a proprietary feature it cannot be modified with conventional tools like hdparm. There is a “wdidle3” tool but since it only runs on DOS it is not very convenient. Luckily there is a Linux application created just for this!

Install Maraschino on Ubuntu Linux

maraschino-logo

Maraschino is a web-based front end that brings together several applications together like XBMC, CouchPotato, Headphones, uTorrent, NZBGet and more. It aggregates information from these applications and displays it all on one page. Maraschino runs on python and is easy to install and configure. For a similar alternative check out how to Install HTPC Manager on Ubuntu Linux.

Mount Partitions Automatically in Ubuntu Linux

mount-disk

In Linux server distributions mounting does not normally take place automatically. On the other hand desktop operating systems like Ubuntu will often mount in such a way as to make it impossible to know a location of a specific device. This is the main reason it is essential to configure mounting options manually on a file server. A typical way to mount partitions is in the fstab which is a configuration file that is read earlier in the boot process than user scripts.

Install & Configure MHDDFS Virtual Storage Pool

hard-drive-stack

MHDDFS is a fuse based driver. It is used to seamlessly combine several directories or mount points into a single virtual file system. Since it is not in the Linux kernel it uses a significant amount of processing power and suffers somewhat from reduced write performance. If that is not acceptable try to Install AuFS. For home server purposes MHDDFS is perfectly acceptable and simple to set up. There are only a handful of options of which a few are essential for basic customization.

Install HTPC Manager on Ubuntu Linux

HTPC Manager combines many media related applications and provides an easy way to view and control them in one place. It supports applications like CouchPotato, NZBGet and XBMC / Kodi among others. Currently it is still missing support for NZBDrone / Sonarr.

Install Headphones on Ubuntu 14.04

Install on Headphones Ubuntu Linux

Headphones is an automated music downloader and manager. It uses MusicBrainz service to query for music metadata which can unfortunately be unreliable at times. It is comparable to CouchPotato or Sonarr but for music. For improved security it is installed under it’s own user and group. Backing up settings and the library is very simple and only requires a database and configuration files to be saved.

Configure Static IP on Ubuntu Linux

ubuntu-logo

By default most Linux distributions including Ubuntu are configured with DHCP. This means that an IP address and some other parameters are configured automatically. The only issue with dynamic IP is that it can change making remote access a game of chance. Setting up static IP allows a user defined IP addresses that will remain the same unless changed manually.

Install NZBDrone / Sonarr on Ubuntu 14.04

ubuntu-sonarr-logo

NZBDrone / Sonarr is an automated TV show manager and searcher. It will find and send TV episodes to your preferred download application. As a newcomer NZBDrone has an impressive amount of features that a more mature application like Sickbeard is missing. It is recommended to use a mono 3.6 or newer.