{"id":64,"date":"2013-03-31T21:52:00","date_gmt":"2013-03-31T21:52:00","guid":{"rendered":"https:\/\/www.tech-and-dev.com\/blog\/2013\/03\/31\/installing-rutorrent-on-centos-and-debian\/"},"modified":"2021-02-22T01:28:48","modified_gmt":"2021-02-22T01:28:48","slug":"installing-rutorrent-on-centos-and-debian","status":"publish","type":"post","link":"https:\/\/www.tech-and-dev.com\/blog\/2013\/03\/installing-rutorrent-on-centos-and-debian.html","title":{"rendered":"Installing ruTorrent on CentOS and Debian"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<p>&nbsp;<\/p>\n<div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"clear: both; text-align: center;\"><img decoding=\"async\" title=\"ruTorrent Logo\" src=\"https:\/\/www.tech-and-dev.com\/blog\/wp-content\/uploads\/2021\/02\/rutorrent.png\" alt=\"ruTorrent Logo\" border=\"0\" \/><\/div>\n<h2 style=\"text-align: left;\">What is a Seedbox?<\/h2>\n<div style=\"text-align: justify;\">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.<\/div>\n<div style=\"text-align: justify;\">Seedboxes have a very fast internet connection (100 mbps, 1gbps&#8230;)<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\">I&#8217;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.<\/div>\n<h2 style=\"text-align: left;\">Installing ruTorrent on CentOS 6<\/h2>\n<p><span style=\"color: blue;\">First let&#8217;s update all our current packages:<\/span><\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">yum update<\/span><\/span><\/div>\n<\/blockquote>\n<p><span style=\"color: blue;\">Make sure wget is installed to download the installer:<\/span><\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">yum install wget<\/span><\/span><\/div>\n<\/blockquote>\n<p><span style=\"color: blue;\">Then we download the installer:<\/span><\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">wget &#8211;no-check-certificate https:\/\/raw.github.com\/etiennerached\/rutorrent-auto-installer-centos\/master\/rutorrent-installer.sh<\/span><\/span><\/div>\n<\/blockquote>\n<p><span style=\"color: blue;\">And run it:<\/span><\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">sh <\/span><\/span><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">rutorrent-installer.sh<\/span><\/span><\/div>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify;\">The installer will start, you can keep the default settings by pressing enter, or just choose the ones you want.<\/div>\n<div style=\"text-align: justify;\"><span style=\"color: blue;\">I&#8217;m going to use Apache as the web server and install ruTorrent to manage the torrents from a web interface.<\/span><\/div>\n<p>&nbsp;<\/p>\n<div style=\"clear: both; text-align: center;\"><img decoding=\"async\" title=\"ruTorrent Installation\" src=\"https:\/\/www.tech-and-dev.com\/blog\/wp-content\/uploads\/2021\/02\/ruTorrentinstallation.png\" alt=\"Seedbox Installation\" border=\"0\" \/><\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify;\">Next, <span style=\"color: blue;\">we create a torrent user<\/span>, I will call mine <b>&#8220;tor&#8221;<\/b> for this tutorial. And <span style=\"color: blue;\">we install the FTP server with a secure encrypted connection (FTPES)<\/span>, I will choose port number 666.<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\">If you would like to manage your server from a web-interface, <span style=\"color: blue;\">you can install webmin<\/span>, which by default will run on port 10000.<\/div>\n<div style=\"clear: both; text-align: center;\"><img decoding=\"async\" title=\"ruTorrent Installation\" src=\"https:\/\/www.tech-and-dev.com\/blog\/wp-content\/uploads\/2021\/02\/ruTorrentinstallation2.png\" alt=\"Seedbox Installation\" border=\"0\" \/><\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify;\">After choosing all the settings, <span style=\"color: blue;\">we press Enter to install and configure<\/span>. 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.<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: blue;\">To access the webinterface, <span style=\"color: black;\">go to your-domain-name\/rutorrent, or Server-IP-Address\/rutorrent, enter the username you chose (tor in my case) and the password.<\/span><\/span><\/div>\n<p>&nbsp;<\/p>\n<div style=\"clear: both; text-align: center;\"><img loading=\"lazy\" decoding=\"async\" title=\"ruTorrent\" src=\"https:\/\/www.tech-and-dev.com\/blog\/wp-content\/uploads\/2021\/02\/ruTorrentinstallation3.png\" alt=\"ruTorrent Interface\" width=\"400\" height=\"192\" border=\"0\" \/><\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify;\"><span style=\"color: blue;\">To access the FTP,<\/span> 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 <i>downloads<\/i> directory.<\/div>\n<div style=\"clear: both; text-align: center;\"><img decoding=\"async\" title=\"Ftp\" src=\"https:\/\/www.tech-and-dev.com\/blog\/wp-content\/uploads\/2021\/02\/ruTorrentinstallation4.png\" alt=\"Ftp\" border=\"0\" \/><\/div>\n<p>Happy Torrenting!<\/p>\n<h2 style=\"text-align: left;\">Installing ruTorrent on Debian 6<\/h2>\n<p><span style=\"color: blue;\">First let&#8217;s update all our current packages:<\/span><\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">apt-get update<\/span><\/span><\/div>\n<\/blockquote>\n<p><span style=\"color: blue;\">Then we download the installer:<\/span><\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">wget &#8211;no-check-certificate https:\/\/raw.github.com\/etiennerached\/rutorrent-auto-installer-centos\/master\/rutorrent-installer.sh<\/span><\/span><\/div>\n<\/blockquote>\n<p><span style=\"color: blue;\">And run it:<\/span><\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">sh <\/span><\/span><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">rutorrent-installer.sh<\/span><\/span><\/div>\n<\/blockquote>\n<p>or<\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">sudo <\/span><\/span><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">rutorrent-installer.sh<\/span><\/span><\/div>\n<\/blockquote>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\">The installer will start, you can keep the default settings by pressing enter, or just choose the ones you want.<\/div>\n<div style=\"text-align: justify;\"><span style=\"color: blue;\">I&#8217;m going to use Apache as the web server and install ruTorrent to manage the torrents from a web interface.<\/span><\/div>\n<p>&nbsp;<\/p>\n<div style=\"clear: both; text-align: center;\"><img decoding=\"async\" title=\"ruTorrent Installation\" src=\"https:\/\/www.tech-and-dev.com\/blog\/wp-content\/uploads\/2021\/02\/ruTorrentinstallation.png\" alt=\"Seedbox Installation\" border=\"0\" \/><\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify;\">Next, <span style=\"color: blue;\">we create a torrent user<\/span>, I will call mine <b>&#8220;tor&#8221;<\/b> for this tutorial. And <span style=\"color: blue;\">we install the FTP server with a secure encrypted connection (FTPES)<\/span>, I will choose port number 666.<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\">If you would like to manage your server from a web-interface, <span style=\"color: blue;\">you can install webmin<\/span>, which by default will run on port 10000.<\/div>\n<div style=\"clear: both; text-align: center;\"><img decoding=\"async\" title=\"ruTorrent Installation\" src=\"https:\/\/www.tech-and-dev.com\/blog\/wp-content\/uploads\/2021\/02\/ruTorrentinstallation2.png\" alt=\"Seedbox Installation\" border=\"0\" \/><\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify;\">After choosing all the settings, <span style=\"color: blue;\">we press Enter to install and configure<\/span>. 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.<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: blue;\">To access the webinterface, <span style=\"color: black;\">go to your-domain-name\/rutorrent, or Server-IP-Address\/rutorrent, enter the username you chose (tor in my case) and the password.<\/span><\/span><\/div>\n<p>&nbsp;<\/p>\n<div style=\"clear: both; text-align: center;\"><img loading=\"lazy\" decoding=\"async\" title=\"ruTorrent Interface\" src=\"https:\/\/www.tech-and-dev.com\/blog\/wp-content\/uploads\/2021\/02\/ruTorrentinstallation3.png\" alt=\"ruTorrent Interface\" width=\"400\" height=\"192\" border=\"0\" \/><\/div>\n<p>If the webinterface is not loaded correctly, try to re-install irssi.<\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Courier New',Courier,monospace;\">sudo apt-get install irssi<\/span><\/span><\/div>\n<\/blockquote>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: blue;\">To access the FTP,<\/span> 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 <i>downloads<\/i> directory.<\/div>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/www.tech-and-dev.com\/blog\/wp-content\/uploads\/2021\/02\/ruTorrentinstallation4.png\"><img decoding=\"async\" title=\"FTP Login\" src=\"https:\/\/www.tech-and-dev.com\/blog\/wp-content\/uploads\/2021\/02\/ruTorrentinstallation4.png\" alt=\"FTP Login\" border=\"0\" \/><\/a><\/div>\n<h2 style=\"text-align: left;\">Note:<\/h2>\n<p><span style=\"color: blue;\">If you get the below error <span style=\"color: black;\">when you access rutorrent:<\/span><\/span><\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-family: 'Courier New',Courier,monospace; font-size: small;\">AutodlIrssiTab._getNewLines: Exception info: name = TypeError; message = $.browser is undefined; fileName = https:\/\/xxx.xxx.xxx.xxx\/rutorrent\/plugins\/autodl-irssi\/AutodlFilesDownloader.js; lineNumber = 28;<\/span><\/div>\n<\/blockquote>\n<div style=\"text-align: justify;\">\n<p>or<\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-family: 'Courier New',Courier,monospace; font-size: small;\">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;<\/span><\/div>\n<\/blockquote>\n<\/div>\n<p>Go back to SSH and type the following command:<\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-family: 'Courier New',Courier,monospace; font-size: small;\">vi \/var\/rutorrent\/rutorrent\/plugins\/autodl-irssi\/AutodlFilesDownloader.js<\/span><\/div>\n<\/blockquote>\n<p>Press &#8220;<span style=\"color: #cc0000;\">i<\/span>&#8221; to go into editing mode, and replace:<\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-family: 'Courier New',Courier,monospace; font-size: small;\">if ($.browser.msie)<\/span><\/div>\n<\/blockquote>\n<p>with<\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\"><span style=\"font-family: 'Courier New',Courier,monospace; font-size: small;\">if ($.browser={ msie: ( navigator.appName == &#8216;Microsoft Internet Explorer&#8217;) ? true : false })<\/span><\/div>\n<\/blockquote>\n<p>Press <b><span style=\"color: #cc0000;\">ESC<\/span><\/b> to exit editing mode. Press <b><span style=\"color: #cc0000;\">:w<\/span><\/b> to save. Press <b><span style=\"color: #cc0000;\">:q<\/span><\/b> to quit.<\/p>\n<p><span style=\"color: blue;\">If you are on CentOS 7:<\/span><br \/>\nApache 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.<\/p>\n<p>And make sure to allow the http\/https ports in the firewall:<\/p>\n<blockquote>\n<div style=\"background-color: #cccccc; padding: 5px;\">sudo firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=http<br \/>\nsudo firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=https<br \/>\nsudo firewall-cmd &#8211;reload<\/div>\n<\/blockquote>\n<p>Happy Torrenting!<\/p>\n<p><b>Have some questions? Leave us a comment below! <\/b><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; 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&#8230;) I&#8217;m going to use a script to auto install everything to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[48,17,24,6,80,79,31,4],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-apache","category-centos","category-debian","category-linux","category-rtorrent","category-rutorrent","category-server","category-ubuntu"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tech-and-dev.com\/blog\/wp-json\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tech-and-dev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tech-and-dev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tech-and-dev.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tech-and-dev.com\/blog\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":3,"href":"https:\/\/www.tech-and-dev.com\/blog\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":406,"href":"https:\/\/www.tech-and-dev.com\/blog\/wp-json\/wp\/v2\/posts\/64\/revisions\/406"}],"wp:attachment":[{"href":"https:\/\/www.tech-and-dev.com\/blog\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tech-and-dev.com\/blog\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tech-and-dev.com\/blog\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}