install MongoDB from tar in Linux

来源:互联网 发布:linux下增加mysql密码 编辑:程序博客网 时间:2024/06/06 18:09

install MongoDB from tar in Linux

  • download tar file from here
  • extract it to any directory, add install/bin PATH with export
  • create data directory
    mkdir -p /data/db
  • start mongod server, when everything is ready, you call use mongo shell to contact with mongodb
原创粉丝点击