In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Download, compile and install
Cd / usr/src
Wget http://download.redis.io/releases/redis-3.2.3.tar.gz
Tar-xf redis-3.2.3.tar.gz
Cd redis-3.2.3
Make & & make install
two。 Create a redis node
Mkdir-p / redis_node_test/ {6382 pint 6384}
Cp / usr/src/redis-3.2.3/redis.conf / redis_node_test/6382
Vim / redis_node_test/6382/redis.conf
Daemonize yes / / redis running in the background
Pidfile / var/run/redis_6382.pid / / pidfile file corresponds to 6382
Port 6382 / / Port
Appendonly yes / / aof log is enabled if necessary. It records a log for each write operation.
Redis-server / redis_node_test/6382/redis.conf / / start the redis node process
Ps-ef | grep redis
Root 20961 1 0 09:46? 00:00:00 redis-server 127.0.0.1:6382
Redis-cli-p 6382 / / redis client logs in to redis instance
127.0.0.1Plus 6382 > / / the appearance of this interface indicates a successful login
127.0.0.1 purl 6382 > set name wang
OK
127.0.0.1 purl 6382 > get name
"wang"
Redis-cli-p 6382 shutdown / / shut down the redis process
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.