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.

Notes on Operating systems and Dependencies

Ubuntu

  • The main Loris Readme will cover most Ubuntu installations.
  • Smarty 3 : For Ubuntu It is recommended to install smarty3 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

CentOS

For CentOS 6 systems a separate CentOS Readme is available.

Mac OSX

  • Mac is not actively supported as of release 15.10

For Mac OSX installations, a Mac Readme was developed for release 15.04.

Running the Install Script

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

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.
    (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: "

This should be the directory name created in Step 1 of the main Readme, e.g. "loris" from /var/www/loris

  1. MySQL Database name. If an empty database has not already been created for your project, choose a simple name such as "LORIS" or "Abc_Def"

  2. Hostname for the machine running MySQL server where the database is or will be located.

  3. A new MySQL username that the LORIS system will use to connect to this server and database to perform frontend-backend transactions.
    This script will ask to create this user. Recommended: "lorisuser"

  4. Host address of this machine - from which LORIS system will be connecting (Where Apache is installed)

  5. A new password for the "lorisuser" MySQL username

  6. Another new password for the 'admin' frontend Loris user account. This 'admin' account will be the superuser Loris' web-accessible platform.

  7. Credentials of an existing MySQL account with root or superuser privileges, capable of creating the database, or installing the schema, or creating users on the given database. This will only be used to create the database, install the schema, and/or create and grant privileges to the "lorisuser" MySQL user.

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