10月31 安装redis报错

本文解决Redis启动时出现的'command not found'错误,通过安装TCL8.5或更高版本修复问题,并提供详细的安装步骤。此外,还介绍了在CentOS7中如何查看IP地址的方法。
1、启动redis 报错
redis-server:command not found
然后运行make test
 
make[1]: Entering directory `/root/redis-4.0.8/src'
You need tcl 8.5 or newer in order to run the Redis test
make[1]: *** [test] Error 1
需要安装tcl
wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz           //直接下载 
sudo tar xzvf tcl8.6.1-src.tar.gz  -C /usr/local/  
cd  /usr/local/tcl8.6.1/unix/  
sudo ./configure  
sudo make  
sudo make install
--------------------- 
作者:XiaoYu_0204 
来源:优快云 
原文:https://blog.youkuaiyun.com/qq_38295166/article/details/80366903 

 

2、查看centos 7 ip

ip addr

转载于:https://www.cnblogs.com/lyon91/p/9884605.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值