gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] 0.3.5 Install


From: Geordie
Subject: [Gnumed-devel] 0.3.5 Install
Date: Sun, 9 Nov 2008 22:55:25 -0500
User-agent: KMail/1.9.9

Hi.
Dr. Mccoy was able to check in and say hi. The patch worked fine on the first 
try. Wonderful. Now to the next level. I ran /net_install-gnumed_server.sh 1.7  
and received this information

address@hidden:~# #!/bin/bash
address@hidden:~#
address@hidden:~# # ============================================
address@hidden:~# # $Source: 
/sources/gnumed/gnumed/gnumed/server/bootstrap/net_install-gnumed_server.sh,v $
address@hidden:~# # $Id: net_install-gnumed_server.sh,v 1.7 2008/10/22 12:25:23 
ncq Exp $
address@hidden:~# # ============================================
address@hidden:~#
address@hidden:~# # try to determine distribution of target system
address@hidden:~# # FIXME: use lsb_release
address@hidden:~# # SUSE
address@hidden:~# if [ -f /etc/SuSE-release ]; then
> DEPS="gnumed-common postgresql postgresql-plpython cron tar coreutils mailx 
> openssl bzip2 gpg2 mc rsync python-psycopg2 gzip"
> PKG_INSTALLER="zypper install"
> SYS_TYPE="SuSE"
> fi
address@hidden:~# # Debian
address@hidden:~# if [ -f /etc/debian_version ]; then
> DEPS="gnumed-common postgresql postgresql-client cron anacron tar hostname 
> coreutils mailx openssl bzip2 gzip gnupg mc rsync python-psycopg2 sudo wget"
> PKG_INSTALLER="apt-get install"
> SYS_TYPE="Debian"
> fi
address@hidden:~# # Mandriva
address@hidden:~# if [ -f /etc/mandriva-release ]; then
> DEPS="gnumed-common postgresql postgresql-client cron anacron tar hostname 
> coreutils mailx openssl bzip2 gnupg mc rsync python-psycopg2 gzip"
> PKG_INSTALLER="urpmi"
> SYS_TYPE="Mandriva"
> fi
address@hidden:~#
address@hidden:~# echo ""

address@hidden:~# echo "================================================"
================================================
address@hidden:~# echo "This GNUmed helper will download and install the"
This GNUmed helper will download and install the
address@hidden:~# echo "latest GNUmed server onto your ${SYS_TYPE} 
machine."latest GNUmed server onto your Debian machine.
address@hidden:~# echo ""

address@hidden:~# echo "It will also take care to also install the"
It will also take care to also install the
address@hidden:~# echo "dependancies needed to operate GNUmed smoothly."
dependancies needed to operate GNUmed smoothly.
address@hidden:~# echo "================================================"
================================================
address@hidden:~#
address@hidden:~# # prepare environment
address@hidden:~# mkdir -p ~/.gnumed/server-installation/
address@hidden:~# cd ~/.gnumed/server-installation/
address@hidden:~/.gnumed/server-installation# rm -r GNUmed-v?
address@hidden:~/.gnumed/server-installation# rm -f 
address@hidden:~/.gnumed/server-installation#
address@hidden:~/.gnumed/server-installation# # install dependancies
address@hidden:~/.gnumed/server-installation# echo ""

address@hidden:~/.gnumed/server-installation# echo "Installing dependancies ..."
Installing dependancies ...
address@hidden:~/.gnumed/server-installation# echo ""

address@hidden:~/.gnumed/server-installation# echo "Do you want to install the 
following dependancies"
Do you want to install the following dependancies
address@hidden:~/.gnumed/server-installation# echo "needed to smoothly operate 
the GNUmed server ?"
needed to smoothly operate the GNUmed server ?
address@hidden:~/.gnumed/server-installation# echo ""

address@hidden:~/.gnumed/server-installation# echo "${DEPS}"
gnumed-common postgresql postgresql-client cron anacron tar hostname coreutils 
mailx openssl bzip2 gzip gnupg mc rsync python-psycopg2 sudo wget
address@hidden:~/.gnumed/server-installation# echo ""

address@hidden:~/.gnumed/server-installation# read -e -p "Install dependancies 
? [y/N]: "
Install dependancies ? [y/N]: if test "${REPLY}" == "y" ; then
address@hidden:~/.gnumed/server-installation# echo ""

address@hidden:~/.gnumed/server-installation# echo "You may need to enter the 
password for \"${USER}\" now:"
You may need to enter the password for "root" now:
address@hidden:~/.gnumed/server-installation# sudo ${PKG_INSTALLER} ${DEPS}
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnumed-common is already the newest version.
gnumed-common set to manually installed.
cron is already the newest version.
anacron is already the newest version.
tar is already the newest version.
hostname is already the newest version.
coreutils is already the newest version.
openssl is already the newest version.
bzip2 is already the newest version.
gzip is already the newest version.
gnupg is already the newest version.
mc is already the newest version.
rsync is already the newest version.
python-psycopg2 is already the newest version.
sudo is already the newest version.
wget is already the newest version.
The following extra packages will be installed:
  bsd-mailx exim4 exim4-base exim4-config exim4-daemon-light
Suggested packages:
  eximon4 exim4-doc-html exim4-doc-info libmail-spf-query-perl swaks
The following NEW packages will be installed:
  bsd-mailx exim4 exim4-base exim4-config exim4-daemon-light mailx postgresql
  postgresql-client
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 2379kB of archives.
After this operation, 4657kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Abort.
address@hidden:~/.gnumed/server-installation# 3  2008/01/05 19:33:59  ncq
-su: 3: command not found
address@hidden:~/.gnumed/server-installation# # - re-reorder
address@hidden:~/.gnumed/server-installation# #
address@hidden:~/.gnumed/server-installation# # Revision 1.2  2008/01/05 
19:33:15  ncq
address@hidden:~/.gnumed/server-installation# # - add sudo and wegt
address@hidden:~/.gnumed/server-installation# # - reorder a bit
address@hidden:~/.gnumed/server-installation# #
address@hidden:~/.gnumed/server-installation# # Revision 1.1  2007/10/28 
10:19:07  ncq
address@hidden:~/.gnumed/server-installation# # - renamed to better reflect the 
use beyond Debian
address@hidden:~/.gnumed/server-installation# #
address@hidden:~/.gnumed/server-installation# # Revision 1.7  2007/10/28 
09:16:49  ncq
address@hidden:~/.gnumed/server-installation# # - slightly improved
address@hidden:~/.gnumed/server-installation# #
address@hidden:~/.gnumed/server-installation# # Revision 1.6  2007/10/28 
01:02:24  shilbert
address@hidden:~/.gnumed/server-installation# # - introduce install_helper to 
make it usable for openSUSE and Mandriva
address@hidden:~/.gnumed/server-installation# #
address@hidden:~/.gnumed/server-installation# # Revision 1.5  2007/10/07 
12:35:02  ncq
address@hidden:~/.gnumed/server-installation# # - depend on latest version of 
postgresql
address@hidden:~/.gnumed/server-installation# #
address@hidden:~/.gnumed/server-installation# # Revision 1.4  2007/10/02 
19:13:42  shilbert
address@hidden:~/.gnumed/server-installation# # - fix for wrong dependency, 
gpg2 --> gnupg, added python-psycopg2
address@hidden:~/.gnumed/server-installation# #
address@hidden:~/.gnumed/server-installation# # Revision 1.3  2007/09/16 
01:01:57  ncq
address@hidden:~/.gnumed/server-installation# # - install dependancies
address@hidden:~/.gnumed/server-installation# #
address@hidden:~/.gnumed/server-installation# # Revision 1.2  2007/09/16 
00:45:40  ncq
address@hidden:~/.gnumed/server-installation# # - prettified output
address@hidden:~/.gnumed/server-installation# #
address@hidden:~/.gnumed/server-installation# # Revision 1.1  2007/09/16 
00:44:03  ncq
address@hidden:~/.gnumed/server-installation# # - first version
address@hidden:~/.gnumed/server-installation# #
address@hidden:~/.gnumed/server-installation# #y


I already have postgresql-client-8.3  8.3.5-1 and postgresql-8.3   8.3.5-1  Are 
postgresql and postgresql-client different? Yes is pobably the answer so why do 
I need these?  If these programs are 
needed why not have apt-get install when the basic install is done? (bsd-mailx 
exim4 exim4-base exim4-config exim4-daemon-light mailx postgresql  
postgresql-client). So where does one go from 
here?
Geordie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]