問題:
I have a Linux server with Redis installed and I want to connect to it via command line from my local Linux machine.我有一個安裝了 Redis 的 Linux 服務器,我想從我的本地 Linux 機器通過命令行連接到它。
Is it possible to install redis-cli
only (without redis-server
and other tools)?是否可以只安裝redis-cli
(沒有redis-server
和其他工具)?
If I just copy redis-cli
file to my local machine and run it, I have the following error:如果我只是將redis-cli
文件複製到本地機器並運行它,則會出現以下錯誤:
./redis-cli: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./redis-cli)
解決方案:
參考一: https://en.stackoom.com/question/1TRxk參考二: https://stackoom.com/question/1TRxk