编辑/etc/profile文件 在文件末尾添加两行代码
vi /etc/profile
 
CentOS:
    PATH=$PATH:/opt/lampp/bin
    export PATH
Ubuntu:
    export PATH=/opt/lampp/bin:$PATH
 
执行/etc/profile
source /etc/profile

  

相关文章:

  • 2021-06-26
  • 2021-11-22
  • 2021-07-08
  • 2021-09-16
  • 2021-09-29
  • 2021-11-20
  • 2022-02-09
  • 2022-02-09
猜你喜欢
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
相关资源
相似解决方案