1、ActiveMQ Artemis官网下载
https://activemq.apache.org/components/artemis/download/
当前版本2.20.0,不支持JDK8,JDK8需要下载版本2.19.0的,本人下载的是2.19.0
https://activemq.apache.org/components/artemis/download/past_releases
2、上传安装压缩包apache-artemis-2.19.0-bin.tar.gz到服务器/opt目录上
3、解压
cd /opt tar -zxvf apache-artemis-2.19.0-bin.tar.gz
4、创建Broker实例
cd apache-artemis-2.19.0/bin ./artemis create mybroker
输出:
Creating ActiveMQ Artemis instance at: /opt/apache-artemis-2.19.0/bin/mybroker
之后会提示输入默认用户名、密码、是否允许匿名登录
--user: Please provide the default username: admin --password: is mandatory with this configuration: Please provide the default password: --allow-anonymous | --require-login: Allow anonymous access?, valid values are Y,N,True,False N
输入之后,输出:
Auto tuning journal ... done! Your system can make 62.5 writes per millisecond, your journal-buffer-t