Installing the Debian Packages: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 1: Line 1:
These directions are for the stable packagesIf you would like to test the experiemental packages, or modify the demo site in any way, please see [[Customizing Packaged iHRIS]]
'''EXPERIMENTAL'''
Directions for debian installationTested on meerkat.
==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='sh'>
echo "deb http://ppa.launchpad.net/chris-lea/php-pecl-extras/ubuntu $(lsb_release -sc) main"  | sudo tee  /etc/apt/sources.list.d/pecl-extras.list
echo "deb http://open.intrahealth.org/ihris-packages / "  | sudo tee  /etc/apt/sources.list.d/ihris.list
sudo apt-get update
</source>


==iHRIS Manage Demo==
==Installing Sites==
The are four possible sites you can install:
*sudo apt-get install ihris+ihris-manage-site
*sudo apt-get install ihris+ihris-manage-site-demo
*sudo apt-get install ihris+ihris-qualify-site
*sudo apt-get install ihris+ihris-qualify-site-demo


These steps cover the installation of the iHRIS Manage demonstration on an Ubuntu or Debian system.
When you install a site, it will at first give an error about the mysql root/administative password not being set.
 
*Please select to <Retry>
1. [https://help.ubuntu.com/community/UsingTheTerminal#Starting%20a%20Terminal Open a terminal] and copy the following lines to the command line and execute them:
*Use dbconfig-common tools to configure the debian package
 
*Enter the mysql administrator password (this is probably the same password of the account you logged into the computer with)
<tt>echo "deb http://ppa.launchpad.net/intrahealth+informatics/ppa/ubuntu jaunty main" |
*For the "app" password make sure it is 'manage'
    sudo tee /etc/apt/sources.list.d/ihris.list
aptitude install i2ce-ihris-manage-site-demo</tt>
 
2. After installation completes, visit <tt>http://localhost/ihris/manage/Demo</tt> in your web browser.  You'll be prompted to update the site. Click “OK”.
 
3. When this completes, you'll get another prompt to procede to the site.  Click “OK” again.
 
4. Explore!
 
==iHRIS Manage Blank Site==
 
Once you've tried out the demonstration, you may want to try customizing the site.  Here are the steps to download and install the software to do that on a Ubuntu or Debian system.
 
1. [https://help.ubuntu.com/community/UsingTheTerminal#Starting%20a%20Terminal Open a terminal] and copy the following lines to the command line and execute them to run [http://www.ihris.org/w/upload/Ihris-deb-install.txt the installation script] for iHRIS Manage.
 
<tt>wget -O ihris-setup.sh -q http://www.ihris.org/w/upload/Ihris-deb-install.txt
sudo sh -e ihris-setup.sh blank</tt>
 
The script will prompt you to type “I UNDERSTAND” to verify that it is ok to install iHRIS Manage.  Be aware that any database named “ihris” will be dropped.  This shouldn't be a problem if you haven't yet modified the site data.
 
2. After the script completes, visit <tt>http://localhost/ihris/manage/Blank</tt> in your web browser.  You'll be prompted to update the site. Click “OK”.
 
3. When this completes, you'll get another prompt to procede to the site.  Click “OK” again.
 
4. Explore!
 
 
[[Category:HowTo]]

Revision as of 13:44, 21 December 2010

EXPERIMENTAL Directions for debian installation. Tested on meerkat.

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='sh'>

echo "deb http://ppa.launchpad.net/chris-lea/php-pecl-extras/ubuntu $(lsb_release -sc) main"  | sudo tee  /etc/apt/sources.list.d/pecl-extras.list
echo "deb http://open.intrahealth.org/ihris-packages / "  | sudo tee  /etc/apt/sources.list.d/ihris.list
sudo apt-get update

</source>

Installing Sites

The are four possible sites you can install:

  • sudo apt-get install ihris+ihris-manage-site
  • sudo apt-get install ihris+ihris-manage-site-demo
  • sudo apt-get install ihris+ihris-qualify-site
  • sudo apt-get install ihris+ihris-qualify-site-demo

When you install a site, it will at first give an error about the mysql root/administative password not being set.

  • Please select to <Retry>
  • Use dbconfig-common tools to configure the debian package
  • Enter the mysql administrator password (this is probably the same password of the account you logged into the computer with)
  • For the "app" password make sure it is 'manage'