docs/deploy/mall_deploy_windows.md
学习不走弯路,关注公众号 回复「学习路线」,获取mall项目专属学习路线!
本文主要以图文的形式讲解mall项目所需环境在windows下的安装,主要包括IDEA、Mysql、Redis、Mongodb、RabbitMQ、Elasticsearch、Logstash、Kibana、OSS。
关于IDEA的安装与使用请参考:https://github.com/judasn/IntelliJ-IDEA-Tutorial
搜索插件仓库,安装插件Lombok;
5.7版本,下载地址:https://dev.mysql.com/downloads/installer/mallmall.sql文件redis-server.exe redis.windows.conf7.6.2的zip包,并解压到指定目录,下载地址:https://www.elastic.co/cn/downloads/past-releases/elasticsearch-7-6-2elasticsearch-7.6.2\bin目录下执行以下命令:elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.6.2/elasticsearch-analysis-ik-7.6.2.zip
elasticsearch.bat启动Elasticsearch服务。7.6.2版本的zip包,并解压到指定目录,下载地址:https://www.elastic.co/cn/downloads/past-releases/kibana-7-6-2kibana.bat,启动Kibana服务;7.6.2版本的zip包,并解压到指定目录,下载地址:https://www.elastic.co/cn/downloads/past-releases/logstash-7-6-2logstash.conf拷贝到安装目录的bin目录下,配置文件地址:https://github.com/macrozheng/mall/blob/master/document/elk/logstash.conflogstash-plugin install logstash-codec-json_lines
logstash.bat,启动Logstash服务,启动命令如下:logstash -f logstash.conf
Windows x64版本安装,下载地址:https://www.mongodb.com/download-center/communitymongo.exe可以运行MongoDB自带客户端,操作MongoDB;cmd工具,并输入如下命令。sc.exe delete MongoDB
Robo 3T,下载地址:https://robomongo.org/downloadrobo3t.exe即可使用;rabbitmq-plugins enable rabbitmq_management
输入账号密码并登录:guest guest
创建帐号并设置其角色为管理员:mall mall