{"id":423,"date":"2019-01-25T01:04:28","date_gmt":"2019-01-24T17:04:28","guid":{"rendered":"http:\/\/www.xxhjkl.me\/?p=423"},"modified":"2020-03-04T14:58:59","modified_gmt":"2020-03-04T06:58:59","slug":"debian%e7%bc%96%e8%af%91qbittorrent-4-1-5","status":"publish","type":"post","link":"https:\/\/www.xxhjkl.me\/?p=423","title":{"rendered":"debian9\u7f16\u8bd1qBittorrent 4.1.9"},"content":{"rendered":"\n<p>debian9\u7684\u6559\u7a0b\uff0cdebian8\u7406\u8bba\u4e0a\u4e5f\u80fd\u641e\uff0c\u4f46\u662fdebian8\u81ea\u5e26\u7684\u6e90\u641e\u8fc7\u6765\u7684qt\u597d\u50cf\u7248\u672c\u592a\u65e7\u4e0d\u884c\u7684\uff0c\u81ea\u884c\u6362\u6210debian9\u7684\u6e90\u5e94\u8be5\u4e5f\u53ef\u4ee5\u901a\u8fc7\u7684\u3002<\/p>\n\n\n\n<p>\u5b89\u88c54.1.9\u7684\u539f\u56e0\u662f4.2.x\u5f88\u591aPT\u7ad9\u4e0d\u652f\u6301\uff0c\u4e4b\u524d\u7684\u8001\u7248\u672c\u4e0d\u5efa\u8bae\u5b89\u88c5\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1.\u5b89\u88ddlibtorrent<\/h2>\n\n\n\n<p>\u5148\u5b89\u88c5\u4f9d\u8d56\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get update<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install build-essential pkg-config automake libtool git libgeoip-dev python3 python3-dev -y<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install libboost-dev libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev -y<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install qtbase5-dev qttools5-dev-tools libqt5svg5-dev zlib1g-dev -y<\/pre>\n\n\n\n<p>\u4eceNPCHK\u5927\u4f6c\u90a3\u8fb9\u5f97\u77e5\u3002 libtorrent 1.1.13:\u00a0\u9002\u7528\u4e8eqBittorrent4.0.0\u6216\u66f4\u65b0\u7248\u672c \uff0c\u6240\u4ee5\u5c31\u88c5\u8fd9\u4e2a\u7248\u672c\u5427<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nwget https:\/\/github.com\/arvidn\/libtorrent\/releases\/download\/libtorrent-1_1_13\/libtorrent-rasterbar-1.1.13.tar.gz\ntar xf libtorrent-rasterbar-1.1.13.tar.gz\ncd libtorrent-rasterbar-1.1.13\n.\/configure --disable-debug --enable-encryption --with-libgeoip=system\nmake -j$(nproc)\nmake install\nldconfig<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">2.\u5b89\u88ddqBittorrent 4.1.9<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>\n\u5efa\u8bae\u4ee3\u7801\u4e00\u884c\u884c\u590d\u5236\u518d\u7c98\u8d34\uff0c\u4e00\u5806\u590d\u5236\u7c98\u8d34\u5bb9\u6613\u51fa\u9519\u6216\u8005\u9057\u6f0f\nwget https:\/\/github.com\/qbittorrent\/qBittorrent\/archive\/release-4.1.9.tar.gz\ntar xf release-4.1.9.tar.gz\ncd qBittorrent-release-4.1.9\n.\/configure --disable-gui --disable-debug\nmake -j$(nproc)\nmake install<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">3.\u5f00\u673a\u542f\u52a8<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">nano \/etc\/systemd\/system\/qbittorrent.service<\/pre>\n\n\n\n<p>\u8f93\u5165\u4ee5\u4e0b\u5167\u5bb9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[Unit]\nDescription=qBittorrent Daemon Service\nAfter=network.target\n\n[Service]\nLimitNOFILE=512000\nUser=root\nExecStart=\/usr\/local\/bin\/qbittorrent-nox\nExecStop=\/usr\/bin\/killall -w qbittorrent-nox\n\n[Install]\nWantedBy=multi-user.target\n<\/pre>\n\n\n\n<p>\u542f\u7528\u8bbe\u7f6e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable qbittorrent.service<\/pre>\n\n\n\n<p>\u542f\u52a8qBittorrent<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">qbittorrent-nox<\/pre>\n\n\n\n<p>\u8fd9\u65f6\u5019\u53bb\u8bbf\u95ee\u4e00\u4e0bweb\u9875\u9762\uff0cip:8080,\u7528\u6237\u540dadmin\uff0c\u5bc6\u7801adminadmin\uff0c\u7136\u540e\u66f4\u6539\u4e00\u4e0b\u8bed\u8a00\u554a\uff0c\u4e0b\u8f7d\u5730\u5740\u554a\u4e4b\u7c7b\u7684\u8bbe\u7f6e\uff0c\u6309Ctrl+C\u65ad\u4e0b\u6765\uff0c\u9000\u51fa\u3002\u8fd9\u91cc\u8bf4\u4e0b\u4e3a\u4e86\u9632\u6b62\u51fa\u9519\uff0c\u5efa\u8bae\u7ed9\u4e0b\u8f7d\u76ee\u5f550777\u6743\u9650\u3002<\/p>\n\n\n\n<p>\u518d\u6b21\u8fd0\u884c\uff0c\u8fd9\u6b21\u5728\u540e\u53f0\u8fd0\u884c\uff0c\u8fd9\u6837shell\u5173\u6389\u4e86qBittorrent\u4e0d\u4f1a\u7ed3\u675f\u8fdb\u7a0b<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl start qbittorrent.service<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>debian9\u7684\u6559\u7a0b\uff0cdebian8\u7406\u8bba\u4e0a\u4e5f\u80fd\u641e\uff0c\u4f46\u662fdebian8\u81ea\u5e26\u7684\u6e90\u641e\u8fc7\u6765\u7684qt\u597d\u50cf\u7248\u672c\u592a\u65e7\u4e0d\u884c\u7684\uff0c\u81ea\u884c\u6362\u6210debian9\u7684\u6e90\u5e94\u8be5\u4e5f\u53ef\u4ee5\u901a\u8fc7\u7684\u3002 \u5b89\u88c54.1.9\u7684\u539f\u56e0\u662f4.2.x\u5f88\u591aPT\u7ad9\u4e0d\u652f\u6301\uff0c\u4e4b\u524d\u7684\u8001\u7248\u672c\u4e0d\u5efa\u8bae\u5b89\u88c5\u4e86\u3002 1.\u5b89\u88dd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.xxhjkl.me\/index.php?rest_route=\/wp\/v2\/posts\/423"}],"collection":[{"href":"https:\/\/www.xxhjkl.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xxhjkl.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xxhjkl.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xxhjkl.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=423"}],"version-history":[{"count":13,"href":"https:\/\/www.xxhjkl.me\/index.php?rest_route=\/wp\/v2\/posts\/423\/revisions"}],"predecessor-version":[{"id":564,"href":"https:\/\/www.xxhjkl.me\/index.php?rest_route=\/wp\/v2\/posts\/423\/revisions\/564"}],"wp:attachment":[{"href":"https:\/\/www.xxhjkl.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xxhjkl.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xxhjkl.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}