GNU Health/Operating System-Specific Notes

From Wikibooks, open books for an open world
Jump to: navigation, search

Debian[edit]

Method A: Using native Debian packages[edit]

Native distribution packages provided by Debian Tryton Maintainers are available for Debian stable, testing and unstable. Those packages are handling the needed dependencies automatically and are fully integrated with apt, the distribution package manager.

Read the Installation How To and especially GNU Health Installation Notes on how to use them.

For the server configuration refer to /usr/share/doc/tryton-server/README.Debian or click here to see the latest version of this file in the VCS.

For quick start there is a Docker based setup available providing a ready-to-use GNU Health Demo server based on native Debian packages.

Method B: Installing with bash script: gnuhealth_install.sh[edit]

For the preparation of the use of the installation script provided by GNU Health maintainers you have to install the following dependencies first

apt-get install build-essential python-dev python-pip \
    libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev python-ldap \
    python-imaging python2.7-cracklib postgresql postgresql-server-dev-all


Continue with the GNU Health Installation


FreeBSD[edit]

Install dependencies[edit]

pkg install py27-pip gcc py27-cracklib wget py27-lxml postgresql94-server

Link Python and cracklib dictionaries[edit]

ln -si /usr/local/bin/python2.7 /usr/local/bin/python
ln -si /usr/local/libdata/cracklib/pw_dict.* /usr/local/libdata

Init PostgreSQL server[edit]

su - pgsql -c "initdb -D /usr/local/pgsql/data -E UNICODE"


Continue with the GNU Health Installation

OpenSUSE[edit]

Add Password Management Repository[edit]

zypper ar http://download.opensuse.org/repositories/security:/passwordmanagement/openSUSE_13.2 passwordmanagement

Install dependencies[edit]

zypper install python-devel python-pip

At this step, you might get the warning similar to the following :

 Problem: python-devel-2.7.8-1.2.i586 requires python = 2.7.8, but this requirement cannot be provided
  uninstallable providers: python-2.7.8-1.1.i586[openSUSE-13.2-0]
                  python-2.7.8-1.1.i586[repo-oss]
 Solution 1: Following actions will be done:
  do not install python-devel-2.7.8-1.2.i586
  do not install python-pip-1.5-2.1.4.noarch
 Solution 2: deinstallation of patterns-openSUSE-minimal_base-conflicts-20141007-5.1.i586
 Solution 3: break python-devel-2.7.8-1.2.i586 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c] (c)
You can choose "Solution 2"

zypper install python-cracklib


zypper install postgresql-server postgresql-devel


zypper install gcc libxml2-devel libxslt-devel


Continue with the GNU Health Installation


Ubuntu[edit]

Install dependencies[edit]

apt-get install build-essential python-dev python-pip \
    libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev python-ldap \
    python-imaging python2.7-cracklib postgresql postgresql-server-dev-all


Continue with the GNU Health Installation

Trisquel[edit]

Install dependencies[edit]

apt-get install build-essential python-dev python-pip \
    libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev python-ldap \
    python-imaging python2.7-cracklib postgresql postgresql-server-dev-all


Continue with the GNU Health Installation

Installation