- 启动redis:进入redis文件夹下的src目录,输入./redis-server
- 关闭redis:进入redis文件夹下的src目录,输入./redis-cli shutdown
- 查看端口占用情况:查看所有端口使用lsof(即list open file),查看某一端口使用lsof -i:3000
- web mongodb打不开:sudo mongod –dbpath=/Users/Mac/data/db
About WEB
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.