linux上启动activemq
1. 进入安装目录
cd /opt/apache-activemq-5.16.3/bin
启动命令 ./activemq start
[root@localhost linux-x86-64]# ./activemq start
如果提示
-bash: ./activemq: Permission denied
则给qctivemq文件添加可执行权限
[root@localhost bin]# chmod 777 activemq
启动成功,提示如下
[root@localhost bin]# ./activemq start
INFO: Loading '/opt/apache-activemq//bin/env'
INFO: Using java '/usr/local/jre/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
INFO: pidfile created : '/opt/apache-activemq//data/activemq.pid' (pid '13555')