In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, Xiaobian will bring you about Linux how to check whether redis is started. The article is rich in content and analyzed and described from a professional perspective. After reading this article, I hope you can gain something.
Redis is a key-value storage system. Similar to Memcached, it supports a relatively large number of stored value types, including string, list, set, zset, and hash. These data types all support push/pop, add/remove, and take intersection union and subtraction, as well as richer operations, all of which are atomic. On this basis, redis supports a variety of different ways of sorting. As with memcached, data is cached in memory for efficiency. The difference is that redis periodically writes updated data to disk or changes to additional log files, and on this basis achieves master-slave synchronization.
make
make PREFIX=/usr/local/redis install
mkdir /etc/redis/
cp redis.conf /etc/redis/
Open the redis.conf file and modify daemonize yes to run in the background
vim /etc/redis/redis.conf
Start redis service using configuration file
./ redis-server /etc/redis/redis.conf
Use ps to view or netstat
ps aux | grep redis-server
netstat -tunple | grep 6379
The above is how to check whether redis is started for linux shared by Xiaobian. If there is a similar doubt, please refer to the above analysis for understanding. If you want to know more about it, please pay attention to the industry information channel.
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.