Installing the Debian Packages: Difference between revisions

From IHRIS Wiki
No edit summary
Line 8: Line 8:
==Installing The Standard iHRIS Sites==
==Installing The Standard iHRIS Sites==


===Adding Sources===
The are four possible sites you can install. 
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'>
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)
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
Once you are done the site administrator has username i2ce_admin with password the one chose when you installed the site.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6EC21546 
sudo apt-get update
</source>


===Doing the Install===
===iHRIS Manage===
The are four possible sites you can install:
====iHRIS Manage====
Once you have added the sources as above:
Once you have added the sources as above:
<source lang='bash'>
<source lang='bash'>
Line 28: Line 23:
</source>
</source>
will install to http://localhost/iHRIS/manage
will install to http://localhost/iHRIS/manage
====iHRIS Manage Demo====
===iHRIS Manage Demo===
Once you have added the sources as above:
Once you have added the sources as above:
<source lang='bash'>
<source lang='bash'>
Line 37: Line 32:
</source>
</source>
will install to http://localhost/iHRIS/manage-demo
will install to http://localhost/iHRIS/manage-demo
====iHRIS Qualify====
===iHRIS Qualify===
Once you have added the sources as above:
Once you have added the sources as above:
<source lang='bash'>
<source lang='bash'>
Line 46: Line 41:
</source>
</source>
will install to http://localhost/iHRIS/qualify
will install to http://localhost/iHRIS/qualify
====iHRIS Qualify Demo====
===iHRIS Qualify Demo===
Once you have added the sources as above:
Once you have added the sources as above:
<source lang='bash'>
<source lang='bash'>
Line 55: Line 50:
</source>
</source>
will install to http://localhost/iHRIS/qualify-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==
==Installing Other Sites==

Revision as of 09:30, 11 February 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

The are four possible sites you can install.

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)

Once you are done the site administrator has username i2ce_admin with password the one chose when you installed the site.

iHRIS Manage

Once you have added the sources as above: <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-key adv --keyserver keyserver.ubuntu.com --recv-keys 6EC21546 sudo apt-get install --install-recommends ihris+ihris-manage-site </source> will install to http://localhost/iHRIS/manage

iHRIS Manage Demo

Once you have added the sources as above: <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-key adv --keyserver keyserver.ubuntu.com --recv-keys 6EC21546 sudo apt-get install --install-recommends ihris+ihris-manage-site-demo </source> will install to http://localhost/iHRIS/manage-demo

iHRIS Qualify

Once you have added the sources as above: <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-key adv --keyserver keyserver.ubuntu.com --recv-keys 6EC21546 sudo apt-get install --install-recommends ihris+ihris-qualify-site </source> will install to http://localhost/iHRIS/qualify

iHRIS Qualify Demo

Once you have added the sources as above: <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-key adv --keyserver keyserver.ubuntu.com --recv-keys 6EC21546 sudo apt-get install --install-recommends ihris+ihris-qualify-site-demo </source> will install to http://localhost/iHRIS/qualify-demo

Installing Other Sites

Qualify for Nursing and Midwifery Council of Nigeria

<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-key adv --keyserver keyserver.ubuntu.com --recv-keys 6EC21546 sudo apt-add-repository ppa:ihris-nigeria/ihris sudo apt-get update sudo apt-get install --install-recommends ihris+ihris-qualify-nmcn </source> Now browse to http://localhost/NMCN


Manage for MOH Zanzibar

<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-key adv --keyserver keyserver.ubuntu.com --recv-keys 6EC21546 echo "deb http://ppa.launchpad.net/ihris+zanzibar/ihris/ubuntu " `lsb_release -cs` " main" | sudo tee /etc/apt/sources.list.d/ihris_zanzibar.list sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 67A06201 sudo apt-get update sudo apt-get install --install-recommends ihris+ihris-manage-site-zanzibar </source> Now browse to http://localhost/iHRIS/zanzibar

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