0% found this document useful (0 votes)
85 views

GNU Health - Operating System-Specific Notes - Wikibooks, Open Books For An Open World

This document provides instructions for installing GNU Health on different operating systems including openSUSE, Debian, FreeBSD, and Ubuntu. It describes downloading and installing each OS, installing required packages like PostgreSQL, initializing PostgreSQL, and continuing with the GNU Health installation process. Steps vary slightly for each OS but include creating a 'gnuhealth' user, installing prerequisites, and making symbolic links for Python.

Uploaded by

alaa alsheikh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views

GNU Health - Operating System-Specific Notes - Wikibooks, Open Books For An Open World

This document provides instructions for installing GNU Health on different operating systems including openSUSE, Debian, FreeBSD, and Ubuntu. It describes downloading and installing each OS, installing required packages like PostgreSQL, initializing PostgreSQL, and continuing with the GNU Health installation process. Steps vary slightly for each OS but include creating a 'gnuhealth' user, installing prerequisites, and making symbolic links for Python.

Uploaded by

alaa alsheikh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Wikibooks

GNU
Health/Operating
System-Specific
Notes
< GNU Health

openSUSE
This chapter applies to version 3.6 of
GNU Health.
This section provides the instructions
for the official and standard (vanilla)
installation on openSUSE. If you want
to use the openSUSE package based
installation, please refer to the
Community pages Learn more

Download and install the


Operating System

Download the openSUSE Leap


Network CD image
Check the partitioning and FS options
(we use ext4 filesystem)
Select SERVER (text only) installation
Enable SSHD server
Create the user "gnuhealth" when
prompted at installation time.

Install the requirements …

sudo zypper in patch gcc


libxml2-devel postgresql
postgresql-server unoconv

Initialize the PostgreSQL environment.


The next systemctl start command will
generate the initial pg cluster.

systemctl start postgresql

Update locally pip3 …


su - gnuhealth
pip3 install --upgrade --
user pip

Continue with the GNU Health


Installation

Debian
This chapter applies to version 3.6 of
GNU Health.

Download and install the


Operating System

Download the Debian OS image
Check the partitioning and FS options
(we use ext4 filesystem)
Deselect the "Debian desktop
environment" if you just want a server
(no graphical interface)
Enable SSHD server
Create the user "gnuhealth" when
prompted at installation time.

Install the requirements …

apt-get install postgresql


patch python3-pip unoconv

Continue with the GNU Health


Installation
FreeBSD
This chapter applies to version 3.6 of
GNU Health.

At Operating System
installation

Select SSHD
Create the gnuhealth user at
installation time

Install requirements …

# pkg install
postgresql11-server
postgresql11-client wget
bash patch py36-pip \
py36-lxml py36-pillow
patch

Initialize PostgreSQL …

#
/usr/local/etc/rc.d/postgr
esql oneinitdb
# sysrc
postgresql_enable=yes
# service postgresql
start

Create Python3 links …

# ln -si
/usr/local/bin/python3.6
/usr/local/bin/python3
# ln -si
/usr/local/bin/python3
/usr/local/bin/python

Continue with the GNU Health


Installation

Ubuntu
This chapter applies only to version
3.4.1 of GNU Health.

These instructions apply to Ubuntu


18.04.3 LTS Server version
Create the gnuhealth user at
installation time

Update the Sources …

Make sure you include the Universe


repositories on the source list.

Edit the file /etc/apt/sources.list and add


(if this line is missing!)

deb http://archive.ubuntu.com/ubuntu
bionic main universe

Update the repositories

apt-get update
Install requirements …

apt-get install python3-


pip 2to3 unoconv
postgresql-10 postgresql-
server-dev-10 libpq-dev
libarchive-tools

Make the links to Python3


and 2to3

login as gnuhealth user

Change to root

sudo bash
cd /usr/bin
ln -si python3 python
exit

Update pip (Don't do this


for Ubuntu 18.04.3 LTS …

server!)

Make sure you are logged in with the


user gnuhealth

pip3 install --user --


upgrade pip setuptools
wheel
Continue with the GNU Health
Installation

Retrieved from
"https://en.wikibooks.org/w/index.php?
title=GNU_Health/Operating_System-
Specific_Notes&oldid=3626006"

Last edited 17 days ago by Coogorsailing

Content is available under CC BY-SA 3.0 unless


otherwise noted.

You might also like