Post

Ubuntu install Qbittorrent-box

Install add-apt-repository

1
sudo apt-get update && sudo apt-get install software-properties-common -y

Add qbittorrent-nox source

1
2
# qBittorrent stable
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
1
2
# qBittorrent unstable
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-unstable

Install qbittorrent-nox

1
sudo apt-get update && sudo apt-get install qbittorrent-nox -y

Setting start-up

1
sudo apt-get install vim -y && vim /etc/systemd/system/qbittorrent-nox.service

Most of the time just use ‘vim’, no need to install vim

1
2
3
4
5
6
7
8
9
10
[Unit]
Description=qBittorrent-nox
After=network.target
[Service]
User=root
Type=simple  #forking
RemainAfterExit=yes
ExecStart=/usr/bin/qbittorrent-nox -d
[Install]
WantedBy=multi-user.target

In the Ubuntu server 20, the “Type=simple”, if you use forking when you start qbittorrent you should be failed.

sudo systemctl daemon-reload

Start, stop, enable and check status

sudo systemctl start qbittorrent-nox
sudo systemctl stop qbittorrent-nox
1
sudo systemctl enable qbittorrent-nox
sudo systemctl status qbittorrent-nox

Username: admin

Password: adminadmin

Url: http://ip:8080

This post is licensed under CC BY 4.0 by the author.