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

推荐订阅源

J
Java Code Geeks
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
MongoDB | Blog
MongoDB | Blog
Blog — PlanetScale
Blog — PlanetScale
腾讯CDC
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research
M
MIT News - Artificial intelligence
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
N
Netflix TechBlog - Medium
阮一峰的网络日志
阮一峰的网络日志
博客园 - Franky
Recent Announcements
Recent Announcements
A
About on SuperTechFans
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More

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