centos - 如何方便的在linux上分发Redis
黄舟
黄舟 2017-04-17 11:29:00
0
3
382

公司的一个项目用到了Redis需要部署到客户那边,以前只用过Ubuntu,GentooFedora这种个人发行版。但是客户环境可能用的是RHEL或者CentOS,这两个版本是不是默认没装gcc,make等工具?有没有什么源可以直接安装Redis?如果客户那边不能连接外网有没有打好的或者如何打成RPM包?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(3)
洪涛

If customers cannot install it themselves, then like many commercial software, redis and the various libraries it depends on are packaged and thrown to customers. Generally, you need to use a wrapper script to set LD_LIBRARY_PATH or the like. You can also statically link a redis (this only depends on the kernel and CPU).

I just took a look and found that redis has very few library dependencies. However, it is still a headache if the glibc version does not meet the requirements. Just link it statically.

Peter_Zhu

Redis seems to be a green software, you can just decompress it and use it

伊谢尔伦

If it is an RH system, it can be made into an RPM package.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template