vi /etc/profile
最后一行加上
export PATH="$PATH:/usr/local/git/bin:/usr/local/php/bin:/usr/local/memcached/bin:/usr/local/redis/bin"```
执行
```source /etc/profile```
vi /etc/profile
最后一行加上
export PATH="$PATH:/usr/local/git/bin:/usr/local/php/bin:/usr/local/memcached/bin:/usr/local/redis/bin"```
执行
```source /etc/profile```
本文标题:linux环境变量
本文链接:https://www.haomeiwen.com/subject/ivjtdxtx.html
网友评论