rhel 6.4 X64 gearman 1.1.8安装过程说明

本文涉及的产品
云数据库 RDS MySQL Serverless,0.5-2RCU 50GB
简介:

一、安装过程


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

相关实践学习
基于CentOS快速搭建LAMP环境
本教程介绍如何搭建LAMP环境,其中LAMP分别代表Linux、Apache、MySQL和PHP。
全面了解阿里云能为你做什么
阿里云在全球各地部署高效节能的绿色数据中心,利用清洁计算为万物互联的新世界提供源源不断的能源动力,目前开服的区域包括中国(华北、华东、华南、香港)、新加坡、美国(美东、美西)、欧洲、中东、澳大利亚、日本。目前阿里云的产品涵盖弹性计算、数据库、存储与CDN、分析与搜索、云通信、网络、管理与监控、应用服务、互联网中间件、移动服务、视频服务等。通过本课程,来了解阿里云能够为你的业务带来哪些帮助     相关的阿里云产品:云服务器ECS 云服务器 ECS(Elastic Compute Service)是一种弹性可伸缩的计算服务,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。产品详情: https://www.aliyun.com/product/ecs
相关文章
|
存储 安全 关系型数据库
CentOS7 如何离线安装PostgreSQL数据库
如果CentOS所在的服务器限于安全原因,客户并未给我们配置访问外网的权限,那么如何安装PostgreSQL数据库呢?本文将通过具体步骤来详细讲解如何在CentOS7 系统上离线安装PostgreSQL12数据库。
3331 0
CentOS7 如何离线安装PostgreSQL数据库
|
4月前
|
运维 安全 Linux
Linux|编译最新版的openssh-server-9.3的rpm包(一)
Linux|编译最新版的openssh-server-9.3的rpm包(一)
128 0
|
7月前
|
监控 Ubuntu Linux
如何在 Ubuntu 上安装 Nagios?
Nagios 允许您使用提供实时状态数据的插件来监控主机(可以是物理机或虚拟机)以及 HTTP、SSH 和 SMTP 等服务。
114 1
|
Ubuntu
UBUNTU上安装OPENSIPS
UBUNTU上安装OPENSIPS
213 0
|
分布式计算 Java Maven
在centos7下编译ambari 2.7
安装docker虚拟化工具,与配套的weave等网络工具,其中weave建议放置于/usr/bin下,避免使用sudo权限运行时提示找不到命令
387 0
在centos7下编译ambari 2.7
|
NoSQL Linux Redis
Centos7安装Openvas(GVM-10)
主要介绍GVM-10在CentOS 7 64位系统上的安装过程,以及安装和使用过程中一些问题的解决,包括端口修改、用户操作、报告PDF等问题的解决方法
3597 0
|
Linux 关系型数据库 Oracle
foreman ubuntu16快速安装
Quickstart Guide The Foreman installer is a collection of Puppet modules that installs everything required for a full working Foreman setup.
971 0
|
监控 Ubuntu Apache
ubuntu16.04安装配置nagios
参考博文:https://www.howtoing.com/ubuntu-nagios/ 该博文真实有效可供参考,按照步骤,基本可以成功 一.安装的先决条件 sudo apt-get install wget build-essential apache2 php apache2-mod-php7.
1905 0
|
关系型数据库 MySQL
wsl install lamp
sudo apt-get update sudo apt-get install lamp-server^   /etc/init.d/apache2 start /etc/init.d/mysql start   sudo apt-get -y install mysql-client mysql-server sudo apt-get -y install php7.
1780 0
|
Ubuntu 数据安全/隐私保护 Linux