mirror of
https://github.com/apache/rocketmq-dashboard.git
synced 2026-02-23 06:25:42 +08:00
Use rocketmq-dashboard instead of rocketmq-console
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
* 消息详情可以展示这条消息的详细信息,查看消息对应到具体消费组的消费情况(如果异常,可以查看具体的异常信息)。可以向指定的消费组重发消息。
|
||||
|
||||
|
||||
## HTTPS 方式访问Console
|
||||
## HTTPS 方式访问Dashboard
|
||||
* HTTPS功能实际上是使用SpringBoot提供的配置功能即可完成,首先,需要有一个SSL KeyStore来存放服务端证书,可以使用本工程所提供的测试密钥库:
|
||||
resources/rmqcngkeystore.jks, 它可以通过如下keytool命令生成
|
||||
```
|
||||
@@ -76,7 +76,7 @@ keytool -list -v -keystore rmqcngkeystore.jks
|
||||
keytool -importkeystore -srckeystore rmqcngkeystore.jks -destkeystore rmqcngkeystore.jks -deststoretype pkcs12
|
||||
```
|
||||
|
||||
* 配置resources/application.properties, 打开SSL的相关选项, 启动console后即开启了HTTPS.
|
||||
* 配置resources/application.properties, 打开SSL的相关选项, 启动dashboard后即开启了HTTPS.
|
||||
```
|
||||
#设置https端口
|
||||
server.port=8443
|
||||
@@ -88,8 +88,8 @@ server.port=8443
|
||||
#server.ssl.keyAlias=rmqcngkey
|
||||
```
|
||||
|
||||
## 登录访问Console
|
||||
在访问Console时支持按用户名和密码登录控制台,在操作完成后登出。需要做如下的设置:
|
||||
## 登录访问Dashboard
|
||||
在访问Dashboard时支持按用户名和密码登录控制台,在操作完成后登出。需要做如下的设置:
|
||||
|
||||
* 1.在Spring配置文件resources/application.properties中修改 开启登录功能
|
||||
```$xslt
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# RocketMQ User Guide
|
||||
|
||||
## OPS Page
|
||||
* You can change console's namesrvAddr here
|
||||
* You can change dashboard's namesrvAddr here
|
||||
* You can change the value of useVIPChannel here (if you rocketMQ version < 3.5.8,the value of useVIPChannel should be false)
|
||||
|
||||
## DashBoard Page
|
||||
@@ -65,7 +65,7 @@
|
||||
you can send this message to the group you selected
|
||||
|
||||
|
||||
## Access Console with HTTPS
|
||||
## Access Dashboard with HTTPS
|
||||
* SpringBoot itself has provided the SSL configuration. You can use the project test Keystore:resources/rmqcngkeystore.jks. The store is generated with the following unix keytool commands:
|
||||
```
|
||||
#Generate Keystore and add alias rmqcngKey
|
||||
@@ -76,7 +76,7 @@ keytool -list -v -keystore rmqcngkeystore.jks
|
||||
keytool -importkeystore -srckeystore rmqcngkeystore.jks -destkeystore rmqcngkeystore.jks -deststoretype pkcs12
|
||||
```
|
||||
|
||||
* Uncomment the following SSL properties in resources/application.properties. restart Console then access with HTTPS.
|
||||
* Uncomment the following SSL properties in resources/application.properties. restart Dashboard then access with HTTPS.
|
||||
|
||||
```
|
||||
#Set https port
|
||||
@@ -89,8 +89,8 @@ server.ssl.keyStoreType=PKCS12
|
||||
server.ssl.keyAlias=rmqcngkey
|
||||
```
|
||||
|
||||
## Login/Logout on Console
|
||||
Access Console with username and password and logout to leave the console。To stage the function on, we need the steps below:
|
||||
## Login/Logout on Dashboard
|
||||
Access Dashboard with username and password and logout to leave the dashboard。To stage the function on, we need the steps below:
|
||||
|
||||
* 1.Turn on the property in resources/application.properties.
|
||||
```$xslt
|
||||
@@ -101,7 +101,7 @@ rocketmq.config.loginRequired=true
|
||||
rocketmq.config.dataPath=/tmp/rocketmq-console/data
|
||||
```
|
||||
* 2.Make sure the directory defined in property ${rocketmq.config.dataPath} exists and the file "users.properties" is created under it.
|
||||
The console system will use the resources/users.properties by default if a customized file is not found。
|
||||
The dashboard system will use the resources/users.properties by default if a customized file is not found。
|
||||
|
||||
The format in the content of users.properties:
|
||||
```$xslt
|
||||
@@ -115,4 +115,4 @@ admin=admin,1
|
||||
user1=user1
|
||||
user2=user2
|
||||
```
|
||||
* 3. Restart Console Application after above configuration setting well.
|
||||
* 3. Restart Dashboard Application after above configuration setting well.
|
||||
Reference in New Issue
Block a user