[Apache 版] 安裝 Apache aptitude install apache2 libapache2-mod-scgi a2enmod scgi 設定 httpd.conf 在 httpd.conf 最後一行加入 "SCGIMount /R...
[Apache 版]
安裝 Apache
- aptitude install apache2 libapache2-mod-scgi
- a2enmod scgi
設定 httpd.conf
在 httpd.conf 最後一行加入 "SCGIMount /RPC2 127.0.0.1:5000"
SCGIMount /RPC2 127.0.0.1:5000
啟用 scgi
a2enmod scgi
[lighttpd 版]
安裝 lighttpd
設定 lighttpd.conf
scgi.server = (
"/RPC2" => (
"127.0.0.1" => ( "host" => "127.0.0.1",
"port" => 5000,
"check-local" => "disable"
)
)
)
[nTorrent 使用]
- /usr/bin/screen -d -m /usr/local/bin/rtorrent -n -o import=/etc/rtorrent.rc
啟用 rtorrent 於 screen - 下載 nTorrent
http://code.google.com/p/ntorrent/
解壓縮 nTorrent - 連結 rTorrent
192.168.1.2 為 Server
RPC2 為 httpd.conf 所設定之 - 完工, 如此可以透過圖形化介面連結 rTorrent
- 安全強化,可以參考 Apache 相關手冊來加以設定。