php安装 rabbitmq扩展
2021-01-06 19:31
标签:pre zone man plugin bash openssl port mis user 系统环境 centos7,php7.0 安装有关依赖 安装erlang运行环境 安装amqp-c 安装amqp扩展 安装界面管理组件 启动服务 创建管理员用户 开放15672端口 登录管理后台 使用账号 admin amqp123 登录 http://IP地址:15672 php安装 rabbitmq扩展 标签:pre zone man plugin bash openssl port mis user 原文地址:https://www.cnblogs.com/xiangdongsheng/p/14223549.htmlyum -y install gcc glibc-devel make ncurses-devel openssl-devel autoconf unixODBC unixODBC-devel socat
wget https://www.rabbitmq.com/releases/erlang/erlang-19.0-1.el6.x86_64.rpm
yum -y install erlang-19.0-1.el6.x86_64.rpm
输入erl测试是否成功 输入halt().退出
wget https://github.com/alanxz/rabbitmq-c/releases/download/v0.8.0/rabbitmq-c-0.8.0.tar.gz
tar -zxvf rabbitmq-c-0.8.0.tar.gz
cd rabbitmq-c-0.8.0
./configure --prefix=/usr/local/rabbitmq-c
make && make install
yum install epel-release
yum install autoconf gcc gcc-c++ librabbitmq librabbitmq-devel
wget https://pecl.php.net/get/amqp-1.9.4.tgz
tar xf amqp-1.9.4.tgz
cd amqp-1.9.4
phpize
./configure --with-amqp --with-librabbitmq-dir=/usr/local/rabbitmq-c
make && make install
rabbitmq-plugins enable rabbitmq_management
service rabbitmq-server start
rabbitmqctl add_user admin amqp123
rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
rabbitmqctl set_user_tags admin administrator
firewall-cmd --zone=public --add-port=15672/tcp --permanent
firewall-cmd --reload
上一篇:k3s执行helm命令报错:"Error: Kubernetes cluster unreachable: Get "http://localhost:8080/v
下一篇:vuejs 1—基础