Hi Folks,
rtorrent is a quite powerful text based torrent client for *nux. GUI is not necessary when you use rtorrent cause its text based user interface so user friendly. However some guys make a GUI interface for rtorrent which uses apache webserver and php called rutorrent. We can say rutorrent is like rtorrent+utorrent with this web GUI.
There is a lot of tutorial about how to install rutorrent on Ubuntu but almost every of them install rtorrent form scratch, it don't work me cause my rtorrent's config and performance is ok and i don't want to mess with it.
rutorrent basically fetch data from rtorrent's text based interface and turn into a web GUI which seems much friendly for many users (actually i doesn't care about how it looks as long as it works properly). So it doesn't have to be installed from scracth, i can make it fetch that data from rtorrent with necessary file installation and configurations.
First of all,
You need to install apache2 and its module scgi,
apt-get install apache2
apt-get install libapache2-mod-scgi
They will be downloaded and automatically installed after that you need to enable necessary modules for ssl, scgi...
a2enmod ssl
a2enmod auth_digest
a2enmod scgi
Apache conf file needs to be aware of scgi support
vi /etc/apache2/apache2.conf
Add the following line at the end of the conf file
SCGIMount /RPC2 127.0.0.1:5000
servername localhost
Reload apache server to enable new settings
/etc/init.d/apache2 reload
Apache installation is ok now if would like to add ssl security and password protection, i strongly recommend that however this guide doesn't cover them.
rutorrent uses php os you need to install php also with,
apt-get install php5
It will be downloaded and automatically installed.
Now we're ready for installation of rutorrent, you need svn for install rutorrent automatically.
apt-get install subversion
It will be downloaded and automatically installed.
Let get the lastest installation files from rutorrent website,
cd /var/www
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/rutorrent
And it's all plug-ins
cd rutorrent/plugins
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/erasedata
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/create
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/trafic
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/edit
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/retrackers
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/cookies
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/search
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/scheduler
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/autotools
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/datadir
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/tracklabels
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/geoip
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/ratio
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/seedingtime
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/diskspace
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/data
Many of this working with the lastest rtorrent version so they might be not working but generally it doesn't effect the way rutorrent work.
Now lets change ownership of the rutorrent files to the web server user, and change the permissions on them
cd /var/www
sudo chown -R www-data:www-data rutorrent
sudo chmod -R 777 rutorrent
That's it now you can access your rutorrent GUI
http://ip or servername/rutorrent
Ok, here is some update about php interpreter problem. According to rutorrent code page,
rutorrent needs php-cli package installed in system. So to do that
"apt-get install php5-cli"
Then refresh your rutorrent GUI and in logger window you will see less erros and many features
start to work.
I hope you find it useful
Cheers
Typhoon Master
Subscribe to:
Post Comments (Atom)
Thank you very much !
ReplyDelete