Installing the Debian Packages: Difference between revisions
(→NMCN) |
|||
Line 12: | Line 12: | ||
<source lang='bash'> | <source lang='bash'> | ||
sudo add-apt-repository ppa:chris-lea/php-pecl-extras | sudo add-apt-repository ppa:chris-lea/php-pecl-extras | ||
echo "deb http://ppa.launchpad.net/intrahealth+informatics/ihris/ubuntu " `lsb_release -cs` " main" | sudo tee /etc/apt/sources.list.d/ihris.list | |||
sudo apt-get update | sudo apt-get update | ||
</source> | </source> | ||
===Doing the Install=== | ===Doing the Install=== | ||
The are four possible sites you can install: | The are four possible sites you can install: |
Revision as of 08:44, 21 January 2011
EXPERIMENTAL Directions for debian installation.
Caveats:
- This is for testing purposes on only
- Tested on Ubuntu Lucid (10.04) and Meerkat (10.10)
Installing The Standard iHRIS Sites
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 echo "deb http://ppa.launchpad.net/intrahealth+informatics/ihris/ubuntu " `lsb_release -cs` " main" | sudo tee /etc/apt/sources.list.d/ihris.list sudo apt-get update </source>
Doing the Install
The are four possible sites you can install:
- sudo apt-get install ihris+ihris-manage-site
- will install to http://localhost/iHRIS/manage
- sudo apt-get install ihris+ihris-manage-site-demo
- will install to http://localhost/iHRIS/manage-demo
- sudo apt-get install ihris+ihris-qualify-site
- will install to http://localhost/iHRIS/qualify
- sudo apt-get install ihris+ihris-qualify-site-demo
- will install to http://localhost/iHRIS/qualify-demo
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! The site administrator has username i2ce_admin with password the one chose when you installed the site
Installing Other Sites
Qualify for Nursing and Midwifery Council of Nigeria
<source lang='bash'> sudo add-apt-repository ppa:chris-lea/php-pecl-extras sudo add-apt-repository ppa:intrahealth+informatics/ihris sudo apt-add-repository ppa:ihris-nigeria/ihris sudo apt-get update sudo apt-get install ihris+ihris-qualify-nmcn </source> Now browse to http://localhost/NMCN
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