Previously installed under Windows, this time install under Linux.
Installation is very simple, after all, the front mounted tomcat and JDK, this time is quite simple.
The first installation step here is not much to say, that is, to copy the files in, and then lose a few commands things.
Primarily Redis requires GCC and TCL environments, both of which can be used
Yum Install Tcl
Yum Install GCC
These two commands are more convenient to install.
Before you install Redis, use the Make Test command to detect if the current environment is suitable for redis installation, and nothing will tell you.
The following are the sites referenced during the installation process
Http://www.cnblogs.com/_popc/p/3684835.html
http://blog.csdn.net/testcs_dn/article/details/39756477
Then after the installation is done, there is no other display, that is, a smiley face ...
Then the main problem is the configuration of Redis.
One of the things I learned this time is that you can configure the command alias in an environment variable, so that you can use this command directly to control Redis or other applications on the outside.
There is the Redis configuration, how to start the service in the background, how to modify the memory time and so on. You can use it later.
Refer to the following URL:
Http://www.cnblogs.com/yjmyzz/p/4105056.html
The inside of the configuration is really special to force, many are very practical.
Configuring Redis under Linux