PDA

View Full Version : BitTorrent HOW TO INSTALL rTorrent/libTorrent on UBUNTU SERVER



dreamtracker
08-15-2007, 07:47 PM
Hello to all :D
...for first , sorry for my bad english:D

Many weeks for find info regarding rTorrent
i looking one torrent client without GUI
becouse my server no have one

I think one good guide for rTorrent/libTorrent
is necessary in this great forum;)

I have installed rTorrent on my server ubuntu 6.0.6
and run great :D(speedy and light)

For new users of this COOL client
i posted here all you need for install:w00t:
all information see on the net:D

OFFICIAL WEB SITE :
http://libtorrent.rakshasa.no/


--------------------------------------------------------------------------------------------------

---rTorrent is a text-based (ncurses) BitTorrent client written in C++ and based on the libTorrent libraries. It differentiates itself from other clients by high performance and speed (3 times faster than the official BitTorrent client). It also doesn't need a graphical interface to run and can be managed remotely through an SSH connection which makes it suitable for running on servers and other machines without graphical interface. So besides its speed and low resources requirements, it provides a rather high maneuverability, as it can be controlled from basically any computer connected to the Internet.

Unfortunately, the Ubuntu repository provides an older version (0.5.3), as opposed to the version available as source package on the website (0.7.1). The difference between the two versions includes several bug fixes and new features available in the latest version.

PREQUISITES

Before installing rTorrent, you'll need to clean your system if you have installed the version available in the repository. To do this, open a terminal and type:



sudo apt-get remove rtorrent libtorrent7


Next, install the dependencies and prepare your system for compiling:


sudo apt-get install build-essential libsigc++-2.0-dev pkg-config comerr-dev libcurl3-openssl-dev libidn11-dev libkadm55 libkrb5-dev libssl-dev zlib1g-dev libncurses5 libncurses5-dev


INSTALLING

Now, download the libtorrent and rTorrent source packages and install them in this order. To do this, follow these instructions:



cd /tmp
wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.1.tar.gz
wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.1.tar.gz


tar xfz libtorrent-0.11.1.tar.gz
cd libtorrent-0.11.1
./configure
make
sudo make install



cd
tar xfz rtorrent-0.7.1.tar.gz
cd rtorrent-0.7.1
./configure
make
sudo make install


AVOID FIREWALL


On most Linux systems, a firewall blocks if not all, then most of the ports so running a torrent client inside a locked-down machine will result in connectivity loss and low transfer rates. To avoid this, run the following command in a terminal to ensure the ports used by rTorrent will be open:



sudo iptables -A INPUT -p tcp --dport 6890:6999 -j ACCEPT


RUNNING rTorrent – QUICK QUIDE

You system is now ready to run rTorrent. Open a terminal and type:



rtorrent


If this is the first time running rTorrent, you'll be a little confused as there are no toolbars or buttons - rTorrent is used through keyboard shortcuts. These are the basic keys for using rTorrent:

Increase the upload speed limit by 1/5/50 KB - a/s/d
Decrease the upload speed limit by 1/5/50 KB - z/x/c
Increase the download speed limit by 1/5/50 KB - A/S/D (shift + a)
Decrease the download speed limit by 1/5/50 KB - Z/X/C

Load a torrent - backspace (use TAB to auto-complete torrent name)
Select items - up/down arrow
Switch to torrent/download view - left/right arrow
Quit - Ctrl + q

In download view:
Adjust uploads no - 1/2
Adjust min peers no - 3/4
Adjust max peers no - 5/6
Adjust file priority (in File list) - spacebar for single file / * (shift+8) for all files

For more control keys, open a terminal and type
man rtorrent

-------------------------------------------------------------------------------------------------

When you started rtorrent for the very first time, you probably saw a warning message that told you there wasn’t a .rtorrent.rc file to follow. That configuration file is what morphs rtorrent from a mild-mannered, law-abiding console gimmick into an unholy torrent-wrangling banshee.

In Ubuntu, the sample rtorrent configuration file is hiding at /usr/share/doc/rtorrent/examples/rtorrent.rc. Copy one for your own perusal, and give it the proper hidden file prefix.


cp /root/rtorrent-0.7.1/doc/rtorrent.rc ~/.rtorrent.rc

for change port default (6890:6999) edited file
.rtorrent.rc


from :


# Port range from where rTorrent will try to connect;
port_range = 6892:6892

to :


Port range from where rTorrent will try to connect;
port_range = 49152:65535

---------------------------------------------------------------------------------------------------

some shoot:


http://polishlinux.org/reviews/rtorrent/rtorrent_new.png




http://polishlinux.org/reviews/rtorrent/rtorrent_download.png

----------------------------------------------------------------------------------------------------
I hope this little guide help new users of rTorrent
suggestion or news ...are welcome!!

that's all :D

dreamtracker
08-16-2007, 08:51 AM
Hello
I want add little information regarding MAC users.
Yes, rTorrent is possible run under MAC os X with darwinports.

Download darwinports:

http://darwinports.com/


and later follow this tutorial:

http://rtorrent.darwinports.com

that' s all :D

priyaiyer
08-17-2007, 01:08 AM
thax for the info

jamie
11-22-2007, 10:20 PM
Great job...thanks!

vizard
01-10-2008, 03:28 PM
Hey guys im currently installing ubuntu ( as i type this ) are rtorrent and libtorrent good for doing a seedbox? do they have built in trackers?

kloot
01-10-2008, 04:39 PM
thanks for the tutorial! I am compiling the packages now! :)

redmong
01-11-2008, 08:59 AM
oh~thanks

rivendail
01-11-2008, 03:42 PM
semms inntesting
have someone tryied it?

H I D E
01-14-2008, 07:05 PM
thax man !

cinowell
05-17-2008, 04:22 PM
Thanks

Hero
05-19-2008, 05:09 AM
What A Great Tutorial