虚拟机下CentOS7安装qBittorrent,挂载群辉虚拟盘,实现挂机下载

1、CentOS7安装qBittorrent

一、用SSH链接CentOS7,我用的Esxi虚拟机安装的centos7系统的ip地址为:192.168.1.199linux

二、下载qBittorrent安装脚本:(须要必定的上网环境)git

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

3.设置脚本权限:github

qBittorrentCentOS7install.sh

四、运行编译安装脚本:web

./qBittorrentCentOS7install.sh

脚本会安装以下软件:centos

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

五、管理命令:bash

systemctl start qbittorrent
systemctl stop qbittorrent
systemctl restart qbittorrent

2、设置群辉共享盘

1.启动NFS服务

在这里插入图片描述
在这里插入图片描述
打开须要编辑的共享文件夹
在这里插入图片描述
*:号表明全部服务器
在这里插入图片描述
完成后群辉端就设置完成了。服务器

二、linux端配置

用root权限运行:svg

yum install nfs-utils

建立本地文件夹:(我这里在根目录下建立名为NFSfile的文件夹,这个视状况修改)centos7

mkdir /NFSfile

将远程文件夹挂载到本地NFSfile文件夹:
我这里的群辉地址是192.168.1.20,群辉文件夹路径为/volume2/Downloaderspa

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

挂载完成后,本地NFSfile文件夹内就会显示群辉对应文件夹的内容
在这里插入图片描述

3、qBittorrent内设置挂载到本地CentOS的群辉文件夹

登陆qBittorrent的web页面,我这里地址是:192.168.1.199:8080

修改相应的下载文件夹为挂载群辉盘的文件夹:
在这里插入图片描述

4、结束

这样你就能够愉快的用qBittorrent下载各类资源了。
顺便说说个人硬件配置,我这边用的闲置主机,安装Esxi 7.0虚拟机,虚拟机中,安装了群辉 6.22,而后再安装了CentOS 7系统。两个同时运行。