测试redis未授权访问漏洞的时候要安装cenos6,于是百度了一篇,很靠谱,链接如下。
安装完之后踩到坑了,发现ip为127.0.0.1。
这个时候
vim /etc/sysconfig/network-scripsts/ifcfg-eth0
找到ONBOOT=no,改为ONBOOT=yes
然后重启网络服务即可。
service network restart
——————————————-分割线—————————————–
CentOS 中无法使用make,make install 命令
提示错误:make: command not found
make是gcc的编译器,一定要安装
1、安装:
yum -y install gcc automake autoconf libtool make
2、安装g++:
yum install gcc gcc-c++