Generally no longer decompression under / usr / local /, extract it from the other directory, then copied to / usr / local / under
Decompression: tar zxvf redis- 5.0 . 5 .tar.gz
Mobile: Music Videos redis- 5.0 . . 5 / usr / local /
If permission problems
mv: rename redis-5.0.5 to /usr/local/redis-5.0.5: Permission denied
cd-repeat 5.0.5
chmod a+wx ./
Or not, used to operate like sudo sudo Redis Music Videos - 5.0 . . 5 / usr / local /
Compile the test
sudo make test
ps: There may be a problem, check a blog saying that the test does not affect the normal compiler compiler, not ignore it, directly translated, it can be used.
Compile and install
sudo make install
OK, you can use .
Here compiled, the directory structure appears the feeling of what it changes, do not need him, is like this, to be used after installation in order to compile appear / usr / local / bin, you can go to view,
Can to get under Redis src can also be seen. They can be used.
redis a file: README.md
Here can be read, after explaining the operation of the installation can be simple in structure.
Unzip command: https://www.cnblogs.com/lhm166/articles/6604852.html
redis installation: https://www.cnblogs.com/feijl/p/6879929.html