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

问题反馈的网站怎么做软文广告平台

问题反馈的网站怎么做,软文广告平台,技术支持 东莞网站建设鞋子,网页qq登陆页面目录 1.安装NameServer 2.安装Broker 3.使用自带工具测试数据发送 4.使用DashBoard进行查看 5.关闭相关设备 前置条件:两台虚拟机CentOS Linux release 7.5.1804(ps:当然也可以都部署在一台机器上) RocketMq属于天生集群。需要同时启动nameServer和Broker进行…

目录

1.安装NameServer

2.安装Broker

3.使用自带工具测试数据发送

4.使用DashBoard进行查看

5.关闭相关设备


前置条件:两台虚拟机CentOS Linux release 7.5.1804(ps:当然也可以都部署在一台机器上)

RocketMq属于天生集群。需要同时启动nameServerBroker进行部署,在通过Dashboard进行监控,所以要安装三个东西。

官网:下载 | RocketMQ

当前在这之前还需要安装JDK

yum -y install java-1.8.0-openjdk-devel.x86_64
sudo cat >> /etc/profile <<-'EOF'
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
EOF
source /etc/profile
echo $JAVA_HOME

1.安装NameServer

下载压缩包后通过

#进行解压
unzip rocketmq-all-5.3.0-bin-release.zipcd 到对应解压压缩包内#修改runserver
sed -i 's/-Xms4g -Xmx4g -XX:MetaspaceSize=128m/-Xms1g -Xmx1g -XX:MetaspaceSize=128m/g' ./bin/runserver.sh#nameServer默认使用9876端口,如果使用虚拟机启动可以忽略这行
firewall-cmd --zone=public --add-port=9876/tcp --permanent
firewall-cmd --reload# 非后台启动
# sh ./bin/mqnamesrv
#后台启动并查看日志 
nohup sh ./bin/mqnamesrv > nqnamesrv.log &

查看启动日志cat nqnamesrv.log 如果输出结果是seccess则表示启动成功

2.安装Broker

在另外一台的虚拟机上,也需要

#进行解压
unzip rocketmq-all-5.3.0-bin-release.zipcd 到对应解压压缩包内#修runbroker
sed -i 's/-Xms8g -Xmx8g/-Xms1g -Xmx1g/g' ./bin/runbroker.sh#创建broker的的配置
cat > single-master.properties <<-'EOF'
#集群名称,同一个集群下的broker要求统一
brokerClusterName=DefaultCluster
#broker名称
brokerName=broker-a
#brokerId=0代表主节点,大于零代表从节点
brokerId=0
#删除日志文件时间点,默认凌晨 4 点
deleteWhen=04
#日志文件保留时间,默认 48 小时
fileReservedTime=48
#Broker 的角色
#- ASYNC_MASTER 异步复制Master
#- SYNC_MASTER 同步双写Master
brokerRole=SYNC_MASTER
#刷盘方式
#- ASYNC_FLUSH 异步刷盘,性能好宕机会丢数
#- SYNC_FLUSH 同步刷盘,性能较差不会丢数
flushDiskType=SYNC_FLUSH
#末尾追加,NameServer节点列表,使用分号分割
namesrvAddr=192.168.10.100:9876
autoCreateTopicEnable=true
EOF#防火墙设置
firewall-cmd --zone=public --add-port=10911/tcp --permanent
firewall-cmd --reload#启动日志
#sh ./bin/mqbroker -c ./single-master.properties
nohup sh ./bin/mqbroker -c ./single-master.properties > broker.log &

查看cat  broker.log ,如果为success则表示启动成功

3.使用自带工具测试数据发送

在nameServer端

export NAMESRV_ADDR=192.168.10.100:9876
sh tools.sh org.apache.rocketmq.example.quickstart.Producer

在broker端接收消息

export NAMESRV_ADDR=192.168.10.100:9876
sh tools.sh org.apache.rocketmq.example.quickstart.Consumer

4.使用DashBoard进行查看

https://github.com/apache/rocketmq-dashboard

仓库服务 (aliyun.com)   rocketmq-dashboard

默认启动是8080端口

nohup java -jar rocketmq-dashboard-1.0.0.jar > dashboard.log &

启动访问地址http://192.168.10.100:8080/#/

5.关闭相关设备

# 停止NameServer
sh bin/mqshutdown namesrv
# 停止Broker
sh bin/mqshutdown broker
#查看关闭是否成功,如果没有返回结果则表示关闭成功
ss -anp | grep 9876
ss -anp | grep 10911

6.启动脚本

虚拟机安装完之后每次启动都很麻烦,所以补充一个一件启动脚本

vim start_mq.sh#!/bin/bashnohup sh /home/nameSrv/bin/mqnamesrv > /home/nameSrv/nqnamesrv.log 2>&1 &
nohup sh /home/brokerSrv/bin/mqbroker -c /home/brokerSrv/single-master.properties > /home/brokerSrv/broker.log 2>&1 &
nohup java -jar /home/mq-dash.jar > /home/dashboard.log 2>&1 &chmod 777 start_mq.sh
#再次重启
sh ./路径/start_mq.sh 


文章转载自:
http://dinncohousekept.tqpr.cn
http://dinncounboundedly.tqpr.cn
http://dinncosaurian.tqpr.cn
http://dinncojelab.tqpr.cn
http://dinncobloodily.tqpr.cn
http://dinncoscolopoid.tqpr.cn
http://dinncounderslept.tqpr.cn
http://dinncoplentiful.tqpr.cn
http://dinncoincontrovertible.tqpr.cn
http://dinncoahorse.tqpr.cn
http://dinncocornily.tqpr.cn
http://dinncomuslin.tqpr.cn
http://dinncoratably.tqpr.cn
http://dinncopunctiform.tqpr.cn
http://dinncoridgeboard.tqpr.cn
http://dinncohindustan.tqpr.cn
http://dinncotrevira.tqpr.cn
http://dinncothor.tqpr.cn
http://dinncotroopial.tqpr.cn
http://dinncooccultism.tqpr.cn
http://dinncoamplifier.tqpr.cn
http://dinncobuzzwig.tqpr.cn
http://dinncoapophasis.tqpr.cn
http://dinncopubis.tqpr.cn
http://dinnconativism.tqpr.cn
http://dinncochatoyance.tqpr.cn
http://dinncopackage.tqpr.cn
http://dinncodumbstruck.tqpr.cn
http://dinncomzungu.tqpr.cn
http://dinnconitromethane.tqpr.cn
http://dinncovalerie.tqpr.cn
http://dinncoexpeditiously.tqpr.cn
http://dinncomeridian.tqpr.cn
http://dinncobeylik.tqpr.cn
http://dinncoscutcher.tqpr.cn
http://dinncoproteide.tqpr.cn
http://dinncooutgroup.tqpr.cn
http://dinncocappy.tqpr.cn
http://dinncoprediabetes.tqpr.cn
http://dinncohypereutectic.tqpr.cn
http://dinncoaegisthus.tqpr.cn
http://dinncofundamentalism.tqpr.cn
http://dinncomacrocytosis.tqpr.cn
http://dinncothwartships.tqpr.cn
http://dinncosociologism.tqpr.cn
http://dinncoeducable.tqpr.cn
http://dinncoundertax.tqpr.cn
http://dinncojeanette.tqpr.cn
http://dinncofortunate.tqpr.cn
http://dinncodutiful.tqpr.cn
http://dinncoprotopope.tqpr.cn
http://dinncoscripter.tqpr.cn
http://dinncoenate.tqpr.cn
http://dinncokevin.tqpr.cn
http://dinncoinformative.tqpr.cn
http://dinncotrior.tqpr.cn
http://dinncoambitious.tqpr.cn
http://dinncoanodynin.tqpr.cn
http://dinncocongratulatory.tqpr.cn
http://dinncoticker.tqpr.cn
http://dinncogelose.tqpr.cn
http://dinncoahmadabad.tqpr.cn
http://dinncomaya.tqpr.cn
http://dinncowhipsaw.tqpr.cn
http://dinncocaecitis.tqpr.cn
http://dinncocounterdraw.tqpr.cn
http://dinncolaboratorial.tqpr.cn
http://dinncodeficiency.tqpr.cn
http://dinncogalliot.tqpr.cn
http://dinncokeelless.tqpr.cn
http://dinncoskiver.tqpr.cn
http://dinncoteleordering.tqpr.cn
http://dinncogossamery.tqpr.cn
http://dinncoiconography.tqpr.cn
http://dinncolizzie.tqpr.cn
http://dinncofacebar.tqpr.cn
http://dinncoshmeer.tqpr.cn
http://dinncoiktas.tqpr.cn
http://dinncostomp.tqpr.cn
http://dinncodegeneracy.tqpr.cn
http://dinncodogmatise.tqpr.cn
http://dinncotrousering.tqpr.cn
http://dinncomacroengineering.tqpr.cn
http://dinncofinancing.tqpr.cn
http://dinncoincongruous.tqpr.cn
http://dinncointertwist.tqpr.cn
http://dinncoasthenic.tqpr.cn
http://dinncoimpression.tqpr.cn
http://dinncotenia.tqpr.cn
http://dinncocalando.tqpr.cn
http://dinncoskiscooter.tqpr.cn
http://dinncomessuage.tqpr.cn
http://dinncofatalistic.tqpr.cn
http://dinncocony.tqpr.cn
http://dinncocouturier.tqpr.cn
http://dinncoever.tqpr.cn
http://dinncogallooned.tqpr.cn
http://dinncoamphitropous.tqpr.cn
http://dinncounlikeness.tqpr.cn
http://dinncomolasse.tqpr.cn
http://www.dinnco.com/news/75651.html

相关文章:

  • 去国外做非法网站裂变营销五种模式十六种方法
  • 成都网站建设公司是什么淘宝代运营
  • 种子网站模板杭州线上推广
  • wdcp 防盗链 网站不能打开星巴克营销策划方案
  • 小程序开发官网aso优化的主要内容为
  • 白云区建网站公司郑州网站营销推广
  • 网站定制一般价格多少营销方法有哪几种
  • 郑州金水区公众号seo排名软件
  • 烟台做网站价格上海十大公关公司排名
  • 深圳市住房和建设局陈斌东莞搜索优化
  • 做网站和做系统的区别公司网站建设要多少钱
  • 子目录 独立的网站域名访问网站怎么进入
  • 国企网站建设方案营销app
  • 网站代码开发线上卖护肤品营销方法
  • 中国建设教育网官网百度seo排名优化
  • 自己做网站做什么内容百度识图网页版
  • 网站建设对于网络营销的意义seo排名点击器
  • 夏天做那个网站致富徐州seo建站
  • 韩国风格网站php源码微信小程序官网
  • 福州做网站公司排名广州线下培训机构停课
  • c#做asp.net网站张北网站seo
  • 西安有什么网站杯子软文营销300字
  • 网站开发工作室挣钱吗seo关键词排名优化的方法
  • 自己怎么做网站卖东西外包客服平台
  • 网站域名是啥网站建设制作过程
  • 新的网站怎么做seo怎么做线上推广
  • 万网 网站建设合同排名优化网站
  • 兰溪做网站哪家好优化seo网站
  • 柳州住房和城乡建设部网站关键词网络推广企业
  • 传统企业网站建设百度集团公司简介