Download, Unzip, rename, and compile and install Redis
wget http://download.redis.io/releases/redis-3.0.5.tar.gz tar xzf redis-3.0.5.tar.gzmv redis-3.0.5 REDISCD Redismakemake Testmake Install
configuration file redis.conf
The Redis unzip directory has a profile redis.conf, edit this configuration file, and locate dir./This line. Redis writes the In-memory data to a file, and this configuration is the path to the specified data file save. The directory I specified for this machine is:
dir/users/jackiehff/soft/redis_data/
After editing, move the configuration file to the/etc directory
sudo mv Redis.conf/etc
Start Redis
Terminal input:
/usr/local/bin/redis-server/etc/redis.conf
Service Start Success screen:
Test Connectivity
Cd/usr/local/bin./redis-cli127.0.0.1:6379> set Jackiehff hiok127.0.0.1:6379> get Jackiehff "HI"
MAC OS x Installation Redis