文档
http://www.rabbitmq.com/install-rpm.html
安装前置条件
Before installing RabbitMQ, you must install Erlang.
下载RabbitMQ 提供的 erlang-17.4-1.el6.x86_64.rpm 比其他三种方式简单
下载otp_src_18.0.tar.gz.td 从www.erlang.org 官网下载
下载rabbitmq-key.asc 签名文件
下载 rabbitmq-server-3.5.4-1.noarch.rpm 操作系统相应版本
安装
Install RabbitMQ Server
With rpm and Downloaded RPM
安装服务器 ,使用rpm命令 和 已下载的RPM文件。
第一步:su root
yum -h
usage: yum [options] COMMAND List of Commands: check-update Check for available package updates clean Remove cached data deplist List a package's dependencies downgrade downgrade a package erase Remove a package or packages from your system groupinfo Display details about a package group groupinstall Install the packages in a group on your system grouplist List available package groups groupremove Remove the packages in a group from your system help Display a helpful usage message info Display details about a package or group of packages info-security Returns security data for the packages listed, that affects your system install Install a package or packages on your system list List a package or groups of packages list-security Returns security data for the packages listed, that affects your system localinstall Install a local RPM makecache Generate the metadata cache provides Find what package provides the given value reinstall reinstall a package repolist Display the configured software repositories resolvedep Determine which package provides the given dependency search Search package details for the given string shell Run an interactive yum shell update Update a package or packages on your system update-minimal Works like update, but goes to the 'newest' package match which fixes a problem that affects your system upgrade Update packages taking obsoletes into account options: -h, --help show this help message and exit -t, --tolerant be tolerant of errors -C run entirely from cache, don't update cache -c [config file] config file location -R [minutes] maximum command wait time -d [debug level] debugging output level --showduplicates show duplicates, in repos, in list/search commands -e [error level] error output level -q, --quiet quiet operation -v, --verbose verbose operation -y answer yes for all questions --version show Yum version and exit --installroot=[path] set install root --enablerepo=[repo] enable one or more repositories (wildcards allowed) --disablerepo=[repo] disable one or more repositories (wildcards allowed) -x [package], --exclude=[package] exclude package(s) by name or glob --disableexcludes=[repo] disable exclude from main, for a repo or for everything --obsoletes enable obsoletes processing during updates --noplugins disable Yum plugins --nogpgcheck disable gpg signature checking --disableplugin=[plugin] disable plugins by name --enableplugin=[plugin] enable plugins by name --skip-broken skip packages with depsolving problems --color=COLOR control whether color is used --security Include security relevant packages --cve=CVE Include packages needed to fix the given CVE --bz=BZ Include packages needed to fix the given BZ --advisory=ADVISORY Include packages needed to fix the given advisory