In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Installation:
1. $tar xzf redis-3.2.9.tar.gz
2. $cd redis-3.2.9
3. $make
2. Cp file:
1 、 mkdir / usr/local/redis-3
2 、 cd redis-3.2.9
3 、 cp redis-server redis-cli / usr/local/redis/
4 、 cp redis.conf / usr/local/redis/
The steps are as follows:
3. Start redis:
1. Foreground startup (move the cursor to do not release): if you close this interface, then redis stops running.
(1), cd redis-3.2.9/src
(2),. / redis-server
(3) the interface after startup is as follows:
2. Start at the background:
(1) need to modify redis.conf:
Cd / usr/local/redis/
Vim redis.conf
Change daemonize no to daemonize yes
Before modification:
After modification:
(2) start:
Cd / usr/local/redis/
. / redis-server redis.conf
Through ps-ef | grep redis, you can see that redis has been started, and the backend startup of redis service is complete!
Start the redis client:
After the redis service is started, you can start the redis client. The startup method is as follows:
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.