CentOS下安装ZeroMQ

来源:互联网 发布:网络连接状态未知 编辑:程序博客网 时间:2024/05/17 18:25

翻译自:此处

环境:CentOS 7 x64

步骤:

1.升级系统默认工具:

yum -y update

2.下载从源代码安装的附加工具:

yum install -y uuid-develyum install -y pkgconfigyum install -y libtoolyum install -y gcc-c++

3.安装libsodium(ZeroMQ的依赖)

github下载最新包:https://github.com/jedisct1/libsodium/releases
解压并控制台进入目录执行:

./configure --without-libsodiummakesudo make installecho /usr/local/lib > /etc/ld.so.conf.d/local.confldconfig    
原创粉丝点击