how set an environment variable in RHEL4
my binary for my lotus domino is on /opt/ibm/lotus/bin
When everytime i run fixpack installer i got this error You must create the environment variable NUI_NOTESDIR as path of the directory that contains notes/latest. E.g., for the default path /opt/lotus/notes/latest NUI_NOTESDIR=/opt/lotus export NUI_NOTESDIR How would i set the environment variable ? |
That error message tells you how to do it if you're using Bash (or Bash-compatible shells, I think Korn shell is one such shell):
NUI_NOTESDIR=/opt/lotus export NUI_NOTESDIR You can put these lines in your ~/.bashrc. Are you using a different shell? |
im using bash
im using bash shell. can you teach me how to do it ?
im a bit confused. |
What don't you understand? :confused:
Edit: either do it as above or combine both lines into one like so: export NUI_NOTESDIR=/opt/lotus and add to your ~/.bashrc. Obviously if the directory is different for your installation, set it accordingly. |
You could try,
$ NUI_NOTESDIR=/opt/ibm/lotus/bin lotus Or same thing but with an env in front. Seeing as how it's an environment variable that's not going to bugger anything, as would LANG or TERM sometimes you might as well put it in .bashrc or whatever. |
ok i got it now
made it run thanks guys..
|
How about adding these lines ( export ...) in /etc/profile file in RHEL4
|
All times are GMT -5. The time now is 06:32 AM. |