SABnzbd on ZFSguru (FreeBSD 8.2)
1. Set ssh password under Services ---> OpenSSH in ZFSguru
2. SSH in to your server with username: ssh , password: whatever you just set.
3.At the command prompt type
suwithout quotes and hit enter to get root access.
4.Install unzip, a required package which is not installed with the port:
pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-stable/archivers/unzip-6.0.tbz
5. Install SABnzbd FreeBSD port, which also installs all the rest of the required packages:
pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-stable/news/sabnzbdplus-0.5.6.tbz
6. Edit rc.conf to enable SABnzbd to start automatically:
ee /etc/rc.conf
Add these two lines somewhere at the bottom-
#SABnzbd
sabnzbd_enable="YES"
Press esc key----->leave editor----> save to save changes
7. Run SABnzbd for the first time:
/usr/local/bin/SABnzbd.py
Use a browser to go to http://ip-of-your-ZFSguru-server:8080 and proceed with configuring SABnzbd, after configuring an ini file will be created at /root/.sabnzbd/sabnzbd.ini
8. Edit the SABnzbd rc.d config file
ee /usr/local/etc/rc.d/sabnzbd
Modify the following lines from this:
: ${sabnzbd_user:="_sabnzbd"}
: ${sabnzbd_group:="_sabnzbd"}
: ${sabnzbd_conf_dir:="/usr/local/sabnzbd"}
to this:
: ${sabnzbd_user:="root"}
: ${sabnzbd_group:="wheel"}
: ${sabnzbd_conf_dir:="/root/.sabnzbd"}
9. Add this line just below those you just modified, they will help SABnzbd find the unzip, unrar, and par2 packages:
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
10. Remove the spaces from around the equal sign in this line under the sabnzbd_stop function:
if [ ${host} = "0.0.0.0" ]
Press esc key----->leave editor----> save to save changes
11. Test things out with the following commands for starting and stopping SABnzbd
/usr/local/etc/rc.d/sabnzbd start
/usr/local/etc/rc.d/sabnzbd stop
That's it! Just restart your ZFSguru server and SABnzbd should start automatically and you can access it at http://ip-of-your-ZFSguru-server:8080. Remember to change the Permissions for completed downloads setting in SABnzbd to 777 to allow you to access,move, and delete files in your download directories through a samba share. Up next will be the Sick Beard install guide.