Advertisement
Guest User

Newznab on Windows

a guest
Dec 10th, 2012
6,094
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 0
  1. http://webcache.googleusercontent.com/search?q=cache:gkDds0iDe04J:forums.sabnzbd.org/viewtopic.php%3Ff%3D6%26t%3D5382%26start%3D45+&cd=6&hl=en&ct=clnk&gl=us
  2.  
  3. Re: newznab - open source usenet indexer and all round nzbs.
  4. by ko0ky » Fri Feb 17, 2012 2:18 am
  5.  
  6. I'm trying to put together a tutorial for newbie users like myself who might need some help setting up newznab on windows. I somewhat got this going (time will tell how good it's working).
  7.  
  8. A big Thanks to medoix on the IRC channel for his help!
  9.  
  10. I expect this tutorial to be a work in progress. If I missed a step or did something wrong, don't flame me, I'm just offering a bit of help for the next guy.
  11.  
  12. The instructions included with the download seemed a bit lacking for window users, especially for those of us who don't do much with php, apache, curl and other apps needed for this to work. Also I couldn't find much on this forum.
  13.  
  14. Here's the steps I did to get it working. (notice: I wasn't concerned with SSL at this time, so I didn't worry about setting it up. If this is something you are concerned about you may need some better instructions)
  15.  
  16. First I installed an apache/curl/pear/php/blah blah pack.. - http://www.apachefriends.org/en/xampp-windows.html (Dont be mislead, the download link is near the bottom where you choose if you want to download a zip/install file or 7zip) I decided on the install file I installed to the default location c:\xampp
  17.  
  18. Next I installed TortoiseSVN which was recommended to grab newznab. http://tortoisesvn.net/downloads.html after installing it I ran it and used the login information provided when I purchased NNPLUS (some of you not using NNPLUS may need to skip this part.. I have no idea how you download the non plus version), I nagivated to c:\xampp\htdocs and right mouse clicked where I found a new menu option (after installing tortoisesvn) and selected SVN checkout. It created a folder c:\xampp\htdocs\nnplus (YES I might have downloaded this to the wrong directory.. or perhaps could have changed it a bit.. but it didn't matter much to me. My url is http://127.0.0.1/nnplus/www which is fine with me)
  19.  
  20. Next navigate to c:\xampp\php and open php.ini - search for "memory limit".. set at 256, next search for "minimum execution time" and set to 60. (keep php.ini open for next step)
  21.  
  22. Next I reviewed this page http://www.tonyspencer.com/2003/10/22/curl-with-php-and-apache-on-windows/ for setting up curl on windows box. I had to make a few adjustments. TAKE NOTE his install is d:\apps , using this setup our install dir is c:\xampp.. You can skip "- set extensions_dir to d:\apps\php\extensions" it's all set correctly. Next in php.ini search for "register_globals =" and set to On, next search php.ini for "session.save_path =" make sure you see session.save_path = "C:\xampp\tmp"
  23.  
  24. Copy php5ts.dll (located in c:\xampp\php\) to your c:\xampp\Apache\bin folder
  25. Copy libeay32.dll and ssleay32.dll (located in c:\xampp\php\) to c:\windows\system32
  26.  
  27. download curl.exe from http://curl.haxx.se/download.html - I used win32 generic - I put curl.exe in c:\xampp
  28.  
  29. [Windows XP Install Only] Check to see if you have the following file: c:\windows\system32\msvcr70.dll. If not, search for it in Google and download it to system32. You may get error messages without it. ( I didn't have a problem with this.. I am using windows 2008 )
  30.  
  31. Uncomment the curl line in your php.ini file to enable curl: extension=php_curl.dll
  32.  
  33. I skipped the rest of steps on that curl page, PHP was working fine so I didn't need to mess with that.
  34.  
  35. in php.ini search for "E_ALL | E_STRICT" and change to E_ALL ^ E_STRICT
  36.  
  37. save php.ini - restart apache (you can use xampp control panel (located in your taskbar near the clock) to stop and start the service.
  38.  
  39. You will need to add c:\xampp\php to your system variable path (right click my computer - properties - advanced system settings - advanced - Environment Variables... in the system variables find PATH, double click and at the very end add c:\xampp\php
  40.  
  41. Now continue with the steps provided from the INSTALL.TXT file from newznab:
  42.  
  43. 3) Browse to http://yournewznabserver/install. (the example above.. or mine was http://172.0.0.1/nnplus/www/install
  44. refer to the list of requirements above if you encounter any errors during install, or the FAQ in the README
  45. 4) Once installed activate only one or two groups to test with first (a.b.linux.iso is a good choice), this
  46. will save you time if it is not working correctly.
  47. 5) Run the update_binaries.php and update_releases.php scripts in \misc\update_scripts\ via command-line.
  48. 6) If updating was successful then you can continue to setup your site and configure the update scripts for
  49. auto-updating. windows users use the script /misc/update_scripts/win_scripts/runme.bat
  50.  
  51.  
  52. THIS SHOULD GET YOU UP and running unless I over looked something.. Please comment if this has helped you or if I left something out. I will try my best to help in any way I can.
  53.  
  54. Hope this helps someone!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement