setting permanent environment variable di centos

taken from here

for spring or on centos 7 minimal install

  1. create new file called springRoo.sh on /etc/profile.d/
  2. export PATH={PATH_ROO}/bin
  3. save
  4. source /etc/profile.d/springRoo.sh to reload
  5. and test with reboot the system it will automatically loaded 😀

Leave a Reply