Please select the data directory for this instance Selected default - /var/ lib / redis / 6379 Please select the redis executable path Selected config : Port : 6379 Config file : /etc/ redis / nf Log file : /var/ log / redis_6379. Please select the redis port for this instance : Selecting default : 6379 Please select the redis config file name Selected default - /etc/ redis / nf Please select the redis log file name Selected default - /var/ log / redis_6379. This script will help you easily set up a running redis server Given below is reference from our server. When you hit only ENTER, the system will take default value or answer. We have to change to utils directory and run the install_server.sh script.
Inside the directory you will see utils directory. I hope you are still inside the Redis installation Directory. You can use this method in CentOS 7/ RHEL 7 / Ubuntu 14.04. In this section we will install init script to manage the process of Redis. In next section we will install init script. The redis server is installed only with binaries in your system. Means go back to Redis installation directory.
For this you have to change to one level back. Once the dependencies are compiled, now start compiling the redis. Now compiling the dependencies of Redis, available inside extracted out redis directory. Now you will do most of the command activity inside redis package directory ( i.e redis-3.0.2) cd redis - 3.0. In our case, we got directory with name called redis-3.0.2. Once you extract the Redis Package from tarball, you will get the Redis directory. Use the tar command to extract out the Redis from the downloaded tarball file. We recommend you to always install stable release, which you can search in Redis Download URL wget http : ///releases/redis-3.0.2.tar.gz Untar downloaded Redis Tar ball Use wget command to download the stable release Redis 3.0.2. Whereas, we are installing wget for downloading the redis source package. Make and GCC packages are used for compiling the source package.