All credit goes to Author brock from forums.rutorrent.org original post here for reference also check there for faq questions regarding his script
Â
This is an easy installer for ruTorrent (multi-user support), rtorrent, plugins and other dependencies. It requires no Linux knowledge. The only requirement is that you can copy and paste three lines of code. In 5-10 mins, you should have a fully working ruTorrent.
To install it, use one of the three lines of code below, depending on which OS you are using. The installation script will ask you some questions and then install everything you selected.
Ubuntu and Ubuntu clones:
cd
wget --no-check-certificate -O autodl-setup http://sourceforge.net/projects/autodl-irssi/files/autodl-setup/download
sudo sh autodl-setup
Any other OS
Log in as root:
yum update
allow it to update all
su -
Then install it:Â to install wget on centos use "yum install wget"
wget --no-check-certificate -O autodl-setup http://sourceforge.net/projects/autodl-irssi/files/autodl-setup/download
sh autodl-setup
If you already have another web server installed, you may need to disable it or uninstall it. If you don't, the web server this script installs (*) might not work.
What it will do:
- Install a web server (*)
- Install ruTorrent with multi-user support (http and https)
- Install 1st party ruTorrent plugins
- Install an encrypted FTP server (vsftpd)
- Install rtorrent with xmlrpc-c support
- Install the IRC auto downloader plugin (autodl-irssi)
- Install Webmin
- Install a startup script for rtorrent and Irssi
You can disable any of the above by answering no when you run the installer.
* Apache, nginx, or lighttpd.
I've tested the following OSes (clean installs):
- Arch Linux 2010.05
- ArchBang 2010.10
- CentOS 4.8
- CentOS 5.5
- ClearOS 5.2
- Debian 4.0r7
- Debian 5.0.3
- Debian 5.0.7
- Debian 6.0.0
- Fedora 13
- Fedora 14
- Fedora 15
- Frugalware 1.3
- Gentoo 1.12.14
- Linux Mint 8
- Linux Mint 9
- Linux Mint 10
- Mandriva Linux release 2008.0
- Mandriva Linux release 2010.1
- MEPIS 8.5
- openSUSE 11.1
- openSUSE 11.3
- openSUSE 11.4
- Pardus 2009.2
- Pardus 2011
- PCLinuxOS 2010
- Peppermint OS
- RHEL 5.5
- RHEL 6.0
- Sabayon 5
- Scientific Linux 5.5
- Scientific Linux 6.0
- Ubuntu Server 6.06.2 LTS
- Ubuntu Server 8.04.4 LTS
- Ubuntu Server 10.04.1 LTS
- Ubuntu Server 11.04
- Ubuntu 10.10
- Unity release 2010
If your OS isn't listed, but is derived from one of the above OSes, then the installer could still work. Eg., all Ubuntu and Debian derived OSes should work.
Issues:
SELinux:
- If you have SELinux enabled, it's possible Apache or vsftpd won't work.
- To disable Selinux.
- Edit /etc/selinux/config (e.g. $sudo vi /etc/selinux/config)
Find the line:
SELINUX=enforcing
If you simply want to set selinux to permissive mode - which will still warn you when something would have been denied
change to
SELINUX=disabled
Firewall:
- The script doesn't open any ports in your firewall. If your firewall is enabled, you may need to open a few ports.
- if u cant access webgui use "iptables -F"
Ubuntu Server 6:
- You need to enable the universe repository
RHEL/CentOS/Scientific 4 & 5:
- You may need to add and enable a 3rd party repository, eg. EPEL, and another one for PHP 5.3, eg. remi (http://blog.famillecollet.com/pages/Config-en)
geoip plugin:
- Some OSes don't have the PHP geoip module (thus disabling the ruTorrent geoip plugin).