ActiveMQ部署

下载apache-activemq-5.15******.tar.gz
 
安装
tar   xf     apache-activemq-5.15******.tar.gz     -C    /
mv    apache-activemq-5.15******        activemq
cd /app/activemq/conf 编辑配置文件,设置账户,日志路径等
 
vim  log4j.properties  自定义日志目录
log4j.appender.logfile.file=/****/activemq/activemq.log
log4j.appender.audit.file=/*****/activemq/audit.log
 
vim  credentials.properties  设置程序连接账户
activemq.username=szrsystem
activemq.password=szr2016
guest.password=password
 
vim  jetty-realm.properties  设置管理界面账户
admin: szr@admin, admin
user: szr@user, user
 
 
cd     /activemq/bin
./activemq    start
netstat    -anpt  |   grep  61616
如果开启了防火墙,需要放行8161(web管理页面端口)  61616(服务监控端口)  两个端口
打开web界面访问http://IP:8161/admin即可,账户admin   密码szr@admin
 
程序连接账户为szrsystem,口令为szr2016
 

猜你喜欢

转载自www.cnblogs.com/wenqiang0517/p/10155755.html