惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
G
Google Developers Blog
D
Docker
The GitHub Blog
The GitHub Blog
H
Help Net Security
WordPress大学
WordPress大学
博客园_首页
Recent Announcements
Recent Announcements
P
Proofpoint News Feed
罗磊的独立博客
I
InfoQ
U
Unit 42
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Visual Studio Blog
Jina AI
Jina AI
J
Java Code Geeks
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News

inDev. Journal

Upgrade Ubuntu servers GitHub Markdown emojis for Jekyll with JoyPixels icons Windows 11 To Go on external SSD for MacBook Building a pageview counter with Deta.sh Micros and Base database 重置网页阅读量数据 Install Nextcloud with PlanetScale cloud database 给国行 SONY A105 播放器刷国际版固件 Install GeoIP2 module to Nginx Get free ZeroSSL wildcard SSL certificates with acme.sh DNS API
Install qBittorrent-nox on Ubuntu server
Frank Lin · 2022-04-07 · via inDev. Journal

Install qBittorrent-nox on Ubuntu server

Installation

sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
sudo apt update
sudo apt install qbittorrent-nox

qBittorrent-nox (without X) is meant to be controlled via its Web UI which is accessible as a default at http://localhost:8080. The Web UI access is secured and the default account username is admin with adminadmin as default password…

Systemd service

Create a systemd service file for qBittorrent-nox that restart it automatically on system reboot:

sudo nano /etc/systemd/system/qbittorrent-nox.service
[Unit]
Description=qBittorrent-nox
After=network.target

[Service]
Type=forking
ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8080
Restart=on-failure

[Install]
WantedBy=multi-user.target

If there’s another service running on port 8080, just change to another available port and set the -d --web-port=xxxx accordingly.

Then run following commands to enable and start this service:

sudo systemctl daemon-reload
sudo systemctl enable qbittorrent-nox
sudo systemctl start qbittorrent-nox

Check its running status by;

sudo systemctl status qbittorrent-nox

Nginx proxy

Following location directive should enough;

location / {
    proxy_redirect     off;
    proxy_set_header   Upgrade $http_upgrade;
    proxy_set_header   Connection "upgrade";
    proxy_set_header   Host $host;
    proxy_set_header   X-Real-IP $remote_addr;
    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass         http://localhost:8080; # qBittorrent-nox running port
}

You can proxy it to sub locations as well.

Now you can access qBittorrent-nox Web UI with your settings, don’t forget to change the default password in the Web UI… 😎

Dracula, a dark theme

Dracula theme for qBittorrent

First clone the git repository:

cd /opt

git clone https://github.com/dracula/qbittorrent.git

chmod -R 777 qbittorrent

Then enable the theme from Web UI: Tools -> Options -> Web UI -> Use alternative Web UI, in Files locations bar, you should type /opt/qbittorrent/webui. 🥷

THE END

Hey, there! This is Frank Lin (@flinhong), one of the 1.41 billion . This 'inDev. Journal' site holds the exploration of my quirky thoughts and random adventures through life. Hope you enjoy reading and perusing my posts.

YOU MAY ALSO LIKE