RHEL 7: Add PATH variables globally
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Under my profile and the .bashrc file. I have added several environment variables.
Example:
export HADOOP_HOME=/app/hadoop-2.7.3
When I try to run any "hadoop" command I get command not found.
After executing this command "exec bash" I will be able then to run hadoop commands without issues.
The problem I am having that every time I log in to the server I will need to run the exec command to be able to use hadoop, plus there are other users on the server that need to use the application.
How can I update the PATH globally so everyone can use hadoop and any other installed application?
Thank you
rhel environment-variables path
New contributor
WT86 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
favorite
Under my profile and the .bashrc file. I have added several environment variables.
Example:
export HADOOP_HOME=/app/hadoop-2.7.3
When I try to run any "hadoop" command I get command not found.
After executing this command "exec bash" I will be able then to run hadoop commands without issues.
The problem I am having that every time I log in to the server I will need to run the exec command to be able to use hadoop, plus there are other users on the server that need to use the application.
How can I update the PATH globally so everyone can use hadoop and any other installed application?
Thank you
rhel environment-variables path
New contributor
WT86 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Under my profile and the .bashrc file. I have added several environment variables.
Example:
export HADOOP_HOME=/app/hadoop-2.7.3
When I try to run any "hadoop" command I get command not found.
After executing this command "exec bash" I will be able then to run hadoop commands without issues.
The problem I am having that every time I log in to the server I will need to run the exec command to be able to use hadoop, plus there are other users on the server that need to use the application.
How can I update the PATH globally so everyone can use hadoop and any other installed application?
Thank you
rhel environment-variables path
New contributor
WT86 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Under my profile and the .bashrc file. I have added several environment variables.
Example:
export HADOOP_HOME=/app/hadoop-2.7.3
When I try to run any "hadoop" command I get command not found.
After executing this command "exec bash" I will be able then to run hadoop commands without issues.
The problem I am having that every time I log in to the server I will need to run the exec command to be able to use hadoop, plus there are other users on the server that need to use the application.
How can I update the PATH globally so everyone can use hadoop and any other installed application?
Thank you
rhel environment-variables path
rhel environment-variables path
New contributor
WT86 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
WT86 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 7 mins ago
New contributor
WT86 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 13 mins ago
WT86
1012
1012
New contributor
WT86 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
WT86 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
WT86 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
WT86 is a new contributor. Be nice, and check out our Code of Conduct.
WT86 is a new contributor. Be nice, and check out our Code of Conduct.
WT86 is a new contributor. Be nice, and check out our Code of Conduct.
WT86 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476932%2frhel-7-add-path-variables-globally%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password