10月31 安装redis报错

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 
来源:CSDN 
原文:https://blog.csdn.net/qq_38295166/article/details/80366903 

2、查看centos 7 ip

ip addr

原文地址:https://www.cnblogs.com/lyon91/p/9884605.html