yum install redis提示:
Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
- base: mirrors.huaweicloud.com
- extras: mirrors.huaweicloud.com
- updates: mirrors.huaweicloud.com
No package redis available.
Error: Nothing to do
首先vi /etc/yum.conf,修改plugins=0
然后 yum install epel-release
就可以yum install redis了