By editing the fstab file with:
sudo nano /etc/fstab
And adding this line to the bottom:
UUID=01669871-a2a3-406e-84a9-f63a9c5fffd0 /home/usernameDownloads ext4 errors=remount-ro 0 1
You'll have to change the UUID to your drives and username to the user you have on the Pi.
I'm also going to make the downloads folder visible on the network by installing a Samba server.
sudo apt-get install samba samba-common-bin
Make some changes with
sudo nano /etc/samba/smb.conf
Change the network name and workgroup settings at the top to suit your own use.
And add this to the bottom:
path = /home/username/Downloads
browseable = yes
public = yes
writeable = yes
create mask = 0777
directory mask = 0777
Let's install SabNZB now and get it working:
sudo apt-get install sabnzbdplus
Edit a config file with:
sudo nano /etc/default/sabnzbdplus
It should look something like this when it's finished.
# This file is sourced by /etc/init.d/sabnzbdplus
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.
# [required] user or uid of account to run the program as:
# [optional] full path to the configuration file of your choice;
# otherwise, the default location (in $USER's home
# directory) is used:
# [optional] hostname/ip and port number to listen on:
# [optional] extra command line options, if any:
Now we make it executable with:
sudo service smbd restart
And then it's time to finish off the configuration by pointing a web browser at:
That's newsgroups sorted, let's move onto torrents:
sudo apt-get install deluged deluge-console deluge-web
Now we're going make deluge create a configuration file and then shut it down afterwards.
sudo pkill deluged
We need to change a files but let's back then up first:
cp ~/.config/deluge/auth ~/.config/deluge/auth.old
At the bottom of the file add the following:
User is the username you're running deluge under, password is the password for accessing the interface and level is 10, so something like:
Now we can run deluge by typing:
And connect to it with the console by typing:
We need to enter the following into the console to allow remote connections:
config -s allow_remote True
Time now to install the Deluge client on your desktop, you can get it from here. Once it's installed run it and you'll see something like this, depending on your operating system.
Go to preferences, interface and remove the tick from classic mode
Click Ok and then close down the client and reopen it. You should now get the connection manager popping up, click on Add.
And enter the network name of the Pi or it's IP address along with the username and password you added earlier.
You should now see the console where you can control your torrent client
There you go, you now have a nice low powered download computer.