9. Command Line Install/Update



Install

Rogō can be installed on the command line using the init.php script.

User/Passwd:  Username and password for database - must have full access to db.

Host/Port: Server and port database is running on.


Before running the init.php script the admin user should create a config/settings.xml file. It is advised to copy and update the config/settings.example.xml file.

SettingDescription
companyName of the institute Rogo is running for
server/hostIP address of web server. Probably 127.0.0.1.
server/dataLocation of rogo data direcotry on server. i.e. /rogodata
server/tempLocation of temp directory on server. i.e. /tmp/
server/root

Path to Rogo from web root directory. Will be '/' unless using sub directory's.

database/prefixPrefix appending to rogo tables and users in database. i.e. rogo
database/engineThe MySQL database engine to use for the core database
database/help_engineThe MySQL database engine to use for the help database
timedate/mysqlshortdateThe short date format returned by the database
timedate/mysqllongdateThe long date format returned by the database
timedate/mysqllongdatetimeThe long atetime format returned by the database
timedate/mysqlshortdatetimeThe short datetime format returned by the database
timedate/phplongdateThe long date format returned by the application
timedate/phpshortdateThe short date format returned by the application
timedate/phplongdatetimeThe long time format returned by the application
timedate/phpshortdatetimeThe short time format returned by the application
timedate/timezoneThe timezone the application should use.
sysadmin/usernameSysadmin username
sysadmin/passwordSysadmin password
sysadmin/titleSysadmin title
sysadmin/forenameSysadmin forename
sysadmin/surnameSysadmin surname
sysadmin/emailEmail address for sysadmin
authentication/ltiEnable LTI authentication
authentication/internaldbEnable internal database authentication
authentication/ldapEnable LDAP authentication
authentication/summativeguestloginEnable guest login accounts
authentication/userimpersonationEnable sysadmin user impersonation
ldap/serverLDAP server address
ldap/searchdnLDAP dn
ldap/usernameLDAP username
ldap/passwordLDAP password
ldap/prefixLDAPprefix
supportemailComma seperated list of support emails
contactX/nameSupport contact full name
contactX/telephoneSupport contact email address
helpEnable loading of help files
translationsEnable installation of language packs
lookup/ldapEnable LDAP lookup
lookup/xmlEnable XML lookup
labsecurity/typeLab computer validation type


Once installation is completed it is recommended that the config/settings.xml file is removing from the system as it contains user details.

Update

Rogō can be updated on the command line using the upd.php script.