[previous] [next]

2.Installation

A.LDM Preinstallation Requirements


1.Platform Requirement:

UNIX workstations, PC platforms (running on Solaris x86 or Linux Redhat 7.0+). The following installation is based on UNIX workstations. We will install LDM in PC platforms in future.

2.Memory Requirement:

Depending on the platform, 256MB RAM is adequate.

3.Network Requirements:

3.1 Support for TCP/IP protocols
3.2 Access to the Internet

4. 3rd Party Software Requirements:

4.1 Complete installation of perl 5 version of perl is required.
4.2 A web browser for access to online LDM documentation and statistics.
4.3 An ANSI C compiler is needed for source code installation.
4.4 Installation of the network time protocol, ntp. In case you need to install ntp on your system, see http://www.eecis.udel.edu/~ntp/

5. Configuring the Operating System as root

This allows programs such as rpcinfo to identify RPC program number 300029 as the LDM.

% cd $HOME
% ln -s $HOME /usr/local/ldm

6. The User 'ldm' Account

% cd ~ldm
% mkdir etc

Decoders are not included with the LDM release, but are run by the LDM. By convention, the executables for the decoders are kept in a subdirectory called "decoders."

% cd ~ldm
% mkdir decoders

Other programs that might be used with the LDM, but that are either a decoder or part of the LDM distribution are, by convention, kept in a directory called "util."

% cd ~ldm
% mkdir util

9. Choose Type of Installation

There are two types of installation. One is binary LDM installation; the other is source code LDM installation. The following installation is based on binary LDM installation.

B. LDM Binary Installation

1.Obtain the LDM Distribution
The LDM binary distributions are available via anonymous FTP from ftp://ftp.unidata.ucar.edu/pub/binary/.

2. Unpack the Distribution in LDM Home Directory
% cd ~ldm
% zcat ldm.tar.Z | tar xvf -

This will create a version directory (e.g. ldm-5.1.2/).

3. Run the scriptconfig script
In {version-directory}/bin run the script scriptconfig to configure the perl scripts with location of perl, LDMHOME, and the fully qualified hostname.

% cd ~ldm/{{version-directory}/bin
% scriptconfig

4. Copy distribution configuration files
Copy the contents of {version-directory}/etc to ~ldm/etc

% cd ~ldm/{version-directory}/etc
% cp * ~ldm/etc

5. Make rpc.ldmd and hupsyslog suid root
Change permissions for rpc.ldmd and hupsyslog to be setuid root. This step needs to be done as root

% cd ~ldm/{version-directory}/bin
% chown root rpc.ldmd
% chown root hupsyslog
% chown root rpc.ldmd
% chown root hupsyslog
% chmod u+srwx,g+rx,o+rx rpc.ldmd
% chmod u+srwx,g+rx,o+rx hupsyslog

6. Change the runtime link
Install the runtime link

% cd ~ldm
% ln -s {version-directory} runtime

Create the LDM log file

% touch logs/ldmd.log

7. Start the LDM

First create the queue: ldmadmin mkqueue

Then run: ldmadmin start

Just run: ldmadmin start

8. Stop the LDM
Run: ldmadmin stop


[previous] [next]