zoukankan      html  css  js  c++  java
  • Mongod服务器安装

    第一步下mongodb

    目前最新版本:3.4.4

    第二步安装vc_redist.x64

    服务器安装可能会需要到,如果没有出现以下错误不需要安装

    ---------------------------
    mongod.exe - System Error
    ---------------------------
    The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.
    ---------------------------
    OK
    ---------------------------

    注意事项:

    安装完成后可以运行安装服务

    mongod.exe --bind_ip yourIPadress --logpath "C:datadbConfmongodb.log" --logappend --dbpath "C:datadb" --port yourPortNumber --serviceName "YourServiceName" --serviceDisplayName "YourServiceName" --install

    如果不能正常安装服务,确保CMD一定要以管理员运行

    安装完出现服务不能启用可能会出现以下错误

    ---------------------------
    Services
    ---------------------------
    Windows could not start the MongoDBServices on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 100.
    ---------------------------
    OK
    ---------------------------

    可以去检查指定的mongodb.log文件,日志记录非常详细帮助排查问题所在。一定注意配置的文件地址

  • 相关阅读:
    Ionic2 自学须知的基本知识点
    Ionic2 启动加载优化总结
    Ionic2使用TypeScript调用自定义JavaScript脚本
    GPS坐标转百度地图坐标
    友情链接
    Python学习之路目录(收藏整理)
    基于Docker构建Jenkins CI平台
    KeepLived + nginx 高可用
    k8s-1.16 二进制安装
    Ansible自动化部署K8S集群
  • 原文地址:https://www.cnblogs.com/loyung/p/7605516.html
Copyright © 2011-2022 走看看