In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install erlang&rabbitmq in Centos 6.4. it is very detailed and has a certain reference value. Friends who are interested must finish it!
1. Install erlang
1.1 for preparation, install the dependent library first
Yum-y install make gcc gcc-c++ kernel-devel M4 ncurses-devel openssl-devel yum install ncurses-devel
1.2 download erlang source code
Wget http://www.erlang.org/download/otp_src_R16B02.tar.gzcp otp_src_R16B02.tar.gz / usr/src/otp_src_R16B02.tar.gzcd / usr/srctar-xzvf otp_src_R16B02.tar.gz mv otp_src_R16B02 erlang_R16B
1.3 compilation and installation
Cd erlang_R16B/. / configure-- prefix=/usr/local/erlang-- with-ssl-- enable-threads-- enable-smp-support-- enable-kernel-poll-- enable-hipe-- without-javac / / do not compile without java, so remove java to avoid errors make & & make install / / install after compilation
1.4 configure environment variables
Vi / etc/profile ERL_HOME=/usr/local/erlang export PATH=$PATH:$ERL_HOME/bin
2 install rabbitmq
2.1 download
Wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.5/rabbitmq-server-3.1.5.tar.gz cp rabbitmq-server-3.1.5.tar.gz / usr/srccd / usr/srctar-xzvf rabbitmq-server-3.1.5.tar.gz
2.2 install dependent libraries
Yum-y install xmlto
Otherwise, it will compile and fail:
/ bin/sh: line 1: xmlto: command not found
2.3 compilation
Cd rabbitmq-server-3.1.5 make make install TARGET_DIR=/usr/local/rabbitmq SBIN_DIR=/usr/local/rabbitmq/sbin MAN_DIR=/usr/local/rabbitmq/man / / compile rabbitmq to the / opt/mq/rabbitmq directory
2.4 install the web plug-in management interface
Cd / usr/local/rabbitmq/sbin mkdir / etc/rabbitmq/. / rabbitmq-plugins enable rabbitmq_management
View a list of plug-ins
. / rabbitmq-plugins list
2.5 Common commands
Start rabbitmq
. / rabbitmq-server-detached
Enter http://127.0.0.1:15672/ on the browser to log in to the administrative interface.
Using the login name and password is guest by default.
Close rabbitmq
. / rabbitmqctl stop above is all the contents of the article "how to install erlang&rabbitmq in Centos 6.4.Thank you for reading!" Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.