In this tutorial we’ll learn how to install qBittorrent on CentOS 7. We will also install and configure its prerequisites. qBittorrent is a torrent client, similar to µTorrent, which was recently ported to the Linux systems. Among others, qBittorrent has a built-in search engine for searching in the popular BitTorrent sites, has torrent queueing and prioritizing features, has IP Filtering options, provides a tool for creating torrents and bandwidth limitations.
I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.
Install qBittorrent on CentOS 7
Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:
yum clean all yum install epel-release -y yum update -y
Step 2. Installing qBitTorrent.
Install qBitTorrent using following command:
yum install qbittorrent-nox.x86_64
Step 3. Creating Systemctl Script.
First, Create a script so that we can control qbittorrent with systemctl:
ito enter insert mode then paste the code below, change <username> to the user you want to run qbittorrent with. Note that you can’t run as user
[Unit] Description=qbittorrent torrent server [Service] User=<username> ExecStart=/usr/bin/qbittorrent-nox Restart=on-abort [Install] WantedBy=multi-user.target
Reload systemctl, this will make systemd take notice of the new script:
Next, Start qbittorrent and accept the user agreement sudo qbittorrent-nox, press y then Enter. Now close qbittorrent Ctrl-C and Finally Start the qbittorrent service:
systemctl enable qbittorrent
Congratulation’s! You have successfully install and configured qBittorrent on your CentOS 7 server. Thanks for using this tutorial for installing qBittorrent torrent client on CentOS 7 system.