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```