This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== NzbGet ====== [[https://nzbget.net/|NzbGet]] is a solid long-time usenet downloader. There are others, but i will focus on this one. ===== Installation ===== NzbGet has an ebuild for Gentoo, so installing it it's a simple emerge: <code bash> emerge -v nzbget </code> As usual move the home folder to **/data/daemons/nzbget**: <code bash> usermod -m -d /data/daemons/nzbget nzbget </code> and add the //nzbget// user to the media group: <code bash> usermod -a -G media nzbget </code> One last required step is to ensure that the other tools can access the nzbget folder (to reach the download folders inside), so: <code bash> chgrp media /data/daemons/nzbget </code> To be more consistent, and to prevent future overwrite onupgrade, you should move the default configuration file for //nzbgetd// to the nzbget home folder too: <code bash> mv /etc/nzbgetd.conf /data/daemons/nzbget </code> You need to do some fine tuning to the **/etc/conf.d/nzbget** file. Put the following content in it: <code> # Which user to run nzbget as NZBGET_USER="nzbget" NZBGET_GROUP="media" # Location of config file NZBGET_CONFIGFILE="/data/daemons/nzbget/nzbgetd.conf" </code> Note that you have: * replaced the default group for the daemon to //media// * specified the new location for the configuration file ==== Reverse-Proxy configuration ==== Before you proceed, you should make NzbGet web accessible via the reverse-proxy, so that access, configuration and usage will be simplified from the beginning. Add this file to /etc/nginx/folders: <file txt nzbget.conf> # NZB Get location ~ ^/nzbget($|./*) { rewrite /nzbget/(.*) /$1 break; proxy_pass http://127.0.0.1:6789; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location ~ ^/nzbget$ { return 302 $scheme://$host$request_uri/; } </file> Add the setup to the Reverse Proxy and reload it. Check [[selfhost:nginx|The Reverse Proxy concept]] for more details. === Startup === Now, setup the daemon to start at boot, and start it now: <code bash> rc-update add nzbget default /etc/init.d/nzbget start </code> ===== Integration ===== Every download client needs to be integrated in your other tools. Unfortunately, you need to do it by hand for every tool. Every *Arr's tool has the same //settings// -> //downloaders// section that you can populate with the downloaders. Tap on the plus button and add the downloader. Test it before saving. Prowlarr is a special case: you only need to define the downloader IF you plan to search from the Prowlarr web GUI, otherwise it's not needed. And no, Prowlarr will **not** synchronize your downloader to the other *Arr's, like it's done for indexers. Sad, but that's the way it is. ===== Usage ===== Head to [[http://10.0.0.1/nzbget|10.0.0.1/nzbget]] from which you add your manual downloads or manage the automatic downloads added by the other tools. To securize your NzbGet installation go to //settings// -> //security// and specify **127.0.0.1** as //ControlIP//. In the same page you also **must** set the //umask// to **0002** so that the other tools will be able to fetch the downloads from NzbGet. You will need to add here your Usenet access providers under //settings// -> //NEWS-SERVERS//. Remember that Usenet is different from torrents. You will be able to download only one file per server at any given time, no matter how many connections you have on that server. This is because files are chunked in many pieces and NzbGet will saturate all your connections to that server to retrieve in parallel as many chunks as possible. To download more than one file at the same time, you need more than one server configured.