当前位置:网站首页>Liunx starts redis
Liunx starts redis
2022-07-05 06:07:00 【A light wind and light clouds】
1、 Get into redis The installation directory , Execute the following command to start redis service
./bin/redis-server redis.conf # Opening service
2、 adopt redis-cli test redis Is it available , stay redis Execute the following command from the installation directory :
./bin/redis-cli
Be careful :
This startup mode cannot exit the console , If you exit , that redis Services will also stop . If you want to redis Operation in background mode , Need modification redis Configuration file for :redis.conf. The... In this configuration file daemonize no Change it to daemonize yes that will do :
Common mistakes :
Could not connect to Redis at 127.0.0.1:6379: Connection refused
边栏推荐
猜你喜欢
[jailhouse article] jailhouse hypervisor
Introduction et expérience de wazuh open source host Security Solution
Appium automation test foundation - Summary of appium test environment construction
leetcode-6110:网格图中递增路径的数目
传统数据库逐渐“难适应”,云原生数据库脱颖而出
On the characteristics of technology entrepreneurs from Dijkstra's Turing Award speech
Light a light with stm32
Navicat连接Oracle数据库报错ORA-28547或ORA-03135
Wazuh开源主机安全解决方案的简介与使用体验
Introduction and experience of wazuh open source host security solution
随机推荐
LeetCode 0108.将有序数组转换为二叉搜索树 - 数组中值为根,中值左右分别为左右子树
【Rust 笔记】17-并发(下)
[cloud native] record of feign custom configuration of microservices
[rust notes] 14 set (Part 2)
leetcode-556:下一个更大元素 III
Typical use cases for knapsacks, queues, and stacks
884. Uncommon words in two sentences
leetcode-3:无重复字符的最长子串
The connection and solution between the shortest Hamilton path and the traveling salesman problem
打印机脱机时一种容易被忽略的原因
Daily question 1984 Minimum difference in student scores
One question per day 1765 The highest point in the map
Cluster script of data warehouse project
6. Logistic model
Codeforces Round #732 (Div. 2) D. AquaMoon and Chess
CF1634 F. Fibonacci Additions
leetcode-6111:螺旋矩阵 IV
可变电阻器概述——结构、工作和不同应用
1.13 - RISC/CISC
【Rust 笔记】17-并发(上)