Skip to content

Install Script

christinerogers edited this page Nov 4, 2015 · 34 revisions

HOME > SETUP > INSTALL SCRIPT


This page provides more information on the Loris install script and installation process.

Operating systems:

The Install script is designed to be run on Ubuntu (12.04 or 14.04) or CentOS systems.

The main Loris Readme will cover most Ubuntu installations.

For CentOS 6 systems a separate CentOS Readme is available.

For Mac OSX installations, there is a separate Mac Readme developed for release 15.04. Mac is not actively supported as of release 15.10

Notes on Required packages:

Smarty 3: It is recommended to install smarty3 for Ubuntu using:

apt-get install smarty3

To install Composer:

  curl -sS https://getcomposer.org/installer | php;
  sudo mv composer.phar /usr/local/bin/composer
  composer install

Before continuing further --
Please ensure you have already completed the preceding steps 1 and 2 in the Readme.

The install script will ask for the following input and will offer the following choices:

  1. Your project directory name from Installation Guide. (Will be used to modify the paths for Imaging data in the generated config.xml file for LORIS, and may also be used to automatically create/install apache config files.)

Prompt: "Enter project name: "

  1. A name for the MySQL Database. This should be a simple identifier such as "LORIS" or "Abc_Def". This database will be created later on so please make sure a database with the same name does not already exist.

  2. The hostname for the machine where the MySQL server will run on (this is where we'll create the database).

  3. The MySQL username that the LORIS system will use to connect to this server and database; this MySQL account will be created later on so please make sure a user with the same name does not already exist.

  4. The password for this username (it will be set later on).

prompt: "What is the password for MySQL user '$mysqluser'? " mysqlpass"

You will be asked to enter this password twice.

  1. Another password for the 'admin' account of the LORIS DB (it will also be set later on).

  2. Credentials of an existing root MySQL account to install the default schema. This will only be used once, to create and populate the default tables, and to grant privileges to the newly created MySQL user in part 3).

If you have mysql root access, provide that root account credential. If you have another account that can create databases, create/drop tables.

Clone this wiki locally