在终端配置mongoDB时,需要open -e .bash_profile添加环境变量,如果提示.bash_profile does not exist,该如何?
1、新建一个.bash_profile
touch .bash_profile
2、然后再去open -e .bash_profile就不会出问题了
在终端配置mongoDB时,需要open -e .bash_profile添加环境变量,如果提示.bash_profile does not exist,该如何?
1、新建一个.bash_profile
touch .bash_profile
2、然后再去open -e .bash_profile就不会出问题了