ruTorrent – How to auto install on CentOS and Debian

Installing ruTorrent on CentOS and Debian

ruTorrent Logo

WHAT IS A SEEDBOX?

Simply, a seedbox (like ruTorrent) is a server used for downloading and uploading files. A seedbox is usually used to run and download torrents which can later be downloaded through FTP.

Seedboxes have a very fast internet connection (100 mbps, 1gbps…)
I’m going to use a script to auto install everything to avoid some hardcore configurations. This is the quickest method of turning a server into a seedbox. It was tested on a fresh CentOS6 64 bit installation and a fresh Debian6 64 bit installation. The server has 256 MB RAM and 512 MB Burst RAM, although 256MB should be fine.

INSTALLING RUTORRENT ON CENTOS 6

First let’s update all our current packages:

yum update

Make sure wget is installed to download the installer:

yum install wget

Then we download the installer:

wget –no-check-certificate https://raw.github.com/etiennerached/rutorrent-auto-installer-centos/master/rutorrent-installer.sh

And run it:

sh rutorrent-installer.sh
The installer will start, you can keep the default settings by pressing enter, or just choose the ones you want.
I’m going to use Apache as the web server and install ruTorrent to manage the torrents from a web interface.
Seedbox Installation
Next, we create a torrent user, I will call mine “tor” for this tutorial. And we install the FTP server with a secure encrypted connection (FTPES), I will choose port number 666.
If you would like to manage your server from a web-interface, you can install webmin, which by default will run on port 10000.
Seedbox Installation
After choosing all the settings, we press Enter to install and configure. This might take around 5 minutes, depending on the server speed. If Webmin is to be installed, more configuration has to be done after few minutes, pressing enter and leaving the default value is OK.
To access the webinterface, go to your-domain-name/rutorrent, or Server-IP-Address/rutorrent, enter the username you chose (tor in my case) and the password.
ruTorrent Interface
To access the FTP, make sure you choose the port number that was selected during the installation (666 in this tutorial), and select FTP over explicit TLS or SSL. Make sure you accept the certificate. The downloaded files will be located in the downloads directory.
Ftp

Happy Torrenting!

INSTALLING RUTORRENT ON DEBIAN 6

First let’s update all our current packages:

apt-get update

Then we download the installer:

wget –no-check-certificate https://raw.github.com/etiennerached/rutorrent-auto-installer-centos/master/rutorrent-installer.sh

And run it:

sh rutorrent-installer.sh

or

sudo rutorrent-installer.sh
The installer will start, you can keep the default settings by pressing enter, or just choose the ones you want.
I’m going to use Apache as the web server and install ruTorrent to manage the torrents from a web interface.
Seedbox Installation
Next, we create a torrent user, I will call mine “tor” for this tutorial. And we install the FTP server with a secure encrypted connection (FTPES), I will choose port number 666.
If you would like to manage your server from a web-interface, you can install webmin, which by default will run on port 10000.
Seedbox Installation
After choosing all the settings, we press Enter to install and configure. This might take around 5 minutes, depending on the server speed. If Webmin is to be installed, more configuration has to be done after few minutes, pressing enter and leaving the default value is OK.
To access the webinterface, go to your-domain-name/rutorrent, or Server-IP-Address/rutorrent, enter the username you chose (tor in my case) and the password.
ruTorrent Interface

If the webinterface is not loaded correctly, try to re-install irssi.

sudo apt-get install irssi
To access the FTP, make sure you choose the port number that was selected during the installation (666 in this tutorial), and select FTP over explicit TLS or SSL. Make sure you accept the certificate. The downloaded files will be located in the downloads directory.
FTP Login

NOTE:

If you get the below error when you access rutorrent:

AutodlIrssiTab._getNewLines: Exception info: name = TypeError; message = $.browser is undefined; fileName = https://xxx.xxx.xxx.xxx/rutorrent/plugins/autodl-irssi/AutodlFilesDownloader.js; lineNumber = 28;

or

Error downloading files. Make sure autodl-irssi is started and configured properly (eg. password, port number): AutodlFilesDownloader.downloadAllFiles: Exception info: name = TypeError; message = $.browser is undefined; fileName = https://xxx.xxx.xxx.xxx/rutorrent/plugins/autodl-irssi/AutodlFilesDownloader.js; lineNumber = 28;

Go back to SSH and type the following command:

vi /var/rutorrent/rutorrent/plugins/autodl-irssi/AutodlFilesDownloader.js

Press “i” to go into editing mode, and replace:

if ($.browser.msie)

with

if ($.browser={ msie: ( navigator.appName == ‘Microsoft Internet Explorer’) ? true : false })

Press ESC to exit editing mode. Press :w to save. Press :q to quit.

If you are on CentOS 7:
Apache and mod_scgi does not work well on CentOS 7 yet. If you are on CentOS 7 You should choose nginx for now while installing.

And make sure to allow the http/https ports in the firewall:

sudo firewall-cmd –permanent –zone=public –add-service=http
sudo firewall-cmd –permanent –zone=public –add-service=https
sudo firewall-cmd –reload

Happy Torrenting!

Install Transmission Client to RHEL / CentOS 6

Torrent Guide – Install Transmission Client to RHEL / CentOS 6

transmission

Transmission Bittorrent Client

Transmission is an open source and extremely lightweight Bittorrent client. It is available for any OS and comes with it’s own GUI interface.

Although Transmission is not as popular as rTorrent/ruTorrent for seedboxes, it is still a strong solid choice as it does not require a web server to be deployed on the OS and has a light memory footprint allowing for it to run in very-low ram VPS environments.

Installing Transmission-BT to CentOS 6

For this guide I will be using CentOS 6, but any RHEL distro should work with similar commands.

Transmission can be installed quite easily through the repositories, however it is not part of the default Red Hat repositories. First we will need to install the EPEL repository to our server:

You can find the lastest EPEL repositories here:

https://fedoraproject.org/wiki/EPEL

For simplicity sake you can always just following my guide with version as of time of this writing, as it will be updated when you do an upgrade anyways.

1
2
wget http://mirror.pnl.gov/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm

Now with this repository added we can install Transmission via yum

1
2
yum -y update
yum -y install transmission transmission-daemon

Then start the process:

1
service transmission-daemon start

Test Transmission

Transmission uses port 9091 by default, try it now using your server’s IP or FQDN.

You will either see Transmission load, or you will see an error like this:

Transmission_-_2014-04-21_14.36.17

The reason for this error is because Transmission is setup by default to only accept connections from localhost. If you get this error proceed to the next step…

Configure Transmission For Remote Access

Before we modify the configuration we’ll want to stop the service. This is important!! Transmission will write it’s setting files on shutdown, so if we edit the settings now and “restart” Transmission then our changes just get overwritten.

1
service transmission-daemon stop

Now we can make changes to the settings.json file. Transmission will automatically write it’s config to the user’s home directory. By default the daemon process will be using “Transmission” user which is set to /var/lib/transmission rather then using the /home folders.

If you have trouble finding your settings.json you can always use the findcommand:

1
find / -name settings.json

Edit the settings.json file once you’ve located it:

1
nano /var/lib/transmission/.config/transmission/settings.json

Find the following lines:

    "rpc-whitelist": "127.0.0.1",
    "rpc-whitelist-enabled": true,

Change this according to your preferences. When a “White List” is set it means only those IP addresses can access the software. If you want to use the White List then set the appropriate IP addresses here. Otherwise we can just set the whitelist to false like so:

    "rpc-whitelist": "127.0.0.1",
    "rpc-whitelist-enabled": false,

Start our service back up:

1
service transmission-daemon start

And test:

Transmission_Web_Interface_-_2014-04-21_14.44.55

Success!

ruTorrent Restart

Login to Your client area (https://clients.santrex.net/clientarea.php) on santrex.net then go to products (https://clients.santrex.net/clientarea.php?action=products).

On the right side of Your seedbox account there is a icon product details, click it.

Bellow the seedbox account informations You will see 3 links.

Login: RUtorrent – FTP
Functions: Restart

Use Function Restart then wait 1-5minutes.Login to Your client area (https://clients.santrex.net/clientarea.php) on santrex.net then go to products (https://clients.santrex.net/clientarea.php?action=products).

On the right side of Your seedbox account there is a icon product details, click it.

Bellow the seedbox account informations You will see 3 links.

Login: RUtorrent – FTP
Functions: Restart

Use Function Restart then wait 1-5minutes.

Proxy

If you would like to use your proxy service that comes free of charge with your seedbox to connect to trackers using your seedbox hostname/ip then please use your hostname which in this case is your servername.santrex.net where servername is your server name that you’ve been delivered then use your username and password port 10080If you would like to use your proxy service that comes free of charge with your seedbox to connect to trackers using your seedbox hostname/ip then please use your hostname which in this case is your servername.santrex.net where servername is your server name that you’ve been delivered then use your username and password port 10080

Flashget

Please kindly download flashget at http://www.flashget.com/en/download.htm then simply install it and download off your seedbox by using internet explorer or firefox then entering your santrex server name example ftp://servername.santrex.net then sign in by using your username and password. Once you login select the files you want to download and then download them using flashget that should give you the most optimum speeds, flashget uses a multi instance technique to achieve fast speeds off your remote host.Please kindly download flashget at http://www.flashget.com/en/download.htm then simply install it and download off your seedbox by using internet explorer or firefox then entering your santrex server name example ftp://servername.santrex.net then sign in by using your username and password. Once you login select the files you want to download and then download them using flashget that should give you the most optimum speeds, flashget uses a multi instance technique to achieve fast speeds off your remote host.

Error: Bad link to rTorrent. Check if it is really running

Login to Your client area (https://clients.santrex.net/clientarea.php) on santrex.net then go to products (https://clients.santrex.net/clientarea.php?action=products).

On the right side of Your seedbox account there is a icon product details, click it.

Bellow the seedbox account informations You will see 3 links.

Login: RUtorrent – FTP
Functions: Restart

Use Function Restart then wait 1-5minutes.

If that won’t help please contact support.Login to Your client area (https://clients.santrex.net/clientarea.php) on santrex.net then go to products (https://clients.santrex.net/clientarea.php?action=products).

On the right side of Your seedbox account there is a icon product details, click it.

Bellow the seedbox account informations You will see 3 links.

Login: RUtorrent – FTP
Functions: Restart

Use Function Restart then wait 1-5minutes.

If that won’t help please contact support.