This is day-57 since I learned Java and also the 1st day I start to learn about Redis. I am very excited as it’s a must to learn and seems to be very interesting.Anyway, I would like to record the problems I met during the study and hope this can help me understand easily, more importantly——I never prefer to learning again as time is too tight for me.So ,let’s start.
Installation
- Firstly to check if we intall redis already,execute the command:
redis-cli
#如果报zsh: command not found: redis-cli,代表没有安装redis
拓展:Zsh(Z-shell)是一款用于交互式使用的shell,也可以作为脚本解释器来使用。其包含了 bash,ksh,tcsh 等其他shell中许多优秀功能,也拥有诸多自身特色。从 macOS Catalina 版开始,其默认shell从bash改为zsh。
After installation of HomeBrew——BREW.SH , we can search the version of redis to install: