[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: LDM - HU
- Subject: RE: LDM - HU
- Date: Mon, 20 May 2002 10:47:59 -0600 (MDT)
By George, I think you've got it...Do you wish to do the install?
I think it is best if you do it, that way you are familar with the
process...
I can always help during the install, let me know how you wish to proceed.
-Jeff
____________________________ _____________________
Jeff Weber address@hidden
Unidata Support PH:303-497-8676
NWS-COMET Case Study Library FX:303-497-8690
University Corp for Atmospheric Research 3300 Mitchell Ln
http://www.unidata.ucar.edu/staff/jweber Boulder,Co 80307-3000
________________________________________ ______________________
On Mon, 20 May 2002, Byles, Pavel O wrote:
> I have written a list of things that need to be done for the installation of
> the LDM. I just want to know if I am missing anything.
>
> Things to do to setup LDM
>
> Step 1:
> in the /etc/services add:
> ldm 388/udp unidata # UCAR Unidata LDM
> ldm 388/tcp unidata # UCAR Unidata LDM
>
> Step 2:
> in the /etc/rpc add:
> ldmd 300029 ldm
>
> Step 3:
> in the /etc/syslog.conf add:
> local0.debug /usr/local/ldm/logs/ldmd.log
>
> Step 4:
> Modify the following lines in file /etc/syslog.conf so that LDM messages
> will not be written to the console
> *.err;kern.notice;auth.notice;user.none;local0.none /dev/console
> *.err;kern.debug;daemon.notice;mail.crit;user.none;local0.none
> /var/adm/messages
>
> Step 5:
> Create ldm acct in /home/ldm
> then:
> % ln -s $HOME /usr/local/ldm
>
> Step 6:
> In the .cshrc file:
> setenv LDMHOME /usr/local/ldm
> Prepend $HOME/decoders to the environment PATH variable for the shell
> Prepend $HOME/util to the environment PATH variable for the shell
> Prepend $HOME/bin to the environment PATH variable for the shell
> Prepend $HOME/man to the environment MANPATH variable for the shell
> Make changes active, source .cshrc
>
> Step 7:
> Create links for the version-dependent subdirectories
>
> % cd ~ldm
> % ln -s runtime/bin bin
> % ln -s runtime/man man
> % ln -s runtime/src src
> % ln -s runtime/lib lib
> % ln -s runtime/include include
>
> Step 8:
> create the directories on the non-backed up disk partition, ie /var/data.
>
> % mkdir /var/data/ldm
> % mkdir /var/data/ldm/logs
>
> Use a symbolic link to a non-backed up disk partition.
>
> % cd ~ldm
> % ln -s /var/data/ldm data
> % ln -s /var/data/ldm/logs logs
>
> Step 9:
> % cd ~ldm
> % mkdir etc
> % mkdir util
>
> Step 10:
> Unpack the Distribution in LDM Home Directory
> % cd ~ldm
> % zcat ldm.tar.Z | tar xvf -
>
> Step 11:
> % cd ~ldm/{{version-directory}/bin
> % scriptconfig
>
> Step 12:
> copy the contents of {version-directory}/etc to ~ldm/etc
> % cd ~ldm/{version-directory}/etc
> % cp * ~ldm/etc
>
> Step 13:
> This step needs to be done as root
> % cd ~ldm/{version-directory}/bin
> % chown root rpc.ldmd
> % chown root hupsyslog
> % chmod u+srwx,g+rx,o+rx rpc.ldmd
> % chmod u+srwx,g+rx,o+rx hupsyslog
>
> Step 14:
> Install the runtime link
> % cd ~ldm
> % ln -s {version-directory} runtime
> % touch logs/ldmd.log
>
> Create the queue
> % cd ~ldm/bin
> % ldmadmin mkqueue
> // Start LDM
> % ldmadmin start
>
>
> Pavel Byles
>