What is a Seedbox?
Simply, a seedbox 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:
Make sure wget is installed to download the installer:yum update
Then we download the installer:yum install wget
And run it:wget --no-check-certificate https://raw.github.com/etiennerached/rutorrent-auto-installer-centos/master/rutorrent-installer.sh
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.
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.
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.
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.
Happy Torrenting!
Installing ruTorrent on Debian 6
First let's update all our current packages:Then we download the installer:apt-get update
And run it:wget --no-check-certificate https://raw.github.com/etiennerached/rutorrent-auto-installer-centos/master/rutorrent-installer.sh
orsh rutorrent-installer.sh
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.
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.
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.
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.
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:
Press "i" to go into editing mode, and replace:vi /var/rutorrent/rutorrent/plugins/autodl-irssi/AutodlFilesDownloader.js
withif ($.browser.msie)
Press ESC to exit editing mode. Press :w to save. Press :q to quit.if ($.browser={ msie: ( navigator.appName == 'Microsoft Internet Explorer') ? true : false })
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!
Have some questions? Leave us a comment below!
Good tutorial took less than 5 minutes to run the whole installer
ReplyDeleteBeen looking for two days for a working tutorial on how to install ruTorrent. Finally found it!
ReplyDeletevery good, congratulations!
ReplyDeleteBut how to make multi-user with this script?
Upon installing the script, you can create as many users as you want.
ReplyDeleteif you would like to create more users after the installation is completed, you can edit the configuration files and create new users.
could you please inform command for multiuser? also works in ubuntu this script?
DeleteHow to edit the configuration files and create new users?
DeleteAt the top of the script, you'll need to change the URL for xml-rpc to:
ReplyDeletehttps://svn.code.sf.net/p/xmlrpc-c/code/stable
The script will stop at that / break if you do not edit it.
Thanks for the script!
Furthermore, I believe another change is needed:
ReplyDeletehttps://svn.code.sf.net/p/autodl-irssi/code/trunk/rutorrent/autodl-irssi
Thanks for the script. Much appreciated.
There is a second change needed because a svn is changed:
ReplyDeleteFor autodl-irssi:
https://svn.code.sf.net/p/autodl-irssi/code/trunk/rutorrent/autodl-irssi
Thanks for the script!
Thank you,
DeleteThe script has been updated
Please can you update this form i try to make rutorrent on a debian server but i stop working before no problems and now error please help this isseu.
ReplyDeleteits a good delay
thanks for the job.
greets Patrick
The script had two outdated SVNs, it's fixed and working now
Deletethe script stop in this line:
ReplyDeleteDownloading xmlrpc-c source code...
svn: Repository moved permanently to 'https://svn.code.sf.net/p/xmlrpc-c/code/stable'; please relocate
please solve this problem.
vi autodl-setup and replace XMLRPC-C svn directory with 'https://svn.code.sf.net/p/xmlrpc-c/code/stable'
DeleteThe Script has been updated and fixed.
DeleteYou forgot to include:
ReplyDeleteyum install wget
Thanks, I've added it
Deletedont work for my vps 256 mb debian 6 squeeze
ReplyDeletei got this error every time: http://anonpic.ws/i/WpUI1.png
Hello, I doubt that this is from the script
DeleteIt seems your ssh connection to the server is timing out
Do you have any burst or vswap RAM on your vps?
no i dont have any burst or vswap RAM. i have only a 256 mb RAM and 100MBiT Uplink. can you change the settings a little bit for my vps, so i can use your script? thanks.
DeleteWith CentOS and vsftpd users cannot change to the HOME directory:
ReplyDelete500 OOPS: cannot change directory:/home/...
This can be solved by using the following command as root:
setsebool -P ftp_home_dir on
Worked swiftly on my vps
ReplyDeletethanks a lot for this great tutorial.
You're welcome, Glad to hear it worked
Delete