GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 修改 mac es · wodeu2/PassJava-Learning@8a4e4d6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs
    • 01.PassJava
      • 01.Introduction
        • 1.项目背景.md
      • 03.Deploy
        • 14.用M1部署ES_Kibana.md
    • 04.Architecture/05.中间件原理剖析/02.消息队列/01.RocketMQ
      • 04.MacM1部署RocketMQ20220317.md
    • README.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/01.PassJava/01.Introduction/1.项目背景.md‎

Copy file name to clipboardExpand all lines: docs/01.PassJava/01.Introduction/1.项目背景.md
-2Lines changed: 0 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ PassJava 是一款帮助Java面试的开源系统,采用流行的技术,如
1616

1717
## 项目演示
1818

19-
![mark](http://cdn.jayh.club/blog/20200405/ik8h4UItdnSA.jpg?imageslim)
20-
2119
![mark](http://cdn.jayh.club/blog/20200405/pjfJNfuiXVnF.gif)
2220

2321
## PassJava 中使用的技术
Collapse file

‎docs/01.PassJava/03.Deploy/14.用M1部署ES_Kibana.md‎

Copy file name to clipboardExpand all lines: docs/01.PassJava/03.Deploy/14.用M1部署ES_Kibana.md
+33-3Lines changed: 33 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,38 @@
1-
我用 M1 部署新版 ES + Kibana
1+
## 我用 M1 部署新版 ES + Kibana
22

3-
目前 ES 最新版 8.4,我用的版本是 8.3.2,都是 8 系列的,和 7 系列相比,Kibana 的界面有很大的不同。
3+
分为两种版本安装,ES 7.x 和 ES 8.x,版本 8 是最新的。
4+
5+
## 部署 Elasticsearch 7.x
6+
7+
拉取 ES 的 Docker 镜像
8+
9+
``` SH
10+
docker pull elasticsearch:7.16.2
11+
```
12+
13+
查看镜像 id,启动容器的时候用到,这里镜像 id 为 e082d8ac7e5e
14+
15+
``` SH
16+
docker images
17+
```
418

5-
## Docker 安装 ES
19+
![](http://cdn.jayh.club/uPic/image-20221031143834452EIc1NI.png)
20+
21+
启动容器
22+
23+
``` SH
24+
docker run -e ES_JAVA_OPTS="-Xms256m -Xmx256m" -e "discovery.type=single-node" -d -p 9200:9200 -p 9300:9300 --name elasticsearch e082d8ac7e5e
25+
```
26+
27+
![image-20221031143740195](http://cdn.jayh.club/uPic/image-20221031143740195rO6KNw.png)
28+
29+
浏览器访问 http://localhost:9200,出现以下信息表示安装成功。
30+
31+
![](http://cdn.jayh.club/uPic/image-20221031144145591jRO3RG.png)
32+
33+
## Docker 安装 ES 8.x
34+
35+
目前 ES 最新版 8.4,我用的版本是 8.3.2,都是 8 系列的,和 7 系列相比,Kibana 的界面有很大的不同。
636

737
如果想指定分配的内存和挂载的目录,可以用下面的命令
838

Collapse file

‎docs/04.Architecture/05.中间件原理剖析/02.消息队列/01.RocketMQ/04.MacM1部署RocketMQ20220317.md‎

Copy file name to clipboardExpand all lines: docs/04.Architecture/05.中间件原理剖析/02.消息队列/01.RocketMQ/04.MacM1部署RocketMQ20220317.md
+9-1Lines changed: 9 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636

3737
![三个容器](http://cdn.jayh.club/uPic/image-20220921222546677IQWS2Z.png)
3838

39+
``` SH
40+
# 重启容器的命令
41+
docker restart rmqnamesrv
42+
docker restart rmqbrokerv2
43+
docker restart rocketmq-dashboard
44+
```
45+
3946
### 2.1 拉取 rocketmq 镜像
4047

4148
```
@@ -207,7 +214,8 @@ brokerIP1=192.168.10.197
207214
重启容器
208215

209216
```SH
210-
docker restart b6b
217+
docker restart rmqnamesrv
218+
docker restart rmqbrokerv2
211219
```
212220

213221
#### 修改控制面板的连接 IP
Collapse file

‎docs/README.md‎

Copy file name to clipboardExpand all lines: docs/README.md
-2Lines changed: 0 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ Windows 版正在更新中,可参考 Mac 版的部署教程。
114114

115115
## 小程序演示
116116

117-
![](http://cdn.jayh.club/blog/20200405/ik8h4UItdnSA.jpg?imageslim)
118-
119117
![](http://cdn.jayh.club/blog/20200405/pjfJNfuiXVnF.gif)
120118

121119
## 项目地址

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.