#挂载
[root@localhost ~]# mount /dev/sr0 /mnt
#下载
[root@localhost ~]# dnf install -y gcc tcl gcc-c++ make
②结果
①下载链接
[root@localhost src]# mv 'redis-stable.tar.gz?_gl=1*14qci0w*_ga*MTI3NjgzNzc0My4xNzA1NjM1NzA0*_ga_8BKGRQKRPV*MTcwNTYzNTcwMy4xLjEuMTcwNTYzNjQ2MC41NC4wLjA.*_gcl_au*MTc5NTEyNjczOC4xNzA1NjM1NzA0' redis-stable.tar.gz
[root@localhost src]# ll
总用量 3400
-rw-r--r--. 1 root root 3479614 1月 9 19:57 redis-stable.tar.gz
④ 解压
[root@localhost src]# tar xvf redis-stable.tar.gz
?⑤进入解压目录
[root@localhost src]# cd redis-stable/
[root@localhost redis-stable]# make && make install
①命令
[root@localhost redis-stable]# cd /usr/local/bin
②结果?
①命令
[root@localhost ~]# cp /usr/local/src/redis-stable/redis.conf /etc/
[root@localhost ~]# vim /etc/redis.conf
②结果
③启动服务
[root@localhost ~]# redis-server /etc/redis.conf
①命令
[root@localhost ~]# redis-cli -p 6379
②结果
[root@localhost ~]# redis-cli shutdown
[root@localhost ~]# ps -ef | grep redis
root 44940 3552 0 13:56 pts/0 00:00:00 grep --color=auto redis