Linux

Fixing CrashPlan in Xubuntu 14.04

I run CrashPlan on a variety of devices, but invariably access them in a "headless" manner from a computer running Xubuntu (currently 14.04).

After upgrading to 14.04, however, CrashPlan stopped working. This is a known problem, but unfortunately they haven't fixed the issue - simply created an obscure post so people can apply a workaround themselves! [...]

Starting A Process In A "tmux" Session Using Cron

Tags: 

Some processes can be happily run on a regular basis using cron. If you want to start a process every time the system is rebooted, however, it's possible that you want to be able to interact with the process (rather than just letting it run completely in the background).

Fortunately, processes can be started within a tmux session - meaning that you can reconnect to the session whenever you want! [...]

Sharing Files Using NFS (Linux's Network File System)

This guide shows you how to quickly and easily set up a network share using NFS on Linux.  The share won't be secured in any way, so only use it on a local network - don't share the files with the internet (unless you really want to!)  [For more in-depth instructions, this is quite a good guide]

Server

Firstly install the NFS server:

sudo apt-get install rpcbind nfs-kernel-server [...]

Mounting a USB Hard Drive on Linux

If you are using a GUI such as KDE or Gnome, USB Hard Drives will usually be mounted automatically - available to be used without any effort.

Unfortunately this isn't generally the case on headless (server) systems.

However it is easy to instruct the system to mount a drive manually, or to edit /etc/fstab so that it will be mounted when your computer boots up... [...]

Reclaiming Reserved Space in Linux

By default, when formatting a partition as ext2/3/4, Linux will reserve around 5% of the space for use by the root user.  This is mainly to avoid non-root users filling up the filesystem, as well as helping to reduce fragmentation.

On external drives, this is less important - especially if the content on those drives is pretty static (e.g. a backup drive) - so we can reclaim the reserved space and gain quite a bit of extra storage (over 185GB on a 4TB drive!)... [...]

Sorting the Swap Space on a Raspberry Pi

By default the Raspberry Pi uses a 100MB swap file on the SD card.  I have a 512MB Pi, and I've never actually seen the swap being used... but if it is, it will be horrifically slow and have some impact on the life of the card.  So, since I have hard drives plugged in (I have a 4-drive JBOD USB enclosure) I decided to move the swap.  (Most of the following commands need to be run as root or using sudo). [...]

Installing "unrar" on a Raspberry Pi

A basic version of "unrar" can be installed simply with:

apt-get install unrar-free

However this is unable to handle the RAR v3.0 format (which most .rar files probably use).  For this we must use "unrar-nonfree", which isn't in Raspbian's repositories. Not to worry, it can be installed easily enough using the APT system... [...]

Pages

Subscribe to RSS - Linux