activemq:
redis01:/root# cp apache-activemq-5.13.2-bin.tar.gz /usr/local/
安装目录:
redis01:/usr/local/apache-activemq-5.13.2# pwd
/usr/local/apache-activemq-5.13.2
添加ACTIVEMQ_OPTS_MEMORY的配置为ACTIVEMQ_OPTS_MEMORY="-Xms256M -Xmx384M -XX:PermSize=256M -XX:MaxPermSize=384M"
/usr/local/activemq/bin/activemq start
netstat -lnp|grep 61616
完成后添加/usr/local/activemq/bin/activemq start到自启动
配置好后可以登录监控管理页面去看队列情况
http://192.168.100.15:8161/admin/queues.jsp
默认用户密码 admin/admin
当前版本默认开启密码认证:
<bean id="securityConstraint" class="org.eclipse.jetty.util.security.Constraint">
<property name="name" value="BASIC" />
<property name="roles" value="user,admin" />
<!-- set authenticate=false to disable login -->
<property name="authenticate" value="true" />
</bean>
<bean id="adminSecurityConstraint" class="org.eclipse.jetty.util.security.Constraint">
<property name="name" value="BASIC" />
<property name="roles" value="admin" />
<!-- set authenticate=false to disable login -->
<property name="authenticate" value="true" />
redis01:/usr/local/apache-activemq-5.13.2# vim conf/jetty-realm.properties
修改密码