Skip to content
/ nZEDbgo Public

script to automatically install nZEDb on an AWS Ubuntu 14.04 server instance

Notifications You must be signed in to change notification settings

xelfer/nZEDbgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

A script to install nZEDb automagically. I built this script from these instructions.

Notes:

This is aimed at a fresh AWS instance of Ubuntu Server 14.04. It will probably work with a fresh install somewhere else as well, but I haven't tested it.

It's your responsibility to sign up to AWS and to figure out how to use keys and security groups. I may write a tutorial on this later on, but for now it's assumed you know what you're doing here. If you don't and need a place to start, head over to http://aws.amazon.com/. There's probably a bunch of tutorials for this online already.

I encourage you to look through go.sh and see what it does, and ensure i'm not hacking your gibson.

This script completely disables apparmor. If you need it, you can probably figure out how to remove the mysql exception and re-enable it.

The script does NOT set your php timezone, that's up to you as I don't have a clue where you're from. (it's not 100% necessary either). You can fix this by editing /etc/php5/apache2/php.ini and setting the date.timezone option. (Don't forget to restart apache).

It is HIGHLY SUGGESTED you set up an AWS BillingAlarm to ensure you don't over your free tier allowance. Upon testing this automated install I exceeded the allowance, though I can't really tell if that was due to the indexer or due to me reinstalling the same packages about 15 times. That said, my bill was a massive $1.05. ;-)

Instructions:

  1. Launch a "Ubuntu Server 14.04 LTS" - ami-41128a7b instance, the t2.micro tier works fine if you're just starting out and it's free for a year for new AWS accounts.

  2. ssh to said machine

  3. sudo su -

  4. wget https://github.com/raw/xelfer/nZEDbgo/master/go.sh

  5. bash go.sh

  6. Browse to http://your-server-ip/

You should see:

nZEDb config page

  1. Follow the buttons "Go to step one" and then on the next page "go to step two".

  2. Enter the following:

nZEDb db config

  1. "Go to step 3" then enter in your news server details. If you need one I recommend usenetbucket. Complete this by scrolling down and clicking "Test Primary Connection".

  2. "Step four: save settings"

  3. "Step five: setup admin user" - straight forward, create your own account.

  4. "Step six: set file paths" - I accept defaults, "Set file paths"

Tada!

install complete

About

script to automatically install nZEDb on an AWS Ubuntu 14.04 server instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages