「RTorrent/RuTorrent」の版間の差分
ナビゲーションに移動
検索に移動
(en:RuTorrentへの転送ページ) |
Kusanaginoturugi (トーク | 投稿記録) 細 (Kusanaginoturugi がページ「RuTorrent」を「RTorrent/RuTorrent」に移動しました: 英語版に追従) |
||
| (2人の利用者による、間の3版が非表示) | |||
| 1行目: | 1行目: | ||
| + | [[Category:BitTorrent]] |
||
| − | #redirect[[en:RuTorrent]] |
||
| + | [[en:RuTorrent]] |
||
| + | [[ru:RuTorrent]] |
||
| + | {{Related articles start}} |
||
| + | {{Related|LAMP}} |
||
| + | {{Related|RTorrent}} |
||
| + | {{Related articles end}} |
||
| + | '''[https://github.com/Novik/ruTorrent ruTorrent]''' は [[rTorrent]] (コンソールベースの BitTorrent クライアント) のウェブインターフェイスです。rTorrent に内蔵されている XML-RPC サーバーを利用して対話します。 |
||
| + | |||
| + | ruTorrent は軽量かつ高い拡張性を持ち、uTorrent と同じような見た目になるように作られています。 |
||
| + | |||
| + | == インストール == |
||
| + | AUR から {{AUR|rutorrent}} をインストールしてください。 |
||
| + | |||
| + | == ウェブサーバーの設定 == |
||
| + | |||
| + | === Apache === |
||
| + | [[LAMP]] のページに従って Apache と PHP をインストール・設定してください。 |
||
| + | |||
| + | * {{ic|/etc/php/php.ini}} を編集して ''open_basedir'' 以下の値を含めて下さい: |
||
| + | /etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/ |
||
| + | |||
| + | AUR から {{AUR|mod_scgi}} をインストールしてください |
||
| + | |||
| + | * {{ic|/etc/httpd/conf/httpd.conf}} で SCGI モジュールをロードします: |
||
| + | LoadModule scgi_module modules/mod_scgi.so |
||
| + | |||
| + | * rTorrent の XMLRPC インターフェイスを有効にしてください: [[rTorrent#XMLRPC インターフェイス]] |
||
| + | |||
| + | * {{ic|/etc/httpd/conf/httpd.conf}} に以下を追加して rTorrent で使っているポートで SCGI を有効にしてください: |
||
| + | SCGIMount /RPC2 127.0.0.1:5000 |
||
| + | |||
| + | * 最後に以下のように ruTorrent フォルダを {{ic|/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> |
||
| + | |||
| + | {{Note|You should enable authentication through Apache if your site is public.}} |
||
| + | |||
| + | === Nginx === |
||
| + | * rutorrent のウェブルートのリンクを作成: |
||
| + | ln -s /usr/share/webapps/rutorrent/ /usr/share/nginx/html/rutorrent |
||
| + | |||
| + | * {{ic|/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 [https://github.com/Novik/ruTorrent/wiki/Config] を参照してください。 |
||
| + | |||
| + | == 参照 == |
||
| + | * https://github.com/Novik/ruTorrent/wiki |
||
| + | * https://httpd.apache.org/docs/2.2/configuring.html |
||
2023年9月14日 (木) 18:50時点における最新版
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] を参照してください。