Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
fb82427d
Commit
fb82427d
authored
Dec 13, 2018
by
zhh
Browse files
Update deploy-windows.md
parent
8a81ac94
Changes
1
Hide whitespace changes
Inline
Side-by-side
document/reference/deploy-windows.md
View file @
fb82427d
...
...
@@ -22,10 +22,41 @@
-
启动elasticsearch:运行elasticsearch-2.4.6
\b
in
\e
lasticsearch.bat
-
打开该地址测试是否安装成功:http://localhost:9200/_plugin/head/
## mongo
## mongodb
-
下载地址:https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.21-signed.msi
-
选择路径(c:
\m
ongodb
\)
进行安装,在安装路径下创建data
\d
b和data
\l
og两个文件夹
-
服务端运行程序:mongodb
\b
in
\m
ongod.exe
-
客户端运行程序:mongodb
\b
in
\m
ongo.exe
-
创建配置文件:mongodb
\m
ongod.cfg
```
lua
systemLog
:
destination
:
file
path
:
c
:
\
mongodb
\
data
\
log
\
mongod
.
log
storage
:
dbPath
:
c
:
\
mongodb
\
data
\
db
```
-
安装为服务:C:
\m
ongodb
\b
in
\m
ongod.exe --config "C:
\m
ongodb
\m
ongod.cfg" --install
-
安装为服务:F:
\d
eveloper
\I
DE
\i
dea
\m
ongodb-bundle
\m
ongodb-server
\b
in
\m
ongod.exe --config "F:
\d
eveloper
\I
DE
\i
dea
\m
ongodb-bundle
\m
ongodb-server
\m
ongod.cfg" --install
-
启动服务:net start MongoDB
-
关闭服务:net stop MongoDB
-
移除服务:C:
\m
ongodb
\b
in
\m
ongod.exe --remove
-
下载客户端程序:https://download.robomongo.org/1.2.1/windows/robo3t-1.2.1-windows-x86_64-3e50a65.zip
-
解压到指定目录,打开robo3t.exe并连接到localhost:27017
## rabbitmq
-
安装Erlang:http://www.erlang.org/download/otp_win64_17.3.exe
-
下载rabbitmq:http://www.rabbitmq.com/releases/rabbitmq-server/v3.4.1/rabbitmq-server-3.4.1.exe
-
按照提示进行安装,安装完成后左下角搜索rabbitmq,点击如下命令进行安装
!
[
rabbitmq_install_1.png
](
https://github.com/macrozheng/mall/blob/master/document/resource/rabbitmq_install_1.png
)
-
输入命令启用管理工具:rabbitmq-plugins enable rabbitmq_management
-
访问地址查看是否安装成功:http://127.0.0.1:15672/
-
输入账号密码登录:guest guest
-
创建用户并设置其角色为管理员:mall mall
-
创建virtual host:/mall
-
给mall用户配置范围该virtual host的权限
## mall-admin
-
启动项目:直接运行com.macro.mall.MallAdminApplication的main方法即可
...
...
@@ -39,3 +70,6 @@
-
如出现无法启动的问题,可以先删除elasticsearch里面的数据再启动
## mall-portal
-
启动mall-portal项目:直接运行com.macro.mall.portal.MallPortalApplication的main方法即可
-
接口文档地址:http://localhost:8085/swagger-ui.html
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment