Tuesday, January 26, 2010

Getting a a GNUmed database installed locally

Dear all,
GNUmed ships as packages for Debian, openSUSE, Fedora, Mandriva and Ubuntu. There is a client package called gnumed-client and a server package called gnumed-server.

Those can packages can easily be installed through the packages manager of your Linux distribution. There is one important step left that is *not* covered by installing the package. For the client package all is ready to run. For the server package however there is one more step before the client can connect to a local database. One needs to boostrap a local database first (*). In other words one needs to create a GNUmed database inside the PostgreSQL database server. The gnumed-server package does not do this for you. It merely copies everything that is neccessary for the creation of the database into your system. In other words it prepares a bootstraping environment.

So after you installed the gnumed-server package you are ready for the final step:

become root user in your system and run the command : gm-bootstrap_server

You will see a few lines fly by and if all goes well a version 12 database will appear in your system. A good indicator will be a line

''We most likely succeeded"

* Beware that if you have a local database already you must not use gm-boostrap_server as it will overwrite your data. Use gm-upgrade_server instead.

1 comment:

Maxo said...

This looks like very exciting work. The importance of open standards and open source in the exchange of medical information is impossible to overstate.