In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Redis introduction:
Redis is one of the most popular NOSQL systems, and it is a key-value storage system. Similar to Memcached, but largely compensating for the shortcomings of memcached, it supports relatively more value types of storage, including string, list, set, zset, and hash. These data types support push/pop, add/remove, and take intersection union and difference sets and richer operations. On this basis, redis supports a variety of different sorting methods. Redis data is cached in computer memory, and will periodically write updated data to disk or modify operations to additional record files.
Download: http://download.redis.io/releases/redis-2.8.10.tar.gz
Wget http://download.redis.io/releases/redis-2.8.10.tar.gz
Tar zxvf http://download.redis.io/releases/redis-2.8.10.tar.gz
Cd redis-2.8.10
Make
Ls src # compiles several command files at this time
Make PREFIX=path install # can install related command files to a specified path path, such as / usr/local/redis
Cp redis.conf / etc/
Vi / etc/redis.conf
Daemonize no = > daemonize yes # modify the redis configuration file and open yes
/ usr/local/redis/bin/redis-server / etc/redis.conf # launch redis
Netstat-ant | grep 6379 # View port. Default is 6379.
/ usr/local/redis/bin/redis-cli ping # Test redis and return PONG
[root@localhost redis-2.8.10] # / usr/local/redis/bin/redis-cli # client test
127.0.0.1 set kin 6379 > 1
OK
127.0.0.1 purl 6379 > get kin
"1"
127.0.0.1 purl 6379 > quit
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.