Update--------------------------------------------------------------------------------
The attached script is now considered stale and current development is
being managed as a Gist. You are encouraged to use the Gist version:
https://gist.github.com/NZBmets/359aecbbbad466ab4926--------------------------------------------------------------------------------
Notes:
It is really designed for installing on a clean Ubuntu install / VM
QuickStart:Log on as root and assign password if necessary
cd ~;
apt-get install git;
git clone https://gist.github.com/359aecbbbad466ab4926.git nZEDb_Install_Script;
cd nZEDb_Install_Script;
chmod a+x install_nZEDb.sh;
./install_nZEDb.sh;
Recommended:
MariaDb - it is the install I test most frequently so likely to be the best experience
Notes:
- Uses Apache2 and provides a nZEDB.conf file which you should alter if necessary
- Replaces any existing ffmpeg with a 64bit most current pre-compiled version
- You can skip any section by commenting out the area (like skipping ffmpeg install)
It will
purge previous database installs by default but can be changed to remove by altering the default variable (remove is a bit aggressive and why this is currently for new installs). The 'change' routine is a work-in-progress and might cause difficulty. Back up any existing databases you may want to preserve.
You can modify additional variable settingss (e.g. your timezone for the PHP.ini update by variable)
It prefers you to have already copied a nZEDb.conf & a my.cnf file to your ~ home directory
- If you go with mySql 5.6 there are my.cnf changes it warns you about
It is largely an adaption of Jonnyboy's script but a slightly different approach in some areas
It is a script - nothing magical but handy as hell
You still need to update apache2.conf manually (wasn't worth the automation) for
AllowOverride All
I also use a SQL script (attached) to modify groups I want active and to set backfill. I thought the example worth sharing as well.
After you have gone through the setup pages so that the DB is created, you can run the following
mysql nzedb -u root -p'yourPasswordNoSingleQuotes' < ~/activeGroups.sql
It activiates my desired groups, enables some blacklist rules, and disables some categories I don't want.
Enjoy