当前位置:网站首页>Commands related to the startup of redis under Linux server (installation and configuration)
Commands related to the startup of redis under Linux server (installation and configuration)
2022-07-03 03:38:00 【South wind ~ ancient grass】
1、 stay redis Download the installation package on the official website
2、 Upload the installation package to FianlShell
3、 Build the corresponding file path , Switch to the folder where the installation package is located
Enter the command :( The path inside is changed according to the actual situation )
tar -zvxf redis-6.0.5.tar.gz -C /urs/local/redis4、 compile :( Need to use gcc, If linux Not yet installed gcc It needs to be installed first )
Use command :
yum install gcc-c++
5、 Then enter redis-6.0.5, And then execute make
6、 Then enter the install command :
make PREFIX=/urs/local/redis install7、 The client starts redis The order of ( Get into redis-6.0.5, Then enter src, Type the following commands inside ):
./redis-cli
8、 Background start redis The order of ( Also in src Give orders ):
./redis-server
You can modify redis.conf Configuration to make redis Start as a daemon :
Input :
vim redis.conf
Go to configuration file , find daemonize no, take no Change to yes, In this way, there will be no graphical interface after startup .
If you need a remote connection, you can cancel the protection mode , take protected-mode Set to no, At the same time bind notes , In this way, there will be no restrictions on the connected hosts , You can connect remotely .
9、 Check redis Operation of the :
ps -ef|grep redis
边栏推荐
- 用Three.js做一个简单的3D场景
- 简易版 微信小程序开发之页面跳转、数据绑定、获取用户信息、获取用户位置信息
- Stepping on pits and solutions when using inputfilter to limit EditText
- 【全民编程】《软件编程-讲课视频》【零基础入门到实战应用】
- 递归:一维链表和数组
- Download and install node, NPM and yarn
- Summary of electromagnetic spectrum
- softmax的近似之NCE详解
- C语言HashTable/HashSet库汇总
- [mathematical logic] propositional logic (propositional logic reasoning | formal structure of reasoning | inference law | additional law | simplification law | hypothetical reasoning | refusal | disju
猜你喜欢

Latest version of NPM: the "NPM" item cannot be recognized as the name of a cmdlet, function, script file, or runnable program. Please check

The series of hyperbolic function in daily problem

渤、黄海的潮汐特征

Makefile demo

js中#号的作用

Hi3536C V100R001C02SPC040 交叉编译器安装

Web会话管理安全问题

UMI route interception (simple and rough)
![Learning notes of C programming [compiled by Mr. Tan Haoqiang] (Chapter III sequence programming) 04 C sentence](/img/60/bae0e8d92a53bcd2b2de3fb22b3b99.jpg)
Learning notes of C programming [compiled by Mr. Tan Haoqiang] (Chapter III sequence programming) 04 C sentence
![C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions](/img/4a/1df03d9f3315debb4c335260ed39f2.jpg)
C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions
随机推荐
Réglez la hauteur et lancez le système. Currenttimemillis catton
Mongodb installation & Deployment
Table structure of Navicat export database
[leetcode question brushing day 34] 540 Unique element in array, 384 Disrupt array, 202 Happy number, 149 Maximum number of points on a line
ffmpeg下载安装教程及介绍
Ffmpeg recording screen and screenshot
[algebraic structure] group (definition of group | basic properties of group | proof method of group | commutative group)
静态网页 和 动态网页的区别 & WEB1.0和WEB2.0的区别 & GET 和 POST 的区别
Elsevier latex 提交文章 pdftex.def Error: File `thumbnails/cas-email.jpeg‘ not found: using draf
Stepping on pits and solutions when using inputfilter to limit EditText
Small guide for rapid formation of manipulator (VIII): kinematic modeling (standard DH method)
Summary of determinant knowledge points in Chapter 1 of Linear Algebra (Jeff's self perception)
简易版 微信小程序开发之页面跳转、数据绑定、获取用户信息、获取用户位置信息
小程序获取用户头像和昵称
C # webrequest post mode, based on "basic auth" password authentication mode, uploads files and submits other data using multipart / form data mode
float与0比较
js中#号的作用
C# WebRequest POST模式 ,基于“Basic Auth”口令认证模式,使用multipart/form-data方式上传文件及提交其他数据
Some preliminary preparations for QQ applet development: make an appointment for a development account, download and install developer tools, and create QQ applet
[mathematical logic] normal form (conjunctive normal form | disjunctive normal form | major item | minor item | maximal item | minor item | principal conjunctive normal form | principal disjunctive no