rhel 6.4 X64 gearman 1.1.8安装过程说明

本文涉及的产品
云数据库 RDS MySQL,集群系列 2核4GB
推荐场景:
搭建个人博客
RDS MySQL Serverless 基础系列,0.5-2RCU 50GB
RDS MySQL Serverless 高可用系列,价值2615元额度,1个月
简介:

一、安装过程


1.boost


[root@linux Packages]# rpm -ivh boost-1.41.0-11.el6_1.2.x86_64.rpm --nodeps

warning: boost-1.41.0-11.el6_1.2.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing...                ########################################### [100%]

  1:boost                  ########################################### [100%]


2.boost-devel


[root@linux Packages]# rpm -ivh boost-devel-1.41.0-11.el6_1.2.x86_64.rpm --nodeps

warning: boost-devel-1.41.0-11.el6_1.2.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing...                ########################################### [100%]

  1:boost-devel            ########################################### [100%]

[root@linux Packages]#


configure: error: cannot find Boost headers version >= 1.39.0


3.gperf-3.0.4


#./configure

# make

# make install


configure: error: could not find gperf





4. libevent-1.4.14b-stable


#./configure

# make

# make install


configure: error: Unable to find libevent



5.mysql-devel

[root@linux Packages]# rpm -ivh mysql-devel-5.1.66-2.el6_3.x86_64.rpm

warning: mysql-devel-5.1.66-2.el6_3.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing...                ########################################### [100%]

  1:mysql-devel            ########################################### [100%]

[root@linux Packages]#


错误:

libgearman-server/plugins/queue/mysql/queue.cc:49:19: error: mysql.h: No such file or directory

libgearman-server/plugins/queue/mysql/queue.cc:50:20: error: errmsg.h: No such file or directory




环境变量配置

vi /etc/profile

export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64:/lib:/lib64:/usr/lib:/usr/lib64


6.gearmand-1.1.8


#./configure

# make

# make install


二、安装测试


1.建立日志目录


# mkdir -p /usr/local/var/log/


2.运行程序


# gearmand -d


3.查看端口


# netstat -antp |grep gearmand

tcp        0      0 0.0.0.0:4730                0.0.0.0:*                   LISTEN      27726/gearmand      

tcp        0      0 :::4730                     :::*                        LISTEN      27726/gearmand      

#  



本文转自 pgmia 51CTO博客,原文链接:http://blog.51cto.com/heyiyi/1334223

相关实践学习
如何快速连接云数据库RDS MySQL
本场景介绍如何通过阿里云数据管理服务DMS快速连接云数据库RDS MySQL,然后进行数据表的CRUD操作。
全面了解阿里云能为你做什么
阿里云在全球各地部署高效节能的绿色数据中心,利用清洁计算为万物互联的新世界提供源源不断的能源动力,目前开服的区域包括中国(华北、华东、华南、香港)、新加坡、美国(美东、美西)、欧洲、中东、澳大利亚、日本。目前阿里云的产品涵盖弹性计算、数据库、存储与CDN、分析与搜索、云通信、网络、管理与监控、应用服务、互联网中间件、移动服务、视频服务等。通过本课程,来了解阿里云能够为你的业务带来哪些帮助     相关的阿里云产品:云服务器ECS 云服务器 ECS(Elastic Compute Service)是一种弹性可伸缩的计算服务,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。产品详情: https://www.aliyun.com/product/ecs
相关文章
|
10月前
|
Linux|编译最新版的openssh-server-9.3的rpm包(一)
Linux|编译最新版的openssh-server-9.3的rpm包(一)
599 0
在centos7下编译ambari 2.7
安装docker虚拟化工具,与配套的weave等网络工具,其中weave建议放置于/usr/bin下,避免使用sudo权限运行时提示找不到命令
459 0
在centos7下编译ambari 2.7
centos7环境下的erlang otp的编译(★firecat推荐★)
centos7环境下的erlang otp的编译(★firecat推荐★)
257 0
foreman ubuntu16快速安装
Quickstart Guide The Foreman installer is a collection of Puppet modules that installs everything required for a full working Foreman setup.
1029 0