Comment
Author: Admin | 2025-04-27
Apt install qbittorrent-noxqBittorrent-nox is designed for headless clients and is accessible via a Web interface at the default localhost location: http://localhost:8080. The Web UI access is secured by default. The default username is admin, and the default password is adminadmin.Create a System User and Group for qbittorrent-noxInstead of running qBittorrent-nox using the terminal command, you’ll create a systemd service unit that runs in the background and starts at system boot.First, create a qbittorrent-nox user and group so the service can run as an unprivileged user:sudo adduser --system --group qbittorrent-noxThe --system flag means you’re creating a system user instead of a regular user.Example output:Adding system user `qbittorrent-nox' (UID 129) ...Adding new user `qbittorrent-nox' (UID 129) with group `qbittorrent-nox' ...Creating home directory `/home/qbittorrent-nox' ...Add Username to qBittorrent GroupNext, add your username to the qbittorrent-nox user group using the following command:sudo adduser your-username qbittorrent-noxExample using my username:sudo adduser joshua qbittorrent-noxCreate a Systemd Service File for qbittorrent-noxCreate a systemd service file for qbittorrent-nox:sudo nano /etc/systemd/system/qbittorrent-nox.serviceCopy and paste the following lines into the file:[Unit]Description=qBittorrent Command Line ClientAfter=network.target[Service]Type=forkingUser=qbittorrent-noxGroup=qbittorrent-noxUMask=007ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8080Restart=on-failure[Install]WantedBy=multi-user.targetSave the file (CTRL+O), then exit (CTRL+X).Reload the Systemd Daemon for qbittorrent-noxReload your systemd daemon for the changes to take effect:sudo systemctl daemon-reloadStart and Enable qBittorrent-noxStart qBittorrent-nox with the following command:sudo systemctl start qbittorrent-noxTo have qBittorrent-nox start automatically on boot, use the following command:sudo systemctl enable qbittorrent-noxBefore proceeding, check the status to ensure everything is working correctly:systemctl status qbittorrent-noxAccess qBittorrent Web UIUsing the Web UI, you can access qBittorrent through your local network’s browser. Type the server’s internal IP address followed by the port number (8080), for example, 192.168.55.156:8080. If hosted locally, use the localhost address 127.0.0.1:8080.The default username is admin, and the default password is adminadmin.Accessing qBittorrent’s nox webui interface on UbuntuBefore taking any further actions, altering the default username and password to safeguard your qBittorrent Web UI is essential. To update the login details, navigate through the following route:Tools > Options > Web UI > AuthenticationAt this point, you can modify the username and password to your desired combination. Doing so will guarantee that your qBittorrent Web UI remains safe and can only be accessed
Add Comment