1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
This is a package containing the iHRIS Manage software as a
Demonstration. To complete the set up, follow these stes:
1. This package expects MySQL to be installed locally by default.
Verify that it is, or add the MySQL host to
/etc/i2ce/ihris-manage-demo.apache as the value of the environment
variable I2CE_DB_PROTOCOL.
For example, if your MySQL host is reachable at “mysql-host”, you
would put
SetEnv I2CE_DB_PROTOCOL mysql-host
in /etc/i2ce/ihris-manage-demo.apache.
2. Create the database for the iHRIS demonstration. By default, the
demo expects to use a database named “ihris” with the user “ihris”
and the password “ihris”.
To create the database, use the following commands:
mysqladmin -uroot -p create ihris
echo "GRANT ALL ON ihris.* to ihris@localhost \
IDENTIFIED BY 'ihris'" | mysql -uroot -p
If you want to change any of these, then modify the file in
/etc/i2ce/demo/config.values.php.
3. Symlink /etc/i2ce/ihris-manage-demo.apache to /etc/apache2/conf.d
and restart apache:
sudo ln -s /etc/i2ce/ihris-manage-demo.apache /etc/apache2/conf.d
sudo /etc/init.d/apache2 restart
4. Point your browser to the URL. By default, an alias is created at
<http://YOUR_SERVER/ihris/manage/demo/>. If you're installing this
on your local machine, then you would probably use
<http://127.0.0.1/ihris/manage/demo/>.
5. You will be prompted to update the site. Click “OK”.
6. When this completes, you'll get another prompt to procede to the
site. Click “OK” again.
7. Explore!
|