当前位置:网站首页>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
边栏推荐
- Tencent interview algorithm question
- ~68 Icon Font introduction
- 软通乐学-js求字符串中字符串当中那个字符出现的次数多 -冯浩的博客
- Chapter 5 namenode and secondarynamenode
- Solve the problem that intel12 generation core CPU single thread only runs on small cores
- 第5章 NameNode和SecondaryNameNode
- Double specific tyrosine phosphorylation regulated kinase 1A Industry Research Report - market status analysis and development prospect prediction
- Simply try the new amp model of deepfacelab (deepfake)
- js封装数组反转的方法--冯浩的博客
- (POJ - 1458) common subsequence (longest common subsequence)
猜你喜欢

视频压缩编码和音频压缩编码基本原理

Simply try the new amp model of deepfacelab (deepfake)

Chapter III principles of MapReduce framework

Two weeks' experience of intermediate software designer in the crash soft exam

7-4 harmonic average

Install Jupiter notebook under Anaconda

One hundred questions of image processing (1-10)

MP4格式详解

简单尝试DeepFaceLab(DeepFake)的新AMP模型

Basic principles of video compression coding and audio compression coding
随机推荐
Solve the problem that intel12 generation core CPU single thread only runs on small cores
Basic principles of video compression coding and audio compression coding
第一章 MapReduce概述
LeetCode 1984. Minimum difference in student scores
~Introduction to form 80
LeetCode 1552. Magnetic force between two balls
Spark独立集群Worker和Executor的概念
第2章 HFDS的Shell操作
Installation and configuration of MariaDB
Ffmpeg command line use
7-6 sum of combinatorial numbers
第6章 DataNode
(lightoj - 1369) answering queries (thinking)
Chapter 7__ consumer_ offsets topic
字节跳动新程序员成长秘诀:那些闪闪发光的宝藏mentor们
Market trend report, technological innovation and market forecast of double door and multi door refrigerators in China
7-10 punch in strategy
LeetCode 1020. Number of enclaves
Research Report on hearing health care equipment industry - market status analysis and development prospect prediction
力扣leetcode第 280 场周赛