1 Star 8 Fork 26

littlemogou/redis-docker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
redis_install.sh 508 Bytes
一键复制 编辑 原始数据 按行查看 历史
littlemogou 提交于 2021-11-02 19:24 . update redis_install.sh
#!/bin/bash
cd /home/redis-4.0.9
yum -y install gcc make
make
make PREFIX=/usr/local/redis install
mkdir -p /usr/local/redis/conf/
cp /home/redis-4.0.9/redis.conf /usr/local/redis/conf/
sed -i '69s/127.0.0.1/0.0.0.0/' /usr/local/redis/conf/redis.conf
sed -i '88s/protected-mode yes/protected-mode no/' /usr/local/redis/conf/redis.conf
# sed -i '136s/daemonize no/daemonize yes/' /usr/local/redis/conf/redis.conf
sed -i '500s/# requirepass foobared/requirepass travelsong/' /usr/local/redis/conf/redis.conf
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
其他
1
https://gitee.com/smallmogou/redis-docker.git
git@gitee.com:smallmogou/redis-docker.git
smallmogou
redis-docker
redis-docker
master

搜索帮助