deploy-windows.md 3.6 KB

windows下环境安装

mysql

redis

elasticsearch

mongodb

  • 下载地址:https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.21-signed.msi
  • 选择路径(c:\mongodb\)进行安装,在安装路径下创建data\db和data\log两个文件夹
  • 服务端运行程序:mongodb\bin\mongod.exe
  • 客户端运行程序:mongodb\bin\mongo.exe
  • 创建配置文件:mongodb\mongod.cfg

    systemLog:
        destination: file
        path: c:\mongodb\data\log\mongod.log
    storage:
        dbPath: c:\mongodb\data\db
    
  • 安装为服务(运行命令需要用管理员权限):C:\mongodb\bin\mongod.exe --config "C:\mongodb\mongod.cfg" --install

  • 启动服务:net start MongoDB

  • 关闭服务:net stop MongoDB

  • 移除服务:C:\mongodb\bin\mongod.exe --remove

  • 下载客户端程序:https://download.robomongo.org/1.2.1/windows/robo3t-1.2.1-windows-x86_64-3e50a65.zip

  • 解压到指定目录,打开robo3t.exe并连接到localhost:27017

rabbitmq

mall-admin

mall-search

mall-portal