顯示具有 BT 標籤的文章。 顯示所有文章
顯示具有 BT 標籤的文章。 顯示所有文章

12月 03, 2010

rutorrent web ui rtorrent

rutorrent 官方網站

1. 設定 lighttpd
新增 20-bt.conf 設定檔於 /etc/lighttpd/conf-enabled 下面,
server.modules += ( "mod_scgi" )
scgi.server = (
"/RPC1"=>
(
"127.0.0.1" =>
(
"host" => "127.0.0.1",
"port" => 5000,
"check-local" => "disable"
)
),

"/RPC2"=>
(
"127.0.0.1" =>
(
"host" => "127.0.0.1",
"port" => 5001,
"check-local" => "disable"
),
)
)
2. 設定 rtorrent.rc ,其中 scgi 的 port 要與 RPC1 對到
scgi_port = localhost:5000
encoding_list = UTF-8
on_erase = rm_files,"execute=rm,-rf,$d.get_base_path="
directory = ~/bt
3. 解開 rutorrent 的 tar 壓縮,設定 [share] 目錄權限
4. 重新啟動 lighttpd 並用 screen 把 rtorrent 跑起來。
5. 透過網頁就可存取 rtorrent 了。

(注意) 這邊的 RPC2 是提供另一個用戶使用,第二個使用者可以透過 RPC2 來跟後端溝通。

9月 17, 2010

rTorrentWeb: Web UI of rTorrent

Web directory [/var/www/rtorrentweb/]?
rTorrentWeb directory [/usr/local/share/rtorrentweb/]?
Data directory [/var/local/rtorrentweb/]?
URL to WWW dir [http://x.x.x.x/rtorrentweb/]?
Web server username [www-data]?
rTorrent username [root]?

6月 15, 2010

rtorrent 環境設定檔

(1) 安裝 rtorrent 套件
sudo apt-get install rtorrent

(2) 配置 ~/.rtorrent.rc 環境設定檔
直接從 rtorrent 網站抓取 [ 下載 ]

(3) 修改相關參數
#設定檔案存放目錄
directory = ./
#設定 torrent 種子存放目錄
schedule = watch_directory,5,5,load_start=./*.torrent