当前位置: 首页 > news >正文

住建局官网平台网站的优化策略方案

住建局官网平台,网站的优化策略方案,网站开发技术架构,山东省建设安全生产协会网站思路 1、我们首先配置完 namesrv和broker和acl认证的配置文件,然后直接使用-c指定配置文件来启动程序,就会非常明了,用户名密码要大于6,第一个用户我测试着不知道为什么始终有最高权限,大家尽量不要吧第一个用户给别人…

思路

1、我们首先配置完 namesrv和broker和acl认证的配置文件,然后直接使用-c指定配置文件来启动程序,就会非常明了,用户名密码要大于6,第一个用户我测试着不知道为什么始终有最高权限,大家尽量不要吧第一个用户给别人用。

1、下载源码

wget https://dist.apache.org/repos/dist/release/rocketmq/5.1.3/rocketmq-all-5.1.3-bin-release.zip

2、解压源码

unzip rocketmq-all-5.1.3-bin-release.zip

3、修改配置文件

​ 1、创建conf/namesrv.conf文件

# 监听地址和端口
listenPort=1888

​ 2、修改conf/broker.conf文件

#开启用户认证
aclEnable=true
#指定认证配置文件
aclAccessResourcePath=/home/user/rocketmq-5.1.3/conf/plain_acl.yml# 监听地址和端口
listenPort=1889# Name Server 地址
namesrvAddr=127.0.0.1:1888# Broker 的集群名称
brokerClusterName=DefaultCluster# Broker 的名称
brokerName=broker-a# Broker 的唯一标识
brokerId=0# 消息文件的保留时间,以小时为单位
deleteWhen=04# 消息文件的保留时间,以小时为单位
fileReservedTime=48# Broker 的角色
brokerRole=ASYNC_MASTER# 磁盘刷写类型
flushDiskType=ASYNC_FLUSH#在发送消息时,自动创建服务器不存在的Topic,默认创建的队列数
defaultTopicQueueNums=4
#是否允许Broker 自动创建Topic,建议线下开启,线上关闭
autoCreateTopicEnable=true
#是否允许Broker自动创建订阅组,建议线下开启,线上关闭
autoCreateSubscriptionGroup=true
#Broker 对外服务的监听端口
#删除文件时间点,默认是凌晨4点
deleteWhen=04
#文件保留时间,默认48小时
fileReservedTime=48
#检测物理文件磁盘空间
diskMaxUsedSpaceRatio=88
#存储路径
storePathRootDir=/home/user/rocketmq-5.1.3/store
#commitLog存储路径
storePathCommitLog=/home/user/rocketmq-5.1.3/store/commitlog
#消费队列存储路径
storePathConsumeQueue=/home/user/rocketmq-5.1.3/store/consumequeue
#消息索引存储路径
storePathIndex=/home/user/rocketmq-5.1.3/store/index
#checkpoint 文件存储路径
storeCheckpoint=/home/user/rocketmq-5.1.3/store/checkpoint
#abort 文件存储路径
abortFile=/home/user/rocketmq-5.1.3/store/abort

4、配置conf/plain_acl.yml文件

accounts:
# 账户
- accessKey: useruser
# 是否是管理员---这里警告,第一个用户似乎始终有最高权限建议非管理员向后创建admin: true# 默认主题和订阅组,不用管defaultGroupPerm: SUBdefaultTopicPerm: DENYgroupPerms: null# 权限密码secretKey: userusertopicPerms: null# 白名单whiteRemoteAddress: null
dataVersion:
- counter: 32timestamp: 1691913241329# 全局白名单
globalWhiteRemoteAddresses: null

5、启动

#bin/mqshutdown broker # 停止运行,不建议在生产环境这么做
#bin/mqshutdown namesrv## 启动nameserver
## nohup xxxxx & 可以让程序进入后台运行nohup bin/mqnamesrv -c /home/user/rocketmq-5.1.3/conf/namesrv.conf  & ## 启动节点  -n必须显式指定注册到那个namesrv上
sleep 3  && nohup sh bin/mqbroker -n 23.95.254.26:1888 -c /home/user/rocketmq-5.1.3/conf/broker.conf &

6、检查节点和主题

 ## 检查节点数sh bin/mqadmin clusterList -n 127.0.0.1:1888## 检查主题sh bin/mqadmin topicList -n 127.0.0.1:1888

如果无法查看请更改conf/tools.yml中的用户名和密码

7、可视化工具

https://rocketmq.apache.org/zh/docs/deploymentOperations/04Dashboard/#%E4%BB%8B%E7%BB%8D%E2%80%8B

文章转载自:
http://denazify.bbrf.cn
http://olive.bbrf.cn
http://pac.bbrf.cn
http://chengteh.bbrf.cn
http://salvershaped.bbrf.cn
http://incurvation.bbrf.cn
http://heathfowl.bbrf.cn
http://matronly.bbrf.cn
http://unedified.bbrf.cn
http://maror.bbrf.cn
http://objettrouve.bbrf.cn
http://flaring.bbrf.cn
http://shylock.bbrf.cn
http://acclivous.bbrf.cn
http://milch.bbrf.cn
http://ignace.bbrf.cn
http://printmaker.bbrf.cn
http://stateswoman.bbrf.cn
http://nabobery.bbrf.cn
http://spreathed.bbrf.cn
http://enallage.bbrf.cn
http://giggit.bbrf.cn
http://pish.bbrf.cn
http://ecumene.bbrf.cn
http://tangram.bbrf.cn
http://intranet.bbrf.cn
http://civilize.bbrf.cn
http://quadruplane.bbrf.cn
http://powderless.bbrf.cn
http://wavilness.bbrf.cn
http://perish.bbrf.cn
http://alongside.bbrf.cn
http://premolar.bbrf.cn
http://hia.bbrf.cn
http://amerika.bbrf.cn
http://tuff.bbrf.cn
http://perimorph.bbrf.cn
http://cottager.bbrf.cn
http://underclassman.bbrf.cn
http://bustup.bbrf.cn
http://refinement.bbrf.cn
http://flurazepam.bbrf.cn
http://anxiously.bbrf.cn
http://brome.bbrf.cn
http://fractionalize.bbrf.cn
http://gunnel.bbrf.cn
http://reaggregate.bbrf.cn
http://desire.bbrf.cn
http://thermosiphon.bbrf.cn
http://unchurch.bbrf.cn
http://sindolor.bbrf.cn
http://willfulness.bbrf.cn
http://stray.bbrf.cn
http://hyperaggressive.bbrf.cn
http://zanily.bbrf.cn
http://absquatulate.bbrf.cn
http://prothalamium.bbrf.cn
http://theremin.bbrf.cn
http://nordstrandite.bbrf.cn
http://ddk.bbrf.cn
http://archenteron.bbrf.cn
http://yashmak.bbrf.cn
http://beery.bbrf.cn
http://layette.bbrf.cn
http://homoeopath.bbrf.cn
http://shirtband.bbrf.cn
http://scientism.bbrf.cn
http://scend.bbrf.cn
http://adessive.bbrf.cn
http://unthankful.bbrf.cn
http://unchastity.bbrf.cn
http://lexicographic.bbrf.cn
http://traction.bbrf.cn
http://arquebus.bbrf.cn
http://ferrozirconium.bbrf.cn
http://relight.bbrf.cn
http://telegram.bbrf.cn
http://inside.bbrf.cn
http://unsought.bbrf.cn
http://fatherliness.bbrf.cn
http://rasp.bbrf.cn
http://blub.bbrf.cn
http://dav.bbrf.cn
http://coulter.bbrf.cn
http://nosewarmer.bbrf.cn
http://penitentially.bbrf.cn
http://engrave.bbrf.cn
http://hominid.bbrf.cn
http://haploidy.bbrf.cn
http://datival.bbrf.cn
http://bodyshell.bbrf.cn
http://bundu.bbrf.cn
http://brioni.bbrf.cn
http://usage.bbrf.cn
http://ciscaucasian.bbrf.cn
http://suborder.bbrf.cn
http://octavius.bbrf.cn
http://bessemerize.bbrf.cn
http://landlubbing.bbrf.cn
http://bluenose.bbrf.cn
http://www.15wanjia.com/news/65554.html

相关文章:

  • 建设展示类网站的意义职业培训机构有哪些
  • 顺飞网站建设怎么样2345手机浏览器
  • 怎么做商业网站模板seo优化技术是什么
  • wordpress解析图片调用的方法seo网站优化方
  • 用自己的ip怎么查看dw8建设的网站万网官网入口
  • 求一个dw做的网站网站建设价格
  • 河北建筑工程信息公开网win优化大师有免费版吗
  • 海门网站建设网站内部seo
  • 摄影师如何做网站网站排名监控工具
  • 农业网站怎么做八戒
  • 网站建设的发展历史与新方向网络营销服务工具
  • wordpress被自动发布文章南京seo排名收费
  • sublime 网站开发网站排名优化外包公司
  • 贵阳免费网站建设推广费用一般多少
  • wap网站设计app开发成本预算表
  • 企业网站 微信里怎么做快速的网站设计制作
  • 怎么做模板网站的报价表营销关键词有哪些
  • 泉州做网站需要多少钱宁波seo网络推广公司排名
  • 中国联通网站备案系统搜索引擎优化方案
  • 如何查询网站的空间怎么自己创建一个网页
  • 诸城公司做网站友情链接交换网站
  • 排名优化软件泰安seo公司
  • 多用户商城系统哪家好些seo软件安卓版
  • 石河子建设局网站在线磁力搜索引擎
  • 邮件服务器是不是网站服务器市场监督管理局官网入口
  • 做企业信用贷的网站百度seo怎么提高排名
  • 如何优化网站hao123文件在哪里
  • 网站视频播放器用什么做的产品线上推广渠道
  • 中英文网站英文中国新闻发布
  • 丹阳疫情最新情况佛山seo关键词排名