[Python3 网络爬虫开发实战] 1.5.4-RedisDump 的安装 | 珊瑚贝

RedisDump 是一个用于 Redis 数据导入 / 导出的工具,是基于 Ruby 实现的,所以要安装 RedisDump,需要先安装 Ruby。

1. 相关链接

2. 安装 Ruby

有关 Ruby 的安装方式可以参考 http://www.ruby-lang.org/zh_cn/documentation/installation,这里列出了所有平台的安装方式,可以根据对应的平台选用合适的安装方式。

3. gem 安装

安装完成之后,就可以执行 gem 命令了,它类似于 Python 中的 pip 命令。利用 gem 命令,我们可以安装 RedisDump,具体如下:

1
gem install redis-dump

执行完毕之后,即可完成 RedisDump 的安装。

4. 验证安装

安装成功后,就可以执行如下两个命令:

1
2
redis-dump
redis-load

如果可以成功调用,则证明安装成功。

来源:https://cuiqingcai.com/5236.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_11507.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?