Running GNUmed on Mandriva
Mandriva 2010.0 and 2010.1
GNUmed is not included in Mandriva. You will have to add a repository to you installation sources to install GNUmed. GNUmed is available from
the Novell buildservice .
Step 1) download the latest files from 'http://download.opensuse.org/repositories/home:/SebastianHilbert:/GNUmed/Mandriva_2010/' and save they local (f.i. in ~/download/gnumed)
Step 2) be root and generate the hdlist
[code]genhdlist2 home/user/download/gnumed[/code]
Step 3) install gnumed-server and gnumed-client
[code]
urpmi gnumed* -a
[/code]
Step 4) now you have to adapt postgres! You have to change the default ansii-cluster to utf8
be root!
[code]
mkdir /var/lib/pgsql/data1
chown postgres /var/lib/pgsql/data1
su - postgres
[postgres@localhost ~]$ /usr/bin/initdb --locale=de_DE.UTF-8 -D /var/lib/pgsql/data1
# be aware to set the right language!!!!
The files belonging to this database system will be owned by user "postgres". This user must also own the server process.
The database cluster will be initialized with locale de_DE.UTF-8.
The default database encoding has accordingly been set to UTF8.
The default text search configuration will be set to "german".
fixing permissions on existing directory /var/lib/pgsql/data1 ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 28MB
creating configuration files ... ok
creating template1 database in /var/lib/pgsql/data1/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the next time you run initdb.
Success. You can now start the database server using:
/usr/bin/postgres -D /var/lib/pgsql/data1
or
/usr/bin/pg_ctl -D /var/lib/pgsql/data1 -l logfile start
#edit postgresql.conf and set the line #port = 5432 to port = 5433
[postgres@localhost ~]$ mcedit /var/lib/pgsql/data1/postgresql.conf
[postgres@localhost ~]$ pg_ctl -D /var/lib/pgsql/data1 start
server starting
LOG: Datenbanksystem wurde am 2010-09-25 13:21:14 CEST heruntergefahren
LOG: Datenbanksystem ist bereit um Verbindungen anzunehmen
LOG: Autovacuum-Launcher startet
[postgres@localhost ~]$ exit
logout
# find the line '#export GM_DB_PORT=5433' in bootstrap-latest.sh and remove the # to activate it.
[code]
[root@localhost bootstrap]# mcedit /usr/lib/gnumed-server/server/bootstrap/bootstrap-latest.sh
[/code]
Step 5) run the bootstrap.latest.sh
Step 6) start your postgresserver
Step 7) start the data1-cluster
[code]
pg_ctl -D /var/lib/pgsql/data1 start
[/code]
Step 5) edit the /etc/gnumed/gnumed.conf and gnumed-client.conf and set the database-port to 5433
Step 6) start gnumed
Mandriva 2010.0 and 2010.1 original by Sebastian Hilbert
GNUmed is not included in Mandriva. You will have to add a repository to you installation sources to install GNUmed. GNUmed is available from
the Novell buildservice .
Step 1) Install the software smart-gui on your system
Step 2) Start 'Smart Package Manager' from the System menu
Step 3) Select 'Edit' > 'Channel' fromt the menue
Step 4) Select 'New' > 'Provide channel infomation' > 'RPM metadata'
Step 5) Provide 'GNUmed repository' for 'Alias', put
'home:SebastianHilbert:GNUmed' in the name field and put
'http://download.opensuse.org/repositories/home:/SebastianHilbert:/GNUmed/Mandriva_2010/'
in the url field
Step 6) Save it.
Step 7) Search for and install gnumed-client and gnumed-server
Mandriva 2007.1 and above ( e.g. 2008) - outdated
- for the client part several rpm packages exist at www.mandrivauser.de (should work with 2007.1 too) thanks to Florian aka doktor5000 from the MUde-rpm-team
- you can use the Mandriva 2007 or 2008 repository at
- or you can use the MUde-source
- for the server part there is a package available. Just install gnumed-server.
- user and password is "any-doc" (without ")
Installation und Starten von GNUmed auf Mandriva 2007.1 und höher