Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Analysis of Centos7.0 installation Redis instance

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains the "Centos7.0 installation Redis instance analysis", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Centos7.0 installation Redis instance analysis" bar!

VM virtual machine / buy a server

Centos7.x+

Redis official website address

I have a version of redis-4.0.10.tar.gz that I installed here.

Link: https://pan.baidu.com/s/12qNGdoEFaZ0o-TOHB7KniA extraction code: W80y copy this content and open Baidu network disk mobile phone App, the operation is more convenient.

I uploaded it using Xftp

[root@Redis1~] # tar-zxvf redis-4.0.10.tar.gz

The decompressed redis is a source package, Redis is written in C, and the environment in which C must be installed

Yum install-y gcc

Be sure to enter the extracted redis directory to execute the command

Make MALLOC=libc

Or do the command execution in the redis directory extracted from redis?

Make install PREFIX=/usr/redis

. / redis-server

. / redis-cli-p 6379

Use the cp command to copy a copy of the redis.conf under redis to the / usr/redis/ directory

Cp / root/redis/redis.conf / usr/redis/

Modify the redis.conf file

Turn off the firewall

/ / View the current firewall status. Systemctl status firewalld// turns off the current firewall. The systemctl stop firewalld// boot firewall does not start. Permanently close systemctl disable firewalld

Windows client does not need to enter a password to test the connection

Thank you for your reading, the above is the content of "Centos7.0 installation Redis instance Analysis". After the study of this article, I believe you have a deeper understanding of the problem of Centos7.0 installation Redis instance analysis, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report