qBittorrent
qBittorrent は、libtorrent-rasterbar ライブラリを使用したオープンソースでクロスプラットフォームの BitTorrent クライアントです。このクライアントは C++、Qt、および Python(オプションの検索エンジン)で書かれています。
qBittorrent は高速で安定しており、軽量です。また、ユニコードをサポートし、統合された検索エンジンを提供しています。UPnP ポート転送 / NAT-PMP、暗号化(Vuze と互換)、FAST 拡張(メインライン)、および PeX サポート(uTorrent と互換)も付属しています。
インストール
公式リポジトリには qBittorrent を インストール するための2つのパッケージがあります:
- qBittorrent — Qt グラフィカルインターフェースおよび #Web インターフェース 付き。
- qBittorrent-nox — グラフィカルインターフェースなし(nox -> no X サーバー)。
設定
プログラムを初めて実行すると、設定ファイルが ~/.config/qBittorrent/qBittorrent.conf に作成されます。
Autostart
If you install qbittorrent-nox, you will get a systemd unit template qbittorrent-nox@.service. QBittorrent will run as a specific user if you enable/start qbittorrent-nox@username.service
QBittorrent will run as the user username. The default download folder will be the user's Downloads directory, but this can be reconfigured later.
- If you are running it as a accessible service create a user called qbittorrent and make it run under it, and make the service restart on exit as the program have exit button.
- To modify the settings (i.e. port) you can add an environment variable (for port it is QBT_WEBUI_PORT) by using a drop-in file for its systemd unit. Run
qbittorrent-nox --helpto learn more about other environment variables (this information is not stated in the manual).
Search engine
The optional search engine may be enabled through the menu View > Search Engine, which opens the Search tab.
Search plugins
Default trackers can be added/enabled in the Search tab by opening the tracker window with Search plugins... (bottom right) and pressing Check for updates. More unofficial search plugins can be found here.
Web interface
Default location
By default, qBittorrent will listen on all interfaces on port 8080. Thus it is accessible at http://HOST_IP:8080.
https://HOST_IP:8080 is not accessible.Default username & password
The default username is admin and the default password is adminadmin.
Allow access without username & password
In a home environment, it is often desirable to allow access to the Web UI without having to input a username and password. This can be configured in the Web UI itself after logging in using the default username and password.
Alternatively, to avoid logging in for the first time, add this section to ~/.config/qBittorrent/qBittorrent.conf:
[Preferences] WebUI\AuthSubnetWhitelist=192.168.1.0/24 WebUI\AuthSubnetWhitelistEnabled=true WebUI\UseUPnP=false
The above configuration items will:
- Allow clients logging in from 192.168.1.x to access the Web UI without having to enter a username and password.
- Disable UPnP for the Web UI, so that the Web UI will not be accessible from outside the network.
After that, reload qbittorrent-nox@username.service.
Reverse proxy configuration
nginx
Refer to qbittorrent wiki