Redis downloading the installation package
wget http://download.redis.io/releases/redis-3.2.9.tar.gz
extracting installation package Redis
tar -zxvf redis-3.2.9.tar.gz
mounted
CD-3.2.9 Redis
the make
the src CD
the make the install the PREFIX = / usr / local / redis
move to the installation configuration file directory
CD ../
mkdir / usr / local / redis / etc
Music Videos redis.conf / usr / local / redis / etc
configured to redis backgrounding
vi /usr/local/redis/etc/redis.conf // will daemonize no change yes daemonize
vi /usr/local/redis/etc/redis.conf // requirepass 123 change password 123
open Redis
/ usr / local / Redis / bin / redis-server /usr/local/redis/etc/redis.conf
connected Redis client (which is in the linux environment client, i.e. after the connection, the database can be operated)
./redis-cli -H 127.0. -a -p 6379 0.1 "123"
PING result indicates success
Turn off the firewall
// temporarily closed
systemctl STOP firewalld
// prohibit boot
systemctl disable firewalld
Removed The symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed The symlink / etc / systemd / System / dbus-ORG .fedoraproject.FirewallD1.service.
stop Redis service
./redis-cli -h 127.0.0.1 -p 6379 -a "123 " shutdown
modify redis.conf
can comment out after open external network access, redis default access in the intra-office network
#bind 127.0.0.1
2, under redis windows client viewer
redisclient-win32.x86.1.5.exe, online interface as a direct download, ip input redis services, passwords, port numbers on it to enter the password that is above 123