yum 安装redis6

10-11 4,436 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

file

file

安装

$ yum install -y redis6

启动

$ systemctl start redis

停止

$ systemctl stop redis

开机启动

$ systemctl enable redis

如何用dockerfile 和 docker compose 安装php82

1.创建Dockerfile 文件名:Dockerfile.php-fpm82 FROM php:8.2-fpm # 安装必要的依赖 RUN apt-get update && apt-get install -y --no-install-recom...

阅读全文

Linux使用lsyncd实现2个文件夹实时同步

官方文档: https://axkibe.github.io/lsyncd/download/ 1.安装 $ yum install lsyncd $ yum install rsync $ yum install libtermcap-devel ncurses-devel l...

阅读全文

firewall 防火墙常用命令

查看版本 $ firewall-cmd --version 0.4.3.3 help $ firewall-cmd --help 状态 $ firewall-cmd --state running 重载配置 $ firewall-cmd --reload 重新加载...

阅读全文

欢迎留言

超过时间限制。请再次填写验证码