NZBGet is an NZB downloader written in C++ and designed with performance in mind to achieve maximum download speed by using very little system resources. In this guide, i will explain how to install NZBGet on your IX4-300D.
[su_spoiler title=”Requirements” style=”fancy”]
– SSH Access(Guide Here)
– Install Package Manager (Guide Here)
– Modified startup script(Guide Here)
– A public share called “Downloads”
– A folder called “NZBGet” in your downloads share. (case sensitive)
[su_spoiler title=”Install NZBGet” style=”fancy”]
First login to your server with SSH (password = sohoPASSWORD):
then install NZBGet:
/opt/bin/ipkg install nzbget
When the installation is done, we will need to copy and edit the config file, first copy the config file to the right directory:
cp /opt/share/nzbget/nzbget.conf /opt/etc/nzbget.conf
then edit this config file with the nano editor:
now search for the parameter ‘MainDir=~/downloads” and change this to your share : (/mnt/pools/A:A0/Downloads/NZBGet/)
to save the file, hit CTRL+X, type Y and Enter to confirm. Now create a new file called “nzbget-postprocess.sh” under /opt/etc/ :
and paste the follwing code in it :
then hit CTRL+X, type Y and hit Enter to save. Now give both files execution permissions :
chmod 777 /opt/etc/postprocess.conf
chmod 777 /opt/etc/nzbget-postprocess.sh
To start your NZBGet server:
Your server should now be online, navigate to “http://SERVERIP:6789” and your NZBGet should ask for a username&password. Fill in the NZBGet default credentials :
Username : nzbget Password : tegbzn6789
The NZBGet interface should now open :
[su_spoiler title=”Add NZBGet to the startup script” style=”fancy”]
To start the server automatically when your IX4-300d starts you should add the “start server” command to your startup script… Edit your startup script:
Add the following lines :
#NZBGet /opt/bin/nzbget -D echo "NZBGet started " >> /opt/init-opt.log
Your startup script should look something like this:
Now restart your server and see if your service is started. (servers should come online about a minute after the server is fully booted)
[su_spoiler title=”Change NZBGet default login” style=”fancy”]
Login to the web interface, click “Settings” and select the “Security”. Scroll down until you see the “ControlUsername” and “ControlPassword” field. change these values to whatever you want and click “Save All Changes” in the left bottom corner.
To apply changes, click “Reload NZBGet”.
[su_spoiler title=”Add News-server” style=”fancy”]
In the web interface, click “Settings” then click “NEWS-SERVERS”… Fill in the following required fields and click “Save All Settings”. Following fields are required:
Server1.Name = display name for this server Server1.Host = hostname / url of news server Server1.Port = port for your server (119 default) Server1.Username = Username for server Server1.Password = Password Server1.Encryption = SSL enabled or disabled Server1.Connections = Number of simultaneous connections
other fields can be left default, click “Save All Changes” to save your server, or add another server.
I am not responsible for failed installations breaking your NAS, this is the initial tutorial so leave comments below if you’re experiencing problems.