1.查询是否安装JDK
yum list installed|grep jdk@H_403_0@2.如果没有安装JDK,查询YUM安装列表JDK版本,选择版本进行JDK安装
yum list|grep jdk yum install java-1.7.0-openjdk.x86_64
@H_403_0@二、安装PHP Stomp扩展 @H_403_0@Stomp下载地址:http://pecl.php.net/package/s...
或
wget http://pecl.PHP.net/get/stomp-1.0.5.tgz #下载安装包
tar -zxvf stomp-1.0.5.tgz cd stomp-1.0.5 PHPize ./configure make make install@H_403_0@可能会出现的问题:
PHPize错误提示 :
Can't find PHP headers in /usr/include/PHP The PHP-devel package is required for use of this command.@H_403_0@原因:缺少PHP-devel插件
1.查找yum安装列表,选择版本安装
yum list | grep PHP yum install PHP-devel.x86_64@H_403_0@./configure提示缺少gcc:
yum install gcc@H_403_0@安装完成后在 /etc/PHP.ini 中加入
extension = stomp.so@H_403_0@重启apache
/etc/init.d/httpd restart@H_403_0@二、安装ActiveMQ @H_403_0@ActiveMQ下载地址:http://activemq.apache.org/do...
或
wget http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.14.4/apache-activemq-5.14.4-bin.tar.gz&action=download #下载安装包
tar -zxvf apache-activemq-5.14.4-bin.tar.gz cd apache-activemq-5.14.4-bin bin/activemq start #开启activemq@H_403_0@测试是否成功安装
@L_404_2@MQ自带的web控制台,。默认用户密码都为admin 原文链接:https://www.f2er.com/centos/378146.html