redis 主从同步配置以及redis+keeplived高可用架构
2014-12-18 10:13
344 查看
问题显现
配置 php参数时
> --with-jpeg-dir \
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub failed
[root@LKWLinux php-5.4.44]#
之后make时
[root@LKWLinux php-5.4.44]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
[root@LKWLinux php-5.4.44]#
google后找到答案
把配置参数分段配置进去后 具体报错就是 包含“checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found”
google后 找到解决方法 yum install db4-devel 参考 http://lyp.cn/350_how-to-fix-php-compile-errors
再次配置参数 又出现新的错误configure error mcrypt.h not found. please reinstall libmcrypt. centos
yum安装libmcrypt-devel 是找不到安装包的 # yum install libmcrypt-devel
...
No package libmcrypt-devel available.
Error: Nothing to do
继续google 在此页找到答案https://ma.ttias.be/rhel-6-and-centos-6-missing-libmcrypt-and-libmhash-in-default-repository/
按照方法去网站找到对应64位包
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
然后再yum install libmcrypt-devel ok了
然后再次 ./configure \ 没有报错
make也正常
yum install -y libjpeg libjpeg-devel
本文出自 “Kevin's Blog” 博客,请务必保留此出处http://kevinslee.blog.51cto.com/2353185/1710304
配置 php参数时
> --with-jpeg-dir \
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub failed
[root@LKWLinux php-5.4.44]#
之后make时
[root@LKWLinux php-5.4.44]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
[root@LKWLinux php-5.4.44]#
google后找到答案
把配置参数分段配置进去后 具体报错就是 包含“checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found”
google后 找到解决方法 yum install db4-devel 参考 http://lyp.cn/350_how-to-fix-php-compile-errors
再次配置参数 又出现新的错误configure error mcrypt.h not found. please reinstall libmcrypt. centos
yum安装libmcrypt-devel 是找不到安装包的 # yum install libmcrypt-devel
...
No package libmcrypt-devel available.
Error: Nothing to do
继续google 在此页找到答案https://ma.ttias.be/rhel-6-and-centos-6-missing-libmcrypt-and-libmhash-in-default-repository/
按照方法去网站找到对应64位包
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
然后再yum install libmcrypt-devel ok了
然后再次 ./configure \ 没有报错
make也正常
yum install -y libjpeg libjpeg-devel
本文出自 “Kevin's Blog” 博客,请务必保留此出处http://kevinslee.blog.51cto.com/2353185/1710304
相关文章推荐
- 分布式架构学习之:029--Redis3集群的安装、配置、高可用测试
- Redis+Keeplived实现高可用
- haproxy负载均衡的配置,以及haproxy+keeplived
- 分布式架构学习之:Redis3集群的Linux安装、配置、高可用测试
- Nginx反向代理Tomcat实现现负载均衡(高可用)以及利用redis+Session同步会话共享配置详解
- Debian纯手动安装redis2.6.13,以及详细配置介绍,个人实战版
- linux redis 安装配置, 以及redis php扩展
- LVS+keeplived+nginx+tomcat高可用、高性能jsp集群
- (转载)redis(主从同步)配置指南
- LVS+keeplived+nginx+tomcat高可用、高性能jsp集群
- 高可用集群之heartbeat配置,实现web服务的高可用以及Mariadb高可用 推荐
- php文件上传系统架构配置以及上传大文件修改
- LVS+keeplived+nginx+tomcat配置
- LVS+keeplived+nginx+apache搭建高可用、高性能php集群
- 高可用集群(HA)之Keeplived原理+配置过程
- linux redis 安装配置, 以及redis php扩展
- mysql dba系统学习(19)配置mysql+lvs+keeplived实现Mysql读操作的负载均衡
- LVS+keeplived+nginx+tomcat配置
- LVS+keeplived+nginx+apache搭建高可用、高性能php集群
- Redis主从复制配置以及容灾测试