ESO-MIDAS on CD-ROM |
|||||
|
The ESO-MIDAS source code and documentation are publicly available in the
anonymous ftp account of ESO (ftp://ftphost.hq.eso.org) which is the primary
channel of distribution.
On request, ESO-MIDAS is also available on CD-ROM for institutes which have
no sufficient internet connection.
The availability of new releases, upgrades and patches is announced through
electronic mail to those subscribed to the midas-announce mailing list (see
also support) and via the ESO-MIDAS WWW pages.
ESO-MIDAS documentation is also included in this CD-ROM in PostScript and HTML format in the directory /cdrom/midas/docs
This section describes installing ESO-MIDAS from the MIDAS release distribution
on CD-ROM.
The CD-ROM contains all the ESO-MIDAS sources needed for a full installation,
which is applicable for most common Unix platforms, as well as Linux and Mac
OS X.
a) Disk Requirements (in kilobytes)
You must ensure that you have enough disk space to install ESO-MIDAS products
before you begin. Consult the following table, and add together the disk requirements
for each product you are installing:
Products | Sources | After installation | Demo data | Calib data |
SUN Solaris 5.6 | 51 | 159 | 340 | 20 |
SUN Solaris 5.8 | 51 | 159 | 340 | 20 |
HP 9000 B.11.00 | 51 | 115 | 340 | 20 |
PC/Linux 2.4.18 | 51 | 252 | 340 | 21 |
Alpha/Linux 2.2.16 | 51 | 340 | 340 | 21 |
Alpha/OSF V4.0D | 51 | 150 | 340 | 21 |
Mac OSX 10.1 / 10.2 | 51 | 379 | 340 | 20 |
b) MIDASHOME Directory
The ESO-MIDAS products you are installing will reside entirely within a single
directory called MIDASHOME (e.g. /midas or /home/midas) which must be created
by you. Before proceeding with the installation, check the disk space available
on your system (e.g. with command df), and decide in which filesystem you want
to install ESO-MIDAS.
ESO-MIDAS products are supplied as compressed tar files on the CD-ROM. They
are installed by running the installation shell script on a machine with write-access
to what will be the MIDASHOME directory. If this machine does not have its own
CD-ROM drive, it will need to remotely access a CD-ROM drive somewhere on the
network. To install ESO-MIDAS product(s):
a) Login as root.
b) Load the CD-ROM on the machine with the CD-ROM drive. Mount the CD-ROM as
an ISO-9660 (High Sierra) filesystem using the appropriate device name and mount
command for your architecture. The following table gives suggested device configurations
and mount commands for each architecture:
Architecture | Device Name | Command to Mount CD-ROM drive |
Alpha/OSF | /dev/rz4a | mount -t cdfs -o noversion /dev/rz4a /cdrom |
HP 700/800 | /dev/dsk/c0t0d0 | mount -F cdfs -r /dev/dsk/c0t0d0 /cdrom |
SPARC Solaris | /dev/dsk/c0t4d0s0 | mount -r -F hsfs -r /dev/dsk/c0t4d0 /cdrom |
PC Linux | /dev/cdrom | mount -r -t so9660 /dev/cdrom /cdrom |
If the machine with the CD-ROM drive does not have write-access to what will
be the MIDASHOME directory, you must now export the /cdrom direc- tory, and
mount it on an appropriate machine.
On Solaris and with vold(1) running, the CD-ROM may be automatically mounted
as /cdrom.
On Silicon Graphics the CD-ROM might be automatically mounted as /CDROM.
On other systems you may need to create the CD-ROM mount point to /cdrom with
the command "mkdir /cdrom".
c) Copy the relevant files
The CD contains compressed tar files for the MIDAS system, the verification
package, as well as the FORS1/2 and UVES VLT instrument pipelines. Also the
corresponding README files in ASCII format are on the CD. So, for the MIDAS
system do:
% cd $MIDASHOME
% cp /cdrom/midas/$MIDVERS.tar.gz .
% gunzip $MIDVERS.tar.gz
% tar xvf $MIDVERS.tar
Once you have copied all files from the CD, you can unmount it using "umount /cdrom"
For a full configuration and complete installation of MIDAS with defaults values
the following command will work on most system:
% cd $MIDASHOME/$MIDVERS/install/unix
% ./autoconfig
The previous configuration tool 'config' is still available. Use this script
if you want to select packages and change defaults.
% ./config
the config script is described in detail in the Postscript file installunix.ps , also stored on the CD.
The verification procedures are designed to exercise MIDAS commands and to
compare results with internal and correct values. They should stop and report
to the operator if they detect any problem with MIDAS commands.
To run the verification procedures, create a temporary directory (e.g.$MIDASHOME/tmp),
move in, and enter:
% inmidas
Midas 001> @ vericopy
Midas 002> @@ veriall
The distribution of ESO-MIDAS includes all packages available for MIDAS, but you might not be interested in all of them. If after the installation you want to remove them, to free some disk space, you should use the option "9 - clean MIDAS" available in the "config" script:
% cd $MIDASHOME/$MIDVERS/install/unix
% ./config
....
Select: 9 (clean MIDAS)
You wil get a menu of choices, and for any option you select, confirmation will
be requested before it starts removing files.
This section lists some typical errors and their solutions.
You can execute all actions as a user, except for the last one "7 - Complete
installation in your system" which has to be done as root.
% cp /cdrom/midas/xkeysymdb $HOME/XKeysymDB
- for C-Shells and alike: % setenv XKEYSYMDB $HOME/XKeysymDB
- for Bourne Shells and alike: % XKEYSYMDB=$HOME/XKeysymDB ; export XKEYSYMDB
|
|||
|