Skip to content

Commit

Permalink
Merge pull request opsnull#263 from yaxu666/master
Browse files Browse the repository at this point in the history
sudo权限
  • Loading branch information
opsnull authored Jul 6, 2018
2 parents 9443ac7 + 85e5426 commit 7645e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01.系统初始化和全局变量.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ $ cat /etc/docker/daemon.json
在每台机器上添加环境变量:

``` bash
$ sudo echo 'PATH=/opt/k8s/bin:$PATH:$HOME/bin:$JAVA_HOME/bin' >>/root/.bashrc
$ sudo sh -c "echo 'PATH=/opt/k8s/bin:$PATH:$HOME/bin:$JAVA_HOME/bin' >>/root/.bashrc"
$ echo 'PATH=/opt/k8s/bin:$PATH:$HOME/bin:$JAVA_HOME/bin' >>~/.bashrc
```

Expand Down

0 comments on commit 7645e2c

Please sign in to comment.