Rtorrent + Screen On Centos6
Rtorrent + Screen On Centos6
Rtorrent + Screen On Centos6
June How to get SVN+SSH Working on Windows with a CLI SVN Client Grab Bag #2 (Powershell, Regex, rsync) PowerShell function to connect to MSSQL Database Grab bag #1 Get Powershell and Command Script (Batch) files to play nice together SpecFlow project uses incorrect step definition or throws an ambiguous step error Setup rtorrent + GNU Screen on Centos 6 May April March February January 2011 Tags Home > Articles > Setup rtorrent + GNU Screen on Centos 6
Copy the sigc++-2.0.pc file from /usr/lib/pkgconfig to /usr/lib64/pkgconfig On my system this was necessary to get libtorrent to compile: cp /usr/local/lib/pkgconfig/sigc++-2.0.pc /usr/lib64/pkgconfig/sigc++-2.0.pc (YMMV) Install libtorrent Can be downloaded from their download site Decompress & run through the familiar make process: ./configure --prefix=/usr make sudo make install Configure libtorrent to be available when rTorrent is compiled. I ran the following pkg-config commands to make this work:
work:
updatedb locate pkgconfig | grep libtorrent.pc Take the directory that was output by the grep command and use it to set the PKG_CONFIG_PATH environment variable: export PKG_CONFIG_PATH=/usr/lib64/pkgconfig (this is the path from my system, YMMV)
Note: exporting the PKG_CONFIG_PATH variable is redundand if you did this when installing libsigc++ Copy the libtorrent.pc file from /usr/lib/pkgconfig to /usr/lib64/pkgconfig On my system this was necessary to get rtorrent to compile: cp /usr/local/lib/pkgconfig/libtorrent.pc /usr/lib64/pkgconfig/libtorrent.pc (YMMV)
#download_rate = 0 upload_rate = 50 Limit how much the torrent client seeds (Primary purpose is download) # Stop torrents when reaching upload ratio in percent, # when also reaching total upload in bytes, or when # reaching final upload ratio in percent. # example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0 #schedule = ratio,10,10,"stop_on_ratio=20,1M,10" schedule = ratio,10,10,"stop_on_ratio=30,400M,600"
Set a downloads folder where completed files should go # Default directory to save the downloaded torrents. directory = /shared/downloads
Run rTorrent
At this point rTorrent should be ready to run! I installed GNU Screen to allow me to start it and leave it running in the background. From what I can tell, rTorrent doesn't run as a service. Maybe later on I'll take libTorrent and create a background-service torrent daemon. For now, screen quickly gets me where I want to go by typing these commands: screen (Starts a new terminal session in screen) rtorrent (starts rTorrent in the screen session Ctrl-a, d (Disconnects from the screen session while leaving rtorrent running) Note: Press Ctrl-a then release the keys and press d to disconnect If I want to observe how rtorrent is doing I can re-connect to screen: screen -r This makes it really simple to keep rtorrent running after I close my ssh window. For some other quick help commands, see this quick reference guide [aperiodic.net]. Screen can have more than one session open- it is a powerful tool which I'm only using superficially in my project. Previous Next Comments:
Thankyou very much :) Posted by sam on Jul 1st, 2012
can you post the tutorial to install rutorrent or torrentflux on centos for VPS ? Posted by sam on Jul 1st, 2012
Leave a Reply
Name:
test
Email:
d@d.com
(Your email will not be publicly displayed.)
Comment:
Post Comment
concrete5 - open source CMS 2012 The Bored Wookie. All rights reserved. Sign In to Edit this Site