gpg --recv-key 0xC015E1AE00989199
gpg --with-fingerprint --list-keys 0xC015E1AE00989199
wget https://ftp.gnu.org/gnu/health/gnuhealth-3.6.2.tar.gz.sig
gpg --verify gnuhealth-3.6.2.tar.gz.sig gnuhealth-latest.tar.gz
tar xzf gnuhealth-latest.tar.gz
cd gnuhealth-3.6.2
wget -qO- https://ftp.gnu.org/gnu/health/gnuhealth-setup-latest.tar.gz | tar -xzvf -bash ./gnuhealth-setup installpip3 uninstall Werkzeugpip3 install Werkzeug ==0.15.6source ${HOME}/.gnuhealthrc
cd createdb healthcdexepython3 ./trytond-admin —all —database=health
Add UserName and Password for database
cd
sudo nano /etc/systemd/system/gnuhealth.service
Add these information inside gnuhealth.service file
[Unit]Description=GNU Health ServerAfter=network.target[Service]Type=simpleUser=gnuhealthWorkingDirectory=/home/gnuhealthExecStart=/home/gnuhealth/start_gnuhealth.shlogconf=/home/gnuhealth/gnuhealth/tryton/server/config/gnuhealth_log.confRestart=on-abort[Install]WantedBy=multi-user.target
cd
If you want to use Sao (so you can open software throw web-browser) for gnuhealth system then use this link to install sao now after installing soa add this lines for trytond.conf to configure sao, But in this article we will be using tryton-client
cd /home/gnuhealth/gnuhealth/tryton/server/config
sudo nano trytond.conf
[web] # These Lines for Soa# Path for the web-frontendlisten = 0.0.0.0:8000root = /home/gnuhealth/sao # but the directory depends on where did you installed sao
Finally
sudo systemctl enable gnuhealth
sudo systemctl start gnuhealth
Now install tryton client on your client pc throw :-