Toggle navigation
Home
安装部署
Archives
Tags
RabbitMQ Installation
环境搭建
2019-05-06 06:51:53
35
0
0
louyj
环境搭建
# Install the Server Install a recent version of Erlang. yum install erlang Download rabbitmq-server-generic-unix-3.6.5.tar.xz from the link below. Contained in the tarball is a directory named rabbitmq_server-3.6.5. You should extract this into somewhere appropriate for application binaries on your system. The sbin directory will be found in this directory. wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.5/rabbitmq-server-generic-unix-3.6.5.tar.xz tar Jxvf rabbitmq-server-generic-unix-3.6.5.tar.xz mv rabbitmq_server-3.6.5/ /xxx/rabbitmq # Run RabbitMQ Server ## Start the Server sbin/rabbitmq-server This displays a short banner message, concluding with the message "completed with [n] plugins.", indicating that the RabbitMQ broker has been started successfully. rabbitmq-server -detached You can also start the server in "detached" mode with rabbitmq-server -detached, in which case the server process runs in the `background`. ## Configure the Server You can customise the RabbitMQ environment by setting environment variables in `$RABBITMQ_HOME/etc/rabbitmq/rabbitmq-env.conf`. Server components may be configured, too, in the RabbitMQ configuration file located at `$RABBITMQ_HOME/etc/rabbitmq/rabbitmq.config`. Neither of these files exist after installation. # Port Access SELinux and similar mechanisms may prevent RabbitMQ from binding to a port. When that happens, RabbitMQ will fail to start. Make sure the following ports can be opened: - 4369 (epmd), 25672 (Erlang distribution) - 5672, 5671 (AMQP 0-9-1 without and with TLS) - 15672 (if management plugin is enabled) - 61613, 61614 (if STOMP is enabled) - 1883, 8883 (if MQTT is enabled) # Default user access The broker creates a user guest with password guest. Unconfigured clients will in general use these credentials. By default, these credentials can only be used when connecting to the broker as localhost so you will need to take action before connecting from any other machine.
Pre:
ActiveMQ Installation
Next:
OwnCloud with Memory Cache
0
likes
35
Weibo
Wechat
Tencent Weibo
QQ Zone
RenRen
Submit
Sign in
to leave a comment.
No Leanote account?
Sign up now.
0
comments
More...
Table of content
No Leanote account? Sign up now.