How to install rTorrent 0.8.2 and rtgui 0.2.5 linstation ls2
上一篇 / 下一篇 2008-11-12 21:05:20 / 个人分类:电脑技巧
6N [J:f`sUs-l*t0$ sudo apt-get autoremove钱塘个人空间:F.y&hbGj6z:hf w
$ sudo apt-get install apache2-mpm-prefork php5 php5-xmlrpc libapache2-mod-scgi钱塘个人空间/z-~0S'^eA(J/by
$sudo vi /var/www/phpinfo.php
< ?php
#K+N_XaaQq(@w/K0phpinfo();钱塘个人空间 iq3i#Q:AF8KL
?>
$ sudo apt-get install rtorrent钱塘个人空间c }N#dNM4QJ
J
$ rtorrent
$ vi .rtorrent.rc
# This is an example resource file for rTorrent. Copy to
+o5OQh1P0A0# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
B(\*fU @+qS
@vE(R0# uncomment the options you wish to enable.
# Maximum and minimum number of peers to connect to per torrent.
.T|Y
^-uE0min_peers = 50
%zW ^#eq,v(]D?0max_peers = 500
# Same as above but for seeding completed torrents (-1 = same as downloading)
_z,D%zQ&X(ur0min_peers_seed = 10钱塘个人空间ugR#s7t2Uek*i
AP.p
max_peers_seed = 50
# Maximum number of simultanious uploads per torrent.钱塘个人空间6jL:?oO}0S
max_uploads = 3
encoding_list = UTF-8
# Global upload and download rate in KiB. “0″ for unlimited.钱塘个人空间*P3}0hC%U#M4V
download_rate = 0钱塘个人空间&oQ$O#Jd;I3S,}
upload_rate = 5
# Default directory to save the downloaded torrents.
$uH"t2V'{)J~*D0directory = /data/file
# Default session directory. Make sure you don’t run multiple instance钱塘个人空间 fc+v:]M
dp
# of rtorrent using the same session directory. Perhaps using a
hk@7]!W:^CC0# relative path?钱塘个人空间okP5o'zs;?
session = /data/session
# Watch a directory for new torrents, and stop those that have been
]ukZ7Ko1T0# deleted.钱塘个人空间6X9eP4d?fdz4U
schedule = watch_directory,5,5,load_start=/data/file/*.torrent
&Q~)@*[X0#schedule = untied_directory,5,5,stop_untied=
# Close torrents when diskspace is low.钱塘个人空间8LDVP1Vc1z
#schedule = low_diskspace,5,60,close_low_diskspace=100M
# Stop torrents when reaching upload ratio in percent,
0L;Dh`A1hf)x0# when also reaching total upload in bytes, or when钱塘个人空间7Z6~Jvi6UY
# reaching final upload ratio in percent.
U3NQhQ3m0# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0钱塘个人空间!F(?VZ}ro!c(cCw
#schedule = ratio,60,60,”stop_on_ratio=200,200M,2000″
# The ip address reported to the tracker.钱塘个人空间 @cM:Zh2f~
ip = 127.0.0.1
{KtAnCU0#ip = rakshasa.no
# The ip address the listening socket and outgoing connections is钱塘个人空间b:W#l6no)]A
# bound to.钱塘个人空间/y$S:Q9YzA{jM
#bind = *
# Port range to use for listening.
*dOu
}S@|0port_range = 6890-6999
# Start opening ports at a random position within the port range.
0C-P1J8H0AQ0#port_random = no
# Check hash for finished torrents. Might be usefull until the bug is
f5s+MW]zBx0# fixed that causes lack of diskspace not to be properly reported.
3al5e8]-k+xh#k0check_hash = yes
# Set whetever the client should try to connect to UDP trackers.钱塘个人空间j@:m"V0Ab0^P
use_udp_trackers = yes
# Alternative calls to bind and ip that should handle dynamic ip’s.钱塘个人空间Y6FF&@CA
#schedule = ip_tick,0,1800,ip=rakshasa钱塘个人空间QS
D"Qy;a
#schedule = bind_tick,0,1800,bind=rakshasa
# Encryption options, set to none (default) or any combination of the following:钱塘个人空间fGCM0@:NbFL
vFL
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext钱塘个人空间/n[-cnObX4|
#
$R6d
Hv mix0# The example value allows incoming encrypted connections, starts unencrypted
zA5_)b'IIs!w+k.v U0# outgoing connections but retries with encryption if they fail, preferring钱塘个人空间0l-?9])N-C7`/I
M
# plaintext to RC4 encryption after the encrypted handshake钱塘个人空间'i"S/Fdn
#
`wNyja0`O&sR0encryption = allow_incoming,enable_retry,prefer_plaintext
# Enable DHT support for trackerless torrents or when all trackers are down.
Y4n-N2VcR0# May be set to “disable” (completely disable DHT), “off” (do not start DHT),钱塘个人空间d
}S+F$B
# “auto” (start and stop DHT as needed), or “on” (start DHT immediately).钱塘个人空间0IE1y~Y cf
# The default is “off”. For DHT to work, a session directory must be defined.钱塘个人空间A%Y{u4_o
e(h
#
8q P?mmJ0dht = on
# UDP port to use for DHT.钱塘个人空间R.qf%ZT^'N
#钱塘个人空间qQ2s|5zb3y
dht_port = 19000
# Enable peer exchange (for torrents not marked private)钱塘个人空间!j*S!tcR
#
(Oe,kz6A0peer_exchange = yes
#
lT*T&Y1E?/K8j0# Do not modify the following parameters unless you know what you’re doing.
%u/wwy,Z)F)I0#
# Hash read-ahead controls how many MB to request the kernel to read钱塘个人空间:jS+V1Yi7a5\
# ahead. If the value is too low the disk may not be fully utilized,
3tq6z@`]U0# while if too high the kernel might not be able to keep the read钱塘个人空间R9X1`\ qU
# pages in memory thus end up trashing.钱塘个人空间ZWOVV `L
#hash_read_ahead = 10
# Interval between attempts to check the hash, in milliseconds.钱塘个人空间z'`bPxo$^
hash_interval = 150
# Number of attempts to check the hash while using the mincore status,钱塘个人空间DPP)COV8zBVt
# before forcing. Overworked systems might need lower values to get a钱塘个人空间7Nhdt$@
# decent hash checking rate.钱塘个人空间i kdG!~U5a
#hash_max_tries = 10
umask = 0000钱塘个人空间k
{]3K*b]q
scgi_port = 127.0.0.1:5000
$ sudo vi /etc/apache2/sites-enabled/000-default
LoadModule scgi_module /usr/lib/apache2/modules/mod_scgi.so钱塘个人空间'zN|!wOhI
SCGIMount /RPC2 127.0.0.1:5000
$ wget http://rtgui.googlecode.com/files/rtgui-0.2.5.tgz钱塘个人空间%z,c+^:t"bl y6q\
$ tar -zxvf rtgui-0.2.5.tgz
d`)p |gA0$ mv rtgui-0.2.5 rtgui钱塘个人空间z8z7j @4}
C5O%j+P[ N
$ sudo mv -f rtgui /var/www/
$ sudo vi /var/www/rtgui/config.php
< ?php钱塘个人空间w?9VTlRn_
//
.y)v(dmvq0// rtGui - Simon Hall 2007-2008钱塘个人空间/h D,RJC7[t R {
//钱塘个人空间 q5U5n3yAk
// http://rtgui.googlecode.com/
@6C l+IQ+C p#O0//
// Connect string for your local RPC/rTorrent connection:钱塘个人空间o0fC5U$CB9^
$rpc_connect="http://localhost/RPC2";
// rtorrent 'watch' directory (used for upload torrent)钱塘个人空间*Zr2e;J_Xcv
$watchdir=”/data/file/”;
// Path to report disk usage
&s!bb&p#TV}sm0$downloaddir=”/data/file”;
// Time between ajax calls - default 5000 (5 secs). Disable with 0钱塘个人空间7a6X*k#fM2i^U
$defaultrefresh=5000;
// Display tracker URL for each torrent on main page - you might want to disable this if you run lots (ie 30+ ?) torrents - To get the tracker URL requires another RPC call for every torrent displayed. If it’s disabled, it only requires one RPC call to list all the torrents.
f#@^\(x}l'o0$displaytrackerurl=TRUE;
// URL to your rtGui installation (used in RSS feed). Include trailing slash.钱塘个人空间(V&@O/lq%f2`jK"j
$rtguiurl=”http://fry/rtgui/”;
// Speeds for the download cap settings dialog.钱塘个人空间$`^m*u
P4mh
$defspeeds=array(5,10,15,20,30,40,50,60,70,80,90,100,125,150,200,250,300,400,500,750,1000);
// Enable debug tabs钱塘个人空间9d;h8YbW
$debugtab=FALSE;
// Tracker hilighting…钱塘个人空间/[]+_T,rGd
// Format is array(hexcolour, URL, URL, …) The URL is a string to match identifiy tracker URL钱塘个人空间@ ^*gw&v#fk j2w
$tracker_hilite_default=”#900″; // Default colour钱塘个人空间y0LY
Q"['C
$tracker_hilite[]=array(”#990000″,”ibiblio.org”,”etree.org”);
7f5Sa)ZK+p0$tracker_hilite[]=array(”#006699″,”another.com”,”mytracker.net”,”mytracker.com”);钱塘个人空间AZne1y^*|
$tracker_hilite[]=array(”#996600″,”moretrackers.com”);
O d dG+crT0?>
$ rtorrent
http://localhost/rtgui/
^W#e8{.S6^0
导入论坛 引用链接 收藏 分享给好友 推荐到圈子 管理 举报
TAG:
标题搜索
日历
|
|||||||||
| 日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
| 1 | 2 | 3 | |||||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 | |||
| 11 | 12 | 13 | 14 | 15 | 16 | 17 | |||
| 18 | 19 | 20 | 21 | 22 | 23 | 24 | |||
| 25 | 26 | 27 | 28 | 29 | 30 | 31 | |||
我的存档
数据统计
- 访问量: 10394
- 日志数: 163
- 图片数: 14
- 文件数: 14
- 建立时间: 2006-08-20
- 更新时间: 2008-12-26



