RTorrent/RuTorrent
ナビゲーションに移動
検索に移動
ruTorrent は rTorrent (コンソールベースの BitTorrent クライアント) のウェブインターフェイスです。rTorrent に内蔵されている XML-RPC サーバーを利用して対話します。
ruTorrent は軽量かつ高い拡張性を持ち、uTorrent と同じような見た目になるように作られています。
インストール
AUR から rutorrentAUR をインストールしてください。
ウェブサーバーの設定
Apache
LAMP のページに従って Apache と PHP をインストール・設定してください。
/etc/php/php.iniを編集して open_basedir 以下の値を含めて下さい:
/etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/
AUR から mod_scgiAUR をインストールしてください
/etc/httpd/conf/httpd.confで SCGI モジュールをロードします:
LoadModule scgi_module modules/mod_scgi.so
- rTorrent の XMLRPC インターフェイスを有効にしてください: rTorrent#XMLRPC インターフェイス
/etc/httpd/conf/httpd.confに以下を追加して rTorrent で使っているポートで SCGI を有効にしてください:
SCGIMount /RPC2 127.0.0.1:5000
- 最後に以下のように ruTorrent フォルダを
/etc/httpd/conf/httpd.confに追加します。最初の </Directory> の後に追加してください:
<IfModule alias_module>
Alias /rutorrent /usr/share/webapps/rutorrent
<Directory "/usr/share/webapps/rutorrent">
Order allow,deny
Allow from all
</Directory>
</IfModule>
Apache 2.4 の場合、以下のようにアクセス制御してください:
<IfModule alias_module>
Alias /rutorrent /usr/share/webapps/rutorrent
<Directory "/usr/share/webapps/rutorrent">
Require all granted
</Directory>
</IfModule>
Nginx
- rutorrent のウェブルートのリンクを作成:
ln -s /usr/share/webapps/rutorrent/ /usr/share/nginx/html/rutorrent
/etc/php/php.iniを編集して 'open_basedir に以下の値を追加:
/etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/
- rTorrent の XMLRPC インターフェイスを有効化: rTorrent#XMLRPC インターフェイス
- nginx の設定に以下の location を追加:
location /RPC2 {
include scgi_params;
scgi_pass localhost:5000;
}
- nginx を再起動:
# systemctl restart nginx
ruTorrent の設定
上流の wiki [1] を参照してください。