Install xmlrpc-c, libtorrent, rtorrent and rutorrent from svn

Set and create the dir we will use for svn checkouts

svnpath="/svn/"
sudo mkdir $svnpath
sudo chown -R $USER:$USER $svnpath

Install everything you will need and remove xmlrpc or else rtorrent will complain because it uses the one from the repos

sudo apt-get remove libxmlrpc-c*
sudo apt-get install subversion gcc apache2 curl libcurl4-openssl-dev automake autoconf texinfo libapache2-mod-scgi build-essential libtool openssl libsigc++-2.0-dev libncurses-dev libcppunit-dev php5 php5-cli screen

Configure, make and make install xmlrpc-c

cd "$svnpath"
svn co http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced xmlrpc-c
cd xmlrpc-c
./configure
make
sudo make install

Configure, make and make install libtorrent and rtorrent

cd "$svnpath"
svn co svn://rakshasa.no/libtorrent/trunk rtorrent
cd rtorrent
cd libtorrent
./autogen.sh
./configure
make
sudo make install
sudo ldconfig
cd ../rtorrent
./autogen.sh
./configure --with-xmlrpc-c
make
sudo make install

Install libxmlrpc-c3-dev

sudo apt-get install libxmlrpc-c3-dev

Get the latest rutorrent

cd $svnpath

svn co rutorrent

To enabel scgi in apache run

sudo a2enmod scgi

To add a scgi mount in apache edit /etc/apache2/httpd.conf

sudo nano /etc/apache2/httpd.conf
and add
SCGIMount /RPC2 127.0.0.1:5000

Then restart apache

sudo service apache2 restart

We also have to add the mount to your rtorrent conf file

In your ~/.rtorrent.rc file
nano ~/.rtorrent.rc
add
scgi_port = localhost:5000

Create a symbolic link to rutorrent in /var/www/

sudo ln -s $svnpath/rutorrent /var/www/

Change ownership of rutorrent/share/torrents/ and rutorrent/share/settings to the one who runs the apache2 server

Set www-data as group of rutorrent/share/torrents/ and rutorrent/share/settings/
sudo chown -R $USER:www-data $svnpath/rutorrent/share/torrents/ $svnpath/rutorrent/share/settings/
And allow the group (www-data) to edit those dirs
chmod g+w $svnpath/rutorrent/share/torrents/ $svnpath/rutorrent/share/settings/

Test

You can test rtorrent and rutorrent by running
cd /tmp/
rtorrent

To download lucid server iso to /tmp

Then check so rutorrent is working by going to

http://server/rutorrent/

ex.

It should not be any errors.

And that is all.

Running in bagground mode

You can get rtorrent to run in bagground mode, by having installed screen, it’s possible to start rtorrent (meaning it’s not running at this point, else this won’t work if rtorrent is already running!) with the command

screen rtorrent

and then detach the rtorrent interface in the terminal/ssh remote window by pressing

shift + a + d

and then close the terminal/ssh remote session window, and rtorrent will continue to run in the bagground…

 

Original article found here

They didn’t learn their history lesson … :/

As one of the leading blog platforms, WordPress.com receives thousands of DMCA takedown requests every year, but nearly half of these are rejected. Parent company Automattic is known to inspect all notices carefully, and has a track record of defending its users against DMCA abuse. In addition, it occasionally highlights the worst offenders in its…

via City of Abbotsford Enters WordPress’ DMCA “Hall of Shame” — TorrentFreak

Kick ass torrents. The DNS record gets a new home ?

Last summer a criminal investigation by the U.S. Government brought down KickassTorrents, the largest torrent site at the time. Upon request from the United States, law enforcement in Poland arrested Artem Vaulin, the alleged owner of KickassTorrents, who’s been held in a local prison ever since. In addition, the U.S. Department of Justice (DoJ) also…

via Original KickassTorrents Domain Goes Up For Sale — TorrentFreak

Spotify Helps to Beat Music Piracy, European Commission Finds – TorrentFreak

When Spotify launched its first beta in the fall of 2008 we branded it “an alternative to music piracy.”With the option to stream millions of tracks supported by an occasional ad, or free of ads for a small subscription fee, Spotify appeared to be a serious competitor to unauthorized downloading.

Source: Spotify Helps to Beat Music Piracy, European Commission Finds – TorrentFreak