Windows平臺部署巡風掃描引擎的注意事項

在Windows平臺上部署巡風掃描引擎,須要注意Python和MongoDB的幾個坑:web

1、Python 應安裝 2.7.13版本
2、pip工具的安裝應採用在線安裝的方式,離線安裝會因依賴關係不知足而失敗
3、MongoDB的安裝配置最好用二進制包解壓安裝,若是用安裝嚮導安裝,在配置過程當中應按序執行:ide

Server窗口(請勿關閉):
mongod.exe --port 65521 --dbpath "C:\Program Files\MongoDB\Server\3.4\bin\data\db"工具

Client窗口:
mongo 127.0.0.1:65521/xunfeng
db.createUser({user:'scan',pwd:'scanlol66',roles:[{role:'dbOwner',db:'xunfeng'}]})
exitrest

mongorestore.exe -h 127.0.0.1 --port 65521 -d xunfeng "C:\Program Files\MongoDB\Server\3.4\bin\data\db"blog

cd C:\Setup\xunfengip

run.bat部署

成功運行的web界面:
Windows平臺部署巡風掃描引擎的注意事項it

Windows平臺部署巡風掃描引擎的注意事項

相關文章
相關標籤/搜索