Sesame HTTP: Installation of RedisDump

RedisDump is a tool for importing/exporting Redis data. It is based on Ruby, so to install RedisDump, you need to install Ruby first.

1. Related Links

2. Install Ruby

For the installation method of Ruby, please refer to http://www.ruby-lang.org/zh_cn/documentation/installation . The installation methods of all platforms are listed here, and the appropriate installation method can be selected according to the corresponding platform.

3.  gemInstallation

Once installed, you can execute gemcommands, which are similar to commands in Python pip. Using the gemcommand, we can install RedisDump as follows:

pip3 install scrapy-redis

After the execution is complete, the installation of RedisDump can be completed.

4. Verify the installation

After the installation is successful, you can execute the following two commands:

redis-dump
redis-load

If it can be called successfully, it proves that the installation was successful.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325354617&siteId=291194637