目 录CONTENT

文章目录

Redis安装

ZERO
2022-09-03 / 0 评论 / 0 点赞 / 58 阅读 / 0 字

安装

wget https://download.redis.io/releases/redis-6.2.7.tar.gz

tar xf redis-6.2.7.tar.gz

mv redis-6.2.7 /usr/local

cd /usr/local/redis-6.2.7

make && make install

启动脚本

echo "/usr/local/redis-6.2.7/src/redis-server /usr/local/redis-6.2.7/redis.conf &" >> /usr/local/redis-start.sh

chmod +x /usr/local/redis-start.sh

echo "export PATH=\$PATH:/usr/local/redis-6.2.7/src" >> /etc/profile

source /etc/profile
0

评论区