Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 52 lines (41 sloc) 3.07 KB

NeuroInformatics Database


The Neuroinformatics Database (NiDB) is designed to store, retrieve, analyze, and share neuroimaging data. Modalities include MR, EEG, ET, video, genetics, assessment data, and any binary data. Subject demographics can also be stored.

Watch an overview of the main features of NiDB: Part 1 | Part 2 | Part 3

This is a unified repository for the NiDB project. It is composed of four main sections:

  • programs - the behind the scenes programs and scripts that make things happen without the user seeing it. Usually copied to /nidb/programs
  • web - the website that the user interacts with. Usually copied to /var/www/html
  • setup - setup script and SQL schema files
  • documentation - Word documents for usage and administration


After setup, go to http://localhost/ and login with admin and password. Change the default password immediately after logging in!

CentOS 7

To install on CentOS 7, type the following on the command line (as root), and follow the instructions: (This has been tested and is generally stable)
> wget .
> chmod 777
> sudo ./

Ubuntu 16

To install on Ubuntu 16, type the following on the command line (as root), and follow the instructions: (This is untested and might or might not work...)
> wget .
> chmod 777
> sudo ./

Generic requirements for installation any OS

Most of these are available through yum or apt-get

  • httpd
  • MySQL/MariaDB 10.0+
  • Perl 5.16+ - including the following libraries: File::Path, Net::SMTP::TLS, List::Util, Date::Parse, Image::ExifTool, String::CRC32, Date::Manip, Sort::Naturally, Digest::MD5, Digest::MD5::File, Statistics::Basic, Email::Send::SMTP::Gmail
  • PHP 7+ - including the following packages (through yum or PEAR): php-mysql, php-gd, php-process, php-pear, php-mcrypt, php-mbstring, Mail, Mail_Mime, Net_SMTP
  • iptables (configured to forward external port 104 to internal port 8104)
  • svn (for downloading updates from github)
  • java
  • ImageMagick
  • phpMyAdmin
  • FSL


To upgrade an existing installation of NiDB, do the following (as root). (Tested, should work. Backup your database before attempting the upgrade!!)
> wget .
> wget .
Edit the options at the top of Upgrade.php to reflect your site (usernames/passwords) and the options you want to execute. Then run the updater by typing
> php Upgrade.php


Visit the NiDB's github issues page for more support.