失效链接处理 |
Redis安装 PDF 下载
本站整理下载:
相关截图:
主要内容:
Linux 安装
Redis通过rpm离线安装 方法一:
有时需要离线安装redis,所以需要redis离线安装包,不同的centos版本和redis版本,依赖包不同,本例
中,centos: CentOS Linux release 7.0.1406 (Core),Basic Web Server版本,自动下载的redis版本
为3.2.12
rpm_install_redis.sh:
1、检查是否存在redis安装包
2、若未找到redis安装包,则安装epel-release源 3、查询是否存在redis
若出现如下异常,则在/usr/lib/python2.7/site-packages/urlgrabber/grabber.py中1510行左右将elif
errcode in (42, 55, 56) 改为elif errcode == 42 ,然后再次查询
yum -y install gcc-c++ yum -y install epel-release yum install --downloadonly --downloaddir=/work redis rpm -ivh /work/* systemctl start redis echo "Redis Have Installed" redis-cli yum search redis yum -y install epel-release [root@localhost ~]# yum search redis Loaded plugins: fastestmirror, langpacks epel/x86_64/metalink | 6.9 kB 00:00:00 epel | 4.7 kB 00:00:00 epel/x86_64/primary_db FAILED https://mirror.lzu.edu.cn/epel/7/x86_64/repodata/d1d0107c74472c4a2af56fa4436caaf e3c76a57c446b11b54901609d26893a17-primary.sqlite.bz2: [Errno 14] curl#35 - "Cannot communicate securely with peer: no common encryption algorithm(s)." Trying other mirror. Traceback (most recent call last): File "/usr/libexec/urlgrabber-ext-down", line 75, in <module> main() File "/usr/libexec/urlgrabber-ext-down", line 61, in main fo = PyCurlFileObject(opts.url, opts.filename, opts) File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1258, in __init__ self._do_open() File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1589, in _do_open self._do_grab() File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1723, in _do_grab self._do_perform() File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1517, in _do_perform raise KeyboardInterrupt KeyboardInterrupt
|