前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Keepalived 实现 Redis AutoFailover (RedisHA)3

Keepalived 实现 Redis AutoFailover (RedisHA)3

作者头像
franket
发布2022-06-26 20:05:36
2150
发布2022-06-26 20:05:36
举报
文章被收录于专栏:技术杂记

make3: gcc: Command not found 此问题是没有安装 gcc 导致的

解决办法安装 gcc

root@temp redis-3.0.4# rpm -qa | grep gcc

libgcc-4.4.7-11.el6.x86_64

root@temp redis-3.0.4# yum -y install gcc

Loaded plugins: fastestmirror, refresh-packagekit, security

Setting up Install Process

Repository base is listed more than once in the configuration

Determining fastest mirrors

  • extras: mirrors.opencas.cn
  • updates: mirror.bit.edu.cn base | 4.0 kB 00:00 ... extras | 3.4 kB 00:00undefinedextras/primary_db | 32 kB 00:00undefinedpercona-release-noarch | 951 B 00:00undefinedpercona-release-noarch/primary | 5.0 kB 00:00undefinedpercona-release-noarch 33/33 percona-release-x86_64 | 951 B 00:00undefinedpercona-release-x86_64/primary | 181 kB 00:01undefinedpercona-release-x86_64 611/611 updates | 3.4 kB 00:00undefinedupdates/primary_db | 1.9 MB 00:01undefinedResolving Dependencies --> Running transaction check ---> Package gcc.x86_64 0:4.4.7-11.el6 will be installed --> Processing Dependency: cpp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64 ... ... ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed --> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================

Package Arch Version Repository Size

======================================================================================================================================

Installing:

gcc x86_64 4.4.7-11.el6 base 10 M

Installing for dependencies:

cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k

cpp x86_64 4.4.7-11.el6 base 3.7 M

mpfr x86_64 2.4.1-6.el6 base 157 k

ppl x86_64 0.10.2-11.el6 base 1.3 M

Transaction Summary

======================================================================================================================================

Install 5 Package(s)

Total download size: 15 M

Installed size: 33 M

Downloading Packages:


Total 13 MB/s | 15 MB 00:01

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

...

...

Installed:

gcc.x86_64 0:4.4.7-11.el6

Dependency Installed:

cloog-ppl.x86_64 0:0.15.7-1.2.el6 cpp.x86_64 0:4.4.7-11.el6 mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6

Complete!

root@temp redis-3.0.4#

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
云数据库 Redis®
腾讯云数据库 Redis®(TencentDB for Redis®)是腾讯云打造的兼容 Redis 协议的缓存和存储服务。丰富的数据结构能帮助您完成不同类型的业务场景开发。支持主从热备,提供自动容灾切换、数据备份、故障迁移、实例监控、在线扩容、数据回档等全套的数据库服务。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档