1. 在MongoDB下创建data,在data下再创建db、log
2.在Mongodb新建配置文件mongo.config
dbpath=E:Program FilesMongoDBServer3.2datadb
logpath=E:Program FilesMongoDBServer3.2datalogmongo.log
3.用管理员身份打开cmd:
cd进入MongoDB的bin下
mongod --config "E:Program FilesMongoDBServer3.2mongo.config" --install --serviceName "MongoDB"
4.net start MongoDB 启动
5.在环境变量path中加入E:Program FilesMongoDBServer3.2in
6.输入mongo,可进入命令行界面
7.安装工具mongobooster-2.3.3
7.创建数据库
use Sitecore_tracking_live
use Sitecore_tracking_history
use Sitecore_tracking_contact
use Sitecore_analytics