How to set a permanent environment variable?
46,979
Add the following to the /etc/profile
file (for system wide change) or to ~/.profile
for local user.
export CATALINA_HOME=/opt/apache-tomcat-8.0.23
Related videos on Youtube
Author by
AndreaNobili
Updated on September 18, 2022Comments
-
AndreaNobili over 1 year
I am not yet a Linux guy and I have some problem trying to add a new permanent environment variable.
So I have to set a new environment variable named CATALINA_HOME with this value: /opt/apache-tomcat-8.0.23
What can I do to set it permanently?
Tnx