Post by De5perate » December 15th, 2012, 9:09 pm

Step 1 – Buy Newznap Plus

Step 2 – Install Xampp

Step 3 – Install Newznap Plus

Step 4 – Test Xampp.

Step 5 – Configure Xampp

Code: Select all DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/nnplus/www/"

Step 6 – Configure PHP.

Step 7 – Install Newznab (properly this time)

Code: Select all chmod 777 /Applications/XAMPP/xamppfiles/htdocs/nnplus/www/lib/smarty/templates_c

Code: Select all chmod 777 /Applications/XAMPP/xamppfiles/htdocs/nnplus/www/covers/movies

Code: Select all chmod 777 /Applications/XAMPP/xamppfiles/htdocs/nnplus/www/covers/anime

Code: Select all chmod 777 /Applications/XAMPP/xamppfiles/htdocs/nnplus/www/covers/music

Code: Select all chmod 777 /Applications/XAMPP/xamppfiles/htdocs/nnplus/www

Code: Select all chmod 777 /Applications/XAMPP/xamppfiles/htdocs/nnplus/www/install

Code: Select all chmod -R 777 /Applications/XAMPP/xamppfiles/htdocs/nnplus/nzbfiles/

Step 8 – Setup of Newznab

Step 9 – Select Newsgroups.

Step 10 – Populate Newznab.

Code: Select all cd /Applications/xampp/xamppfiles/htdocs/nnplus/misc/update_scripts

Code: Select all cd /Applications/xampp/xamppfiles/htdocs/nnplus/misc/update_scripts

This is my guide to installing Newznab on a Mac running OS-X 10.8.2 – Mountain Lion.There were pictures included but it was far too time consuming to try to include them here.Now I am a complete noob to all this – I don’t know what php does or Apache, I know mysql is a database but that is my limit. I have however with a lot of help from various sources through Google sources managed to install this and get it working and I am hoping my noob guide can help some others avoid some of the pain I experienced.Pay your £10 and get Newznab Plus ( http://www.newznab.com ). While you are waiting for your confirmation email to arrive install xampp. I have heard that the free version is not really worth while as you need to obtain or write the regexes required.Go to http://www.apachefriends.org/en/xampp-macosx.html and download and install xmapp. This is a simple drag to applications install I am not going to go into that level of detail.You have received your confirmation email from Newznab . For me this was a painful experience as after you’ve paid your money you get rewarded with a test – not a nice download link – oh no – you get an SVN link – so I spent a while working out what to do with that. What I did was download the trial version of Versions (from http://versionsapp.com ).You don’t need to install it – just run the downloaded program:So click New Repository Bookmark and in the dialogue box that appears enter the SVN address, username and password from your welcome email and then click create.You should now see a screen like this – right click on the top level nnplus and select Checkout. In the next dialogue box remove ‘ (Branch)’ from the Save As box and click the down arrow icon to the right of the save as box. Now in the finder like box that appears navigate to Applications, then find your recently installed XAMPP folder then xamppfiles and finally htdocs. Now click Checkout to extract your files here.Open applications and find XAMPP folder, open the folder and select XAMPP Control.app. In XAMPP Control panel click Start on all 3 options – Apache (which will request a password), MySQL and FTP (not sure if FTP is required but I am playing it safe).When they are all showing a green ‘light’ open Safari and type localhost into the address bar. You should see a welcome screen as below – if not I suggest you resort to google as mine worked just fine.Click on your language of choice and then you’ll be presented with the Welcome to Xampp screen where you are welcome to try out the little demos etc.However to stay on track click on security and if you are planning to do more than access this site on your own personal network I suggest you do something more secure than the default – following their suggestion and pasting the /Applications/XAMPP/xamppfiles/xampp security into a terminal window seems a good start. I have not done that as I am keeping my access to just me. If anyone would like to alert me to any security issues with that master plan then please let me know. As I may have mentioned before I have no idea what I am doing.I understand this gives read – write access to anyone – therefore you may want to look into a more secure method if you are concerned about this step.For the next few steps you will need to edit some config files for this I have used Text Wrangler – I am certain there are other methods out there (possibly better – who knows) but this was the way I did it and so far it’s working – so head on over to http://www.barebones.com/products/textw ... nload.html and download and install Text Wrangler.To configure Xampp – I first suggest to access the Xampp control app and stop all – Apache, My SQL and FTP.Now open Textwrangler and click file – open. In the open dialogue box select everything in the enable box and also select Show Hidden Items check box.Then navigate to Applications and then Xampp foler, then click on the etc shortcut and finally open httpd.conf. In this file you need to make a couple of minor changes. To make changes you first need to click on the icon showing pencil with a cross through it and accept the yes no dialog box.Firstly in my setup it was line number 178. You need to update the Documentroot to read:Please remember the final / at the end of the structure – the absence of this caused me a lot of early problems.Then line number 206 for me (might be different for you but the text should be the same) – update