Installing the Debian Packages

From IHRIS Wiki
Revision as of 17:17, 10 January 2011 by Litlfred (talk | contribs)

EXPERIMENTAL Directions for debian installation.

Caveats:

  • This is for testing purposes on only
  • Tested on Ubuntu Lucid (10.04) and Meerkat (10.10)

Adding sources

Before we begin we need to make sure that we have the most recent version of APC available (not the one that comes with Meerkat or Lucid). We also want to add in our iHRIS packages. This can be done by: <source lang='bash'> sudo add-apt-repository ppa:chris-lea/php-pecl-extras sudo add-apt-repository ppa:litlfred/ihris-test2 sudo apt-get update </source>

Installing Sites

The are four possible sites you can install:

The site administrator has username i2ce_admin with password manage (we'll make it so you can choose it a bit later on)

When you install your site you will be asked to enter the administrative password for mysql. This is probably the same password of the account you logged into the computer with)


Your Done! Just see the cleanup section below.

Cleanup

APC

Just make sure that you have 'etc/php5/apache2/conf.d/apc.ini' looking something like this:

; configuration for php apc module
extension=apc.so
apc.shm_size=150M
apc.slam_defense = Off

The important thing being that the slam_defense is off and that the shm_size is at least 100.

Details

  • The i2ce/ihris library is installed under /usr/lib/iHRIS/lib/4.0
  • All sites are installed under /var/lib/iHRIS/sites/4.0, for example /var/lib/iRHIS/sites/4.0/ihris-manage-site-demo
  • There is no link (ln -s) under /var/www to the pages directory, instead the site is made available by /etc/apache2/conf.d/ihris-manage-site-demo.conf