Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7774632
  • 博文数量: 701
  • 博客积分: 2150
  • 博客等级: 上尉
  • 技术积分: 13233
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-29 16:28
个人简介

天行健,君子以自强不息!

文章分类

全部博文(701)

文章存档

2019年(2)

2018年(12)

2017年(76)

2016年(120)

2015年(178)

2014年(129)

2013年(123)

2012年(61)

分类: 云计算

2017-11-30 20:23:47

1. GCC升级与安装
yum -y install gcc+ gcc-c++


2. boost安装
wget
mkdir boost_install
tar -zxvf boost_1_65_1.tar.gz 
cd boost_1_65_1
./bootstrap.sh --prefix=/opt/DEV_gearman/gearman-cpp/boost/boost_install/
./b2 install




3. gearman安装
yum install -y boost-devel gperf libevent-devel libuuid-devel
wget
tar -zxvf gearmand-1.1.12.tar.gz 
cd gearmand-1.1.12
./configure --prefix=/opt/DEV_gearman/gearman-cpp/gearmand-install/ --with-boost=/opt/DEV_gearman/gearman-cpp/boost/boost_install/ --with-boost-libdir=/opt/DEV_gearman/gearman-cpp/boost/boost_install/lib/
make
make install

阅读(1291) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~