Ubuntu 20.04 LTS 安裝qBittorrent


 

安裝add-apt-repository命令

sudo apt-get update && sudo apt-get install software-properties-common -y

添加qbittorrent-nox的PPA軟件源

# qBittorrent 穩定版
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
# qBittorrent 測試版
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-unstable

安裝qbittorrent-nox

sudo apt-get update && sudo apt-get install qbittorrent-nox -y

設置開機啟動

sudo apt-get install vim -y && vim /etc/systemd/system/qbittorrent-nox.service
[Unit]
Description=qBittorrent-nox
After=network.target
[Service]
User=root
Type=forking
RemainAfterExit=yes
ExecStart=/usr/bin/qbittorrent-nox -d
[Install]
WantedBy=multi-user.target

相關命令

修改qbittorrent-nox.service文件后重新載入

sudo systemctl daemon-reload

啟動

sudo systemctl start qbittorrent-nox

停止

sudo systemctl stop qbittorrent-nox

設置開機啟動

sudo systemctl enable qbittorrent-nox

查看狀態

sudo systemctl status qbittorrent-nox

 驗證狀態

默認賬號:admin 密碼:adminadmin
默認登陸網址:http://ip:8080


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM