10-11 4,307 views
更新yum源
# EPEL的全称叫 Extra Packages for Enterprise Linux 。EPEL是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。装上了 EPEL之后,就相当于添加了一个第三方源。
$ yum install -y epel-release
# 更新yum源
$ yum install -y https://repo.ius.io/ius-release-el7.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
查看redis6
$ yum search redis
$ yum info redis6.x86_64
安装
$ yum install -y redis6
启动
$ systemctl start redis
停止
$ systemctl stop redis
开机启动
$ systemctl enable redis