Install qBittorrent on CentOS7 under virtual machine, mount Qunhui virtual disk, and realize on-hook download

1. Install qBittorrent on CentOS7

1. Use SSH to connect to CentOS7. The ip address of the centos7 system I installed on the Esxi virtual machine is:192.168.1.199

2. Download the qBittorrent installation script: (a certain Internet environment is required)

wget https://lala.im/static/script/qBittorrentCentOS7install.sh

3. Set script permissions:

qBittorrentCentOS7install.sh

4. Run the compile and install script:

./qBittorrentCentOS7install.sh

The script will install the following software:

qBittorrent4.1.1
libtorrent1.1.9(https://github.com/arvidn/libtorrent/releases/)

5. Management commands:

systemctl start qbittorrent
systemctl stop qbittorrent
systemctl restart qbittorrent

Second, set up the group Hui shared disk

1. Start the NFS service

Insert picture description here
Insert picture description here
Open the shared folder that needs to be edited
Insert picture description here
*: The number represents all servers.
Insert picture description here
After the completion of Qunhuiduan, the setup is complete.

2. Linux configuration

Run with root privileges:

yum install nfs-utils

Create a local folder: (I create NFSfilea folder named in the root directory here , this depends on the situation to modify)

mkdir /NFSfile

Mount the remote folder to the local NFSfilefolder:
My address of Qunhui is 192.168.1.20, and the path of Qunhui folder is/volume2/Downloader

mount -t nfs 192.168.1.20:/volume2/Downloader /NFSfile

After the mounting is complete, NFSfilethe contents of the corresponding folder of Qunhui will be displayed in the local folder
Insert picture description here

3. Set up the local CentOSQunhui folder in qBittorrent

Log in to the web page of qBittorrent, my address is:192.168.1.199:8080

Modify the corresponding download folder as the folder where Qunhui Disk is mounted:
Insert picture description here

Four, the end

In this way, you can happily download various resources with qBittorrent.
By the way, let’s talk about my hardware configuration, the idle host I used here, install the Esxi 7.0virtual machine, install it in the virtual machine 群辉 6.22, and then install the CentOS 7system. Both run simultaneously.

Guess you like

Origin blog.csdn.net/qq_15246397/article/details/108301646