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

How to use yum command to install redis in CentOS system

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article will explain in detail how to use yum command to install redis in CentOS system, Xiaobian thinks it is quite practical, so share it with you as a reference, I hope you can gain something after reading this article.

Using yum command to install redis in Linux CentOS system error:

[root@localhost install]# yum install redisLoaded plugins: fastestmirrorSetting up Install ProcessDetermining fastest mirrors * base: mirrors.skyshe.cn * extras: mirrors.163.com

This is because, centos default installation source in the official centos.org, and Redis in the third party yum source, so can not install, unofficial yum recommended by fedora epel repository

Install third-party libraries using the following command: yum install epel-release

Yum install redis

Start the redis server using the service redis start command:

[root@localhost etc]# service redis start Redirecting to /bin/systemctl start redis.service

Use ps -ef| grep redis View redis progress:

[root@localhost etc]# ps -ef | grep redis redis 47664 1 0 05:31 ? 00:00 /usr/bin/redis-server 127.0.0.1:6379 root 47808 45376 0 05:32 pts/0 00:00:00 grep-color=auto redis About "CentOS system how to use yum command to install redis" This article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.

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

Servers

Wechat

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

12
Report