Tutorial on installing Redis database in Linux system, linuxredis
Install the Redis database in Linux.
1. First put our compressed package under the opt folder. Redis-3.0.4.tar.gz this is my compressed package.
2. decompress the package with the command tar-zxvf.
Tar-zxvf redis-3.0.4.tar.gz // unzip Redis package
3. Use the make command for installation.
If the gcc editor is not installed, this error is usually reported.
Install the gcc editor first.
Yum install gcc-c ++ // if you can access the Internet, // if you do not have a network, you can use an image for installation.
The second make operation still reports an error. The cause may be the influence of some residual files.
Run make distclean and then make.
Make distclean // make //
The installation should be successful now. If the installation is successful, a sentence will appear.
Hint: It's a good idea to run 'make test ';
This means you can use the make Test command for testing.
This indicates that the command is successful. You 'd better not try the make Test command. Because the newly installed Redis is all factory settings.
There is one less TCL plug-in. If you use this command, you will receive an error without the TCL plug-in.
If the test is not performed, run the make install command. The installation is complete.
Download the TCL command:
Wget https://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gzsudo tar-xzvf tcl8.6.1-src.tar.gz-c/usr/local/sudo./configuresudo makesudo make install