# /Users/tyyc/artemisbroker: artemisbroker的创建目录# user:用户名# password:密码
./artemis create /Users/tyyc/artemisbroker --user zhaozw --password 123456# 命令执行过程
Creating ActiveMQ Artemis instance at: /Users/tyyc/artemisbroker
--allow-anonymous | --require-login:
Allow anonymous access?, valid values are Y, N, True, False
# 提示输入的时候输入 Y
Y
Auto tuning journal ...
done! Your system can make0.21 writes per millisecond, your journal-buffer-timeout will be 4740000
You can now start the broker by executing:
"/Users/tyyc/artemisbroker/bin/artemis" run
Or you can run the broker in the background using:
"/Users/tyyc/artemisbroker/bin/artemis-service" start
后台启动
/Users/tyyc/artemisbroker/bin/artemis-service start
Starting artemis-service
artemis-service is now running (13530)