Setting Global Variables for PATH

Discussion in 'Server Operation' started by gtaplah, Oct 7, 2009.

  1. gtaplah

    gtaplah New Member

    Dear Admins,

    I have install a xampp for Linux version 1.7.1 and setup the initial configurations. Attempting to load mysql an error "command not found". i realize that the path may not be set correctly. I set the path using the following command at the console "export PATH=$PATH:/opt/lampp/bin" and the reissue the mysql command. this worked but everytime i close the console and relaunch, i have to red the steps. How can i make the path persistent? any advise?

    Cheers,

    George
     
  2. id10t

    id10t Member

    put it in /etc/profile
     

Share This Page