technology-note/linux/软件安装/2.linux下安装qbittorrent.md
2019-04-15 11:44:41 +08:00

62 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: '2019-04-15'
date: '2019/04/15 11:50'
title: 'linux下安装qBittorrent并使用webui进行管理'
tags: ['qbittorrent', 'webui', 'linux']
categories:
- 'linux'
- '软件安装'
---
  qBittorrent 是目前比较流行的一个 pt 下载工具,可以直接搜索种子下载,并且支持 windows/linux 平台。所以呢就想着在 vps 上搭建一个,先下载到 vps 上,再从 vps 上下载下来。这么搞的主要原型是国内的大内网对 pt 下载很不友好,如果不幸是长城宽带的话,那就更可怜了。。。下面是具体搭建过程(以 ubuntu 为例):
# 添加软件源
```bash
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
```
按 y 确定
<!-- more -->
# 安装 qBittorrent Webui
```bash
sudo apt-get update
sudo apt-get install qbittorrent qbittorrent-nox
```
同样按 y 确定
# 启动软件
```bash
qbittorrent-nox
```
&emsp;&emsp;默认启动端口为 8080默认账户密码为admin/adminadmin
&emsp;&emsp;如果想使用不同的端口,使用如下命令启动以指定端口:
```bash
qbittorrent-nox --webui-port=XXXX
```
命令是在当前窗口下启动的,如果窗口关闭也就跟着一同关闭了,所有需要后台运行,完整命令如下:
```bash
qbittorrent-nox --webui-port=8088 &
```
# 修改密码
&emsp;&emsp;vps 一般都是放在公网环境下的,所有默认密码是很不安全的,启动完毕后需要立即修改密码,方法如下:
1. 首先使用默认用户名密码登陆到 web ui 上
2. 然后修改用户名密码:
![webui 修改用户名密码](https://raw.githubusercontent.com/FleyX/files/master/blogImg/20190415114134.png)
修改完毕一定要拉下去保存,才会生效
**本文原创发布于:**:[http://tapme.top/blog/detail/2019-04-15](http://tapme.top/blog/detail/2019-04-15)