Video: How to source the eHealth environment on a Linux host.

Document ID : KB000043992
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction:

How do I source the eHealth environment on a Linux host?

 

Instructions:

 

Commands used in this video:

nhShowRev - show version of eHealth

more - read a txt file

| - take info from one command and pass it to another command

grep - search for a value

cd - change directory

vi - edit a text file

cp - copy a file

 

 

To source the eHealth environment whenever the eHealth user logs in:

 

Check the default shell for your $NH_USER

     My &NH_USER user is “ehealth”

 

 more /etc/passwd |grep ehealth

      ehealth:x:503:505::/home/ehealth:/bin/bash

 

Here we see the default shell is bash.

 

Here are the source files and the correct source commands (from the install guide):

Use one of the following commands to source the CA eHealth Release 6.1 resource file that is appropriate for your shell environment:

? Bourne: . /nethealthrc.sh

? C: source nethealthrc.csh

? Korn: . ./nethealthrc.ksh

 

cd /home/ehealth

cp .bash_profile .bash_profile.original

vi .bash_profile

 

Add this line at the bottom

. /eHealth/nethealthrc.sh

 (your path may vary)

 

Log out and log back in and your environment is sourced.

Link to video: https://youtu.be/_Dp53XKNowI

 

Additional Information:

http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1878245.aspx

 

eHealth installation guide