In the ubuntu 12.04 server version
check system:
uname -a
</step01>
sudo apt-get update
check latest version of zeromq:
please visit: http://zeromq.org/area:download
</step03>
wget http://download.zeromq.org/zeromq-4.0.5.tar.gzYou will see:
</step04>
apt-get install libtool autoconf automakeYou are maybe see those:
</step05>
apt-get install uuid-dev g++You are maybe see those:
</step06>
apt-get install python-devYou are maybe see those:
</step07>
check your download target:
</step08>
unpack package:
tar -zxvf zeromq-4.0.5.tar.gz You will see those:
</step09>
easy_install pyzmq
but ..I got a bug here:
when I run the line of code below:
It's show me I have a error:
</step10>
rm /var/lib/apt/lists/* -vfapt-get update
I got those tips:
Okay,I don'y care it ..keep going ..
run</step05>
run</step06>
run</step09>
</step11>
./configuremakemake installldconfig</step12>
pip install pyzmqor
easy_install pip
error: Setup script exited with error: command 'gcc' failed with exit status 1
I gotta fix this error:
so i run:
apt-get install python-devbut i got another error again:
so fix it is first ..
apt-get --fix-broken installapt-get install python-devYou will see those:
</step13>
easy_install pyzmq
You will see those:
</step14>
Testing:
python -c "import zmq"You will see those:
Ref:
http://www.cnblogs.com/xiazh/archive/2012/07/31/2616474.html
http://blog.sina.com.cn/s/blog_4980828b0100zicn.html
http://zeromq.org/area:download
http://www.linuxidc.com/Linux/2011-07/38496.htm

本文详细介绍了如何在Ubuntu 12.04服务器上安装并配置ZeroMQ,包括更新系统、下载最新版本、安装依赖、解压包、配置、编译和安装等步骤,并解决在安装过程中遇到的问题。

3665

被折叠的 条评论
为什么被折叠?



