queXS: Installation

### Requirements

- Server

  - PHP version 5 or greater

  - AdoDB

  - MySQL version 5 or greater

- Client

  - Firefox web browser

### Requirements for VoIP integration

- Server

  - Asterisk server (only tested with 1.4 or greater)

- Client

  - SIP client with auto answer (I recommend pjsua)

### Installation

1. Extract tar ball or zip file to a directory on your web server

2. Security warning:

- - queXS does not have any intrinsic security, so relies on the web server for authentication

- - Set up a form of authentication such as basic username password authentication

- - Make sure to secure the entire installation to trusted users/operators

- - Secure the /admin subdirectory to trusted administrators only

1. Create the database structure by using the database/quexs.sql file on your mySQL database server.

- - It is recommended to create a database user with privileges only to the queXS database

1. Edit the config.inc.php file to point to your database and your local web paths

2. Edit the db.inc.php file to point to your AdoDB installation

3. Edit the include/limesurvey/config.php file to point to your database and local web paths

- - The limesurvey database can be the same as the queXS database, as it will create tables with a prefix

  - Make sure this database information is the same as in the queXS config.inc.php file for the LIME_DB fields

1. Open a web browser, and browse to the queXS installation subdirectory include/limesurvey/admin/install

2. Follow the on-screen instructions to install LimeSurvey

3. Remove the include/limesurvey/admin/install directory from the web server

4. Browse to the admin directory of the queXS installation in a web browser to begin administering the queXS system