问题描述
如何给离线麒麟操作系统安装RabbitMQ
解决方案:
1.确认麒麟操作系统版本
#nkvers
2.下载openssl相关包
openssl-1.1.1f-15.p23.ky10.x86_64.rpm
openssl-help-1.1.1f-15.p23.ky10.noarch.rpm
openssl-libs-1.1.1f-15.p23.ky10.x86_64.rpm
下载地址https://update.cs2c.com.cn/NS/V10/
3 .下载erl相关包
erlang-asn1-21.3.3-4.ky10.x86_64.rpm
erlang-compiler-21.3.3-4.ky10.x86_64.rpm
erlang-crypto-21.3.3-4.ky10.x86_64.rpm
erlang-eldap-21.3.3-4.ky10.x86_64.rpm
erlang-erts-21.3.3-4.ky10.x86_64.rpm
erlang-hipe-21.3.3-4.ky10.x86_64.rpm
erlang-inets-21.3.3-4.ky10.x86_64.rpm
erlang-kernel-21.3.3-4.ky10.x86_64.rpm
erlang-mnesia-21.3.3-4.ky10.x86_64.rpm
erlang-os_mon-21.3.3-4.ky10.x86_64.rpm
erlang-otp_mibs-21.3.3-4.ky10.x86_64.rpm
erlang-public_key-21.3.3-4.ky10.x86_64.rpm
erlang-runtime_tools-21.3.3-4.ky10.x86_64.rpm
erlang-sasl-21.3.3-4.ky10.x86_64.rpm
erlang-snmp-21.3.3-4.ky10.x86_64.rpm
erlang-ssl-21.3.3-4.ky10.x86_64.rpm
erlang-stdlib-21.3.3-4.ky10.x86_64.rpm
erlang-syntax_tools-21.3.3-4.ky10.x86_64.rpm
erlang-tools-21.3.3-4.ky10.x86_64.rpm
erlang-xmerl-21.3.3-4.ky10.x86_64.rpm
erlang-sd_notify-1.0-1.ky10.x86_64.rpm (这个包在base目录下,其他包在updates目录下)
emacs-filesystem-27.1-6.p01.ky10.noarch.rpm (若已经安装,无需下载)
lksctp-tools-1.0.18-1.ky10.x86_64.rpm (若已经安装,无需下载)
4.下载RabbitMQ相关包
rabbitmq-server-3.7.23-1.ky10.x86_64.rpm
5.安装openssl
操作系统如果已经安装openssl,需要升级下openssl
#rpm -ivh openssl-libs-1.1.1f-15.p23.ky10.x86_64.rpm --forcle
#rpm -ivh openssl-help-1.1.1f-15.p23.ky10.noarch.rpm --forcle
#rpm -ivh openssl-1.1.1f-15.p23.ky10.x86_64.rpm --forcle
6.安装erl
cd 到erl包所在的目录
#yum install -y erl*
7.安装RabbitMQ
#rpm -ivh
rabbitmq-server-3.7.23-1.ky10.x86_64.rpm
8.开机自启动
#systemctl enable rabbitmq-server
9.开启
#systemctl start rabbitmq-server
10.检查状态
#systemctl status rabbitmq-server
版权归原作者 沉默的暴风 所有, 如有侵权,请联系我们删除。