-
Notifications
You must be signed in to change notification settings - Fork 175
Install Script
HOME > SETUP > INSTALL SCRIPT
This page provides more information on the Loris install script and installation process.
- The main Loris Readme will cover most Ubuntu installations.
- The install script should install Composer and dependencies including smarty3. There is no need to install these dependencies before running the install script.
For CentOS 6 systems a separate CentOS Readme is available.
- Mac is not actively supported as of release 15.10
For Mac OSX installations, a Mac Readme was developed for release 15.04.
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:
- 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.)
This should be the directory name created in Step 1 of the main Readme, e.g. "loris" from /var/www/loris
-
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"
-
Hostname for the machine running MySQL server where the database is or will be located.
-
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" -
Host address of this machine - from which LORIS system will be connecting (Where Apache is installed)
-
A new password for the "lorisuser" MySQL username
-
Another new password for the 'admin' frontend Loris user account. This 'admin' account will be the superuser Loris' web-accessible platform.
-
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.
If re-running the Install script, remove (rename) the config.xml file stored in the project/ directory. If this file exists, the install script will abort.
For Ubuntu installations, if any difficulties are encountered in the install script, Composer can be manually installed thus: To manually install Composer
curl -sS https://getcomposer.org/installer | php;
sudo mv composer.phar /usr/local/bin/composer
composer install
- Smarty 3 : For Ubuntu the recommended smarty3 package can be installed using:
apt-get install smarty3