User
User
User
User Documentation
Adam Cantrell
West Virginia University Institute of Technology
Benjamin Culkin
West Virginia University Institute of Technology
Version: 1
-1-
1. Installation
1.1. Introduction
OS independent instructions are provided. Please refer to your OS or distributions docu-
mentation for detailed information on how to perform certain tasks.
1.2. Configuration
1.2.2. Downloading
0 Create a directory in your home folder and change directory to it
bash
mkdir ˜/dir
cd ˜/dir
0 Clone the repository into your directory
git clone https://github.com/AdamC1228/LabAssist.git
0 Change to the repository directory
cd LabAssist
2 May 2018
-2-
2 May 2018
-3-
0 On lines 4, 5 and 6; update the LDAP parameters to match your active directory
structure. (Specifying the OU here is not necessary, but it speeds up the applica-
tion substantially to do so.)
0 If you are not setting this system up within a WVU network, the attribute names
in the getUserAttr and getSidnoAttr functions must be update. Not doing this will
cause the system to fail to get required information from the directory.
2 May 2018
-4-
2 May 2018
-5-
Table of Contents
1. Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.1. Document Assumptions . . . . . . . . . . . . . . . . . . . 1
1.1.2. PHP Extensions/packages . . . . . . . . . . . . . . . . . . 1
1.2. Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2.1. Important settings . . . . . . . . . . . . . . . . . . . . . 1
1.2.2. Downloading . . . . . . . . . . . . . . . . . . . . . . 1
1.3. Database Setup . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3.1. User Creation . . . . . . . . . . . . . . . . . . . . . . 1
1.4. Site Installation . . . . . . . . . . . . . . . . . . . . . . . . 2
1.5. Site Configuration . . . . . . . . . . . . . . . . . . . . . . . 2
1.5.1. Database (dbCon.php) . . . . . . . . . . . . . . . . . . . 2
1.5.2. LDAP (ldap.php) . . . . . . . . . . . . . . . . . . . . . 2
2 May 2018