当前位置:网站首页>Redis standalone startup
Redis standalone startup
2022-07-06 16:46:00 【Daily enlightenment】
(1) Copy /usr/local/tmp/redis-5.0.5/ in redis.conf The configuration file
# cd /usr/local/tmp/redis-5.0.5/
# cp redis.conf /usr/local/redis/bin/
(2) Modify the configuration file
# cd /usr/local/redis/bin/
# vim redis.conf
hold daemonize The value of is determined by no It is amended as follows yes
The modification effect is as follows :

stay redis5 Configuration file needs to be modified in redis.conf Allow external access , Two changes are needed .
Comment out the following
bind 127.0.0.1
The modification effect is as follows :
![]()
protected-mode yes Change to no
![]()
(3) start-up redis
# ./redis-server redis.conf
(4) restart redis
# ./redis-cli shutdown
# ./redis-server redis.conf
(5) Start the client tools
stay redis5 The client tool in provides functions for commands
#./redis-cli
边栏推荐
- Solve the problem of intel12 generation core CPU [small core full, large core onlookers] (win11)
- Research Report on hearing health care equipment industry - market status analysis and development prospect prediction
- ~Introduction to form 80
- sublime text 代码格式化操作
- < li> dot style list style type
- SF smart logistics Campus Technology Challenge (no T4)
- Research Report of desktop clinical chemical analyzer industry - market status analysis and development prospect prediction
- One hundred questions of image processing (1-10)
- Chapter 5 detailed explanation of consumer groups
- 7-6 sum of combinatorial numbers
猜你喜欢

Chapter 6 rebalance details

Use JQ to realize the reverse selection of all and no selection at all - Feng Hao's blog

Audio and video development interview questions

字节跳动技术新人培训全记录:校招萌新成长指南

Solve the problem that intel12 generation core CPU single thread only runs on small cores

解决Intel12代酷睿CPU单线程调度问题(二)

Simply try the new amp model of deepfacelab (deepfake)

视频压缩编码和音频压缩编码基本原理
![Story of [Kun Jintong]: talk about Chinese character coding and common character sets](/img/d5/9a9e3a0ba57328749d80ec71cb9467.png)
Story of [Kun Jintong]: talk about Chinese character coding and common character sets

解决Intel12代酷睿CPU【小核载满,大核围观】的问题(WIN11)
随机推荐
Installation and configuration of MariaDB
China double brightening film (dbef) market trend report, technical dynamic innovation and market forecast
MP4格式详解
Story of [Kun Jintong]: talk about Chinese character coding and common character sets
Hbuilder X格式化快捷键设置
第6章 DataNode
Use JQ to realize the reverse selection of all and no selection at all - Feng Hao's blog
第5章 NameNode和SecondaryNameNode
Simply try the new amp model of deepfacelab (deepfake)
< li> dot style list style type
Tert butyl hydroquinone (TBHQ) Industry Research Report - market status analysis and development prospect forecast
解决Intel12代酷睿CPU【小核载满,大核围观】的问题(WIN11)
Log statistics (double pointer)
Cartesian tree (modified)
Spark独立集群Worker和Executor的概念
LeetCode 1552. Magnetic force between two balls
LeetCode 1447. Simplest fraction
Audio and video development interview questions
两个礼拜速成软考中级软件设计师经验
字节跳动技术新人培训全记录:校招萌新成长指南