Hey Everyone,

Seeing as I am building my first seedbox from scratch I thought that I'd share the guides i've been using for doing certain things.
The guide below is for installing and configuring autodl-irssi on your Seedbox.

For those of you that don't know what autodl-irssi is I have added general description below.
Autodl-irssi is a plugin for Irssi which monitors torrent IRC announce channels, downloads torrent files based on a user-defined filter, and then sends the torrent files to a local or remote torrent client. Supports several different private trackers.
First thing you need to do is make sure the dependencies are installed. You will have to open a support ticket with the seedbox provider to have them do this for you, or ask them on IRC.
NOTE: Feralhosting claims that this is now done by default on all of their boxes, so it shouldn't be necessary with them.

To install your dependencies:
Code:
apt-get -y install libarchive-zip-perl libnet-ssleay-perl libhtml-parser-perl libxml-libxml-perl libdigest-sha1-perl libjson-perl libjson-xs-perl libxml-libxslt-perl
Your seedbox provider will most likely have irssi installed. If they don't just ask them to do it, I'm sure they will oblige.

Next, you need to ssh into your box and install autodl-irssi.
That can be done using the below code:
Code:
mkdir -p ~/.irssi/scripts/autorun
cd ~/.irssi/scripts
wget -O autodl-irssi.zip https://sourceforge.net/projects/aut...0.zip/download
unzip -o autodl-irssi.zip
rm autodl-irssi.zip
cp autodl-irssi.pl autorun/
mkdir -p ~/.autodl
touch ~/.autodl/autodl.cfg
Optional (but very helpful!): install the rutorrent plugin. This will help you to configure autodl-irssi.
To do this, change to the plugins directory.
On a feral hosting box, this will be something like:
Code:
cd ~
cd www/*.feralhosting.com/public_html/rutorrent/plugins
On a dedicated seedbox, it might be something like:
Code:
cd /var/www/rutorrent/plugins
Now install the autodl-irssi rutorrent plugin:
Code:
svn co https://autodl-irssi.svn.sourceforge...t/autodl-irssi
cp autodl-irssi/_conf.php autodl-irssi/conf.php
On a dedicated seedbox, the following would be needed (not on a slot with multiple users, i.e. this step is *not* needed for feralhosting):
Code:
chown -R www-data:www-data autodl-irssi
Now, you need to configure the passwords. Open the autodl-irsse/conf.php file with a text editor (use local "vi" if you know how, otherwise just ftp the file to your home PC!).
You must change both $autodlPort and $autodlPassword to values only known to you (keep in mind that the port number should be between 1024 and 65545). Here are samples:

Code:
<?php
/*
* Rename this file to conf.php. Make sure only your web server can read the renamed file!
*
* You need to edit ~/.autodl/autodl.cfg and add a few options to the [options] section
* # ...
* [options]
* gui-server-port = 12345
* gui-server-password = abcdef
* # ...
* 
* $autodlPort and gui-server-port must have the same value.
* $autodlPassword and gui-server-password must have the same value.
* The password cannot be blank.
*/

$autodlPort = 33333;
$autodlPassword = "password";

?>
Then, you must change the ~/.autodl/autodl.cfg file in your home directory. Add a [options] section to match the values above, for example:

Code:
[options]
gui-server-port = 33333
gui-server-password = password
For this very first time, you need to manually start irssi:
Code:
screen -d -m irssi
As well, you should do the following to start irssi if ever the seedbox reboots:
Code:
crontab -e
Then add the line:
Code:
@reboot /usr/bin/screen -d -m irssi

Your done! Now when you reload the rutorrent interface, there should be an autodl-irssi tab and a new autodl-irssi icon at the top for configuration.

Instructions for creating filters using the rutorrent plugin:
PluginAutodlirssi - rutorrent - Yet another web front-end for rTorrent - Google Project Hosting


Credit for this guide cannot go completely to me.
I took the outline of this guide from another website and adapted it to suit my own circumstances.