Skip to content

Latest commit

 

History

History
99 lines (76 loc) · 3.5 KB

README.md

File metadata and controls

99 lines (76 loc) · 3.5 KB
          ▄▄                            ▄▄
          ██         ██                 ███
          ██         ██                 ██
 ▄██▀███  ██▄████▄ ██████   ▄██▀███   ███████▄
▄█▀   ██  ██    ▀██  ██     ██        ██   ██
██    ██  ██     ██  ██     ▀██████▄  ██   ██
██▄   ██  ██▄   ▄██  ██     █▄   ███  ██   ██
 ▀██████  █▀█████▀   ▀████  ██████▀   ██  ████▄
      ██
   ▄████▄

中文说明

  • Make qBittorrent-nox easier to install, uninstall and reload on Linux kernel system.
  • The application is installed in /usr/local/bin/qbittorrent-nox, and the application data is stored in /usr/local/etc/qBittorrent/ to avoid problems caused by future system changes.
  • Statically compiled qBittorrent-nox using userdocs/qbittorrent-nox-static

Usage

NAME:
   qbtsh.exe - qBittorrent quick install tool

USAGE:
   qbtsh.exe [global options] command [command options] 

VERSION:
   v2.00

COMMANDS:
   install, i  Install qBittorrent
   uninstall   Remove config,cache and uninstall qBittorrent
   update      Update qBittorrent
   reload      Reload service
   help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Install

# For example, the host is a linux kernel based system with amd64 architecture
# Download the app
curl -Lo /usr/local/bin/qbtsh https://github.com/gek64/qbtsh/releases/latest/download/qbtsh-linux-amd64
# Give the app execute permission
chmod +x /usr/local/bin/qbtsh
# Show help
/usr/local/bin/qbtsh -h

Compile

# Download application source code
git clone https://github.com/gek64/qbtsh.git
# Compile the source code
cd qbtsh
export CGO_ENABLED=0
go build -v -trimpath -ldflags "-s -w"

FAQ

Does this tool support FreeBSD?

  • Not supported, userdocs/qbittorrent-nox-static only supports linux kernel systems, and builds a fully static qBittorrent-nox on FreeBSD is quite a difficult thing.

Is there any way to get this working on FreeBSD?

  • You can try compiling a dynamically linked qBittorrent-nox yourself using the qBittorrent-nox build script I wrote for FreeBSD freebsd build, also I have already compiled binaries for the latest FreeBSD/amd64, you can also use them directly.

How to access after running?

  • After the service runs successfully, you can access it at SERVER_IP:8080. The default user name is admin, and the default password can be found in service log. Although you can use it normally at this time, I still recommend you to change the password in time, use reverse proxy that provided by apache or nginx and enable https, then change the listening address of qBittorrent-nox from 0.0.0.0 to 127.0.0.1 to improve security.

License

  • GPL-3.0 License
  • See LICENSE for details

Credits