To understand the Redis Event Model, take the following steps:
- Untar the source code package of Redis and build some required dependencies manually rather than using CMake:
~$ mkdir coding; cd coding ~/coding$ tar xzvf redis-4.0.1.tar.gz ~/coding$ cd redis-4.0.1/deps/ ~/coding/redis-4.0.1/deps$ make lua linenoise hiredis
The following screenshot indicates the dependencies have been built successfully:
- Download the CLion IDE and untar the package to /redis/coding/:
~/coding$ wget https://download.jetbrains.8686c.com/cpp/CLion-2017.2.2.tar.gz ~/coding$ tar zxvf CLion-2017.2.2.tar.gz
- Download the demo program package for ...