赞
踩
#! /bin/bash
#1 install init
yum -y update && yum -y upgrade
yum install -y gcc* g++* tree wget
#2 install eclipse
yum install -y eclipse eclipse-cdt
#3 install erlang
wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
yum install erlang
#4 install socat
wget --no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo -O /etc/yum.repos.d/convirt.repo
yum -y install epel-release
yum install socat
#5 install rabbitmq-server
wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.9/rabbitmq-server-3.7.9-1.el6.noarch.rpm
rpm -ivh rabbitmq-server-3.7.9-1.el6.noarch.rpm
whereis rabbitmq
cd /usr/lib/rabbitmq/bin/
rabbitmq-plugins enable rabbitmq_management
rabbitmq-server start
rabbitmqctl add_user admin 123456
rabbitmqctl set_user_tags admin administrator
rabbitmqctl set_permissions -p “/” admin “." ".” “.*”
/etc/init.d/iptables stop
service iptables stop
chkconfig iptables off
#! /bin/bash
#install cmake
wget http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz
tar -zxvf cmake-2.8.10.2.tar.gz
cd cmake-2.8.10.2
./bootstrap
gmake
gmake install
#install openssl popt xmlto doxygen openssl-devel
yum install -y openssl popt xmlto doxygen openssl-devel
export PATH=/usr/local/openssl/bin:$PATH
#install rabbitmq-c
cd …/rabbitmq
mkdir build && cd build
cmake …
cmake --build .
RabbitMQ从入门到精通----环境安装
编译rabbitmq-c client
一、步骤
#! /bin/bash
cd /home/rise/ee
wget https://github.com/alanxz/rabbitmq-c.git
https://github.com/alanxz/rabbitmq-c?spm=5176.100239.blogcont41770.3.BBq7q6
wget https://github.com/rabbitmq/rabbitmq-codegen.git
https://github.com/rabbitmq/rabbitmq-codegen?spm=5176.100239.blogcont41770.4.BBq7q6
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。