当前位置:网站首页>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
边栏推荐
- [unsolved] 7-15 shout mountain
- Solve the problem of intel12 generation core CPU [small core full, large core onlookers] (win11)
- Research Report of desktop clinical chemical analyzer industry - market status analysis and development prospect prediction
- 音视频开发面试题
- Tree of life (tree DP)
- Use JQ to realize the reverse selection of all and no selection at all - Feng Hao's blog
- Spark的RDD(弹性分布式数据集)返回大结果集
- LeetCode 1636. Sort the array in ascending order by frequency
- Cartesian tree (modified)
- Audio and video development interview questions
猜你喜欢

Soft music -js find the number of times that character appears in the string - Feng Hao's blog

~74 JD top navigation bar exercise

I'm "fixing movies" in ByteDance

原生js实现全选和反选的功能 --冯浩的博客

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

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

~69 other ways to use icon fonts

解决Intel12代酷睿CPU【小核载满,大核围观】的问题(WIN11)

(lightoj - 1323) billiard balls (thinking)

Detailed explanation of FLV format
随机推荐
One hundred questions of image processing (11-20)
Li Kou leetcode 280 weekly match
SQL快速入门
LeetCode 1638. Count the number of substrings with only one character difference
【锟斤拷】的故事:谈谈汉字编码和常用字符集
第6章 DataNode
ffmpeg命令行使用
Sublime text code formatting operation
Business system compatible database oracle/postgresql (opengauss) /mysql Trivia
Basic principles of video compression coding and audio compression coding
JS time function Daquan detailed explanation ----- AHAO blog
Codeforces Global Round 19
MP4格式详解
解决Intel12代酷睿CPU【小核载满,大核围观】的问题(WIN11)
Double specific tyrosine phosphorylation regulated kinase 1A Industry Research Report - market status analysis and development prospect prediction
业务系统兼容数据库Oracle/PostgreSQL(openGauss)/MySQL的琐事
Tert butyl hydroquinone (TBHQ) Industry Research Report - market status analysis and development prospect forecast
(multiple methods, need to continue to see) 7-11 go deep into the tiger's Den
Local visualization tools are connected to redis of Alibaba cloud CentOS server
图像处理一百题(11-20)