1818IP-服务器技术教程,云服务器评测推荐,服务器系统排错处理,环境搭建,攻击防护等

当前位置:首页 - Linux系统 - centos - 正文

君子好学,自强不息!

1.最小化安装的Centos7系统并没有nano、vim、wget、curl、ifconfig、lsof命令,这里首先安装一下:

yum -y install nano vim wget curl net-tools lsof

2. 安装zip压缩命令

yum -y install zip

3. 安装unzip压缩命令

yum -y install unzip

4. 使用vi编辑resolv.conf文件

vi /etc/resolv.conf #在最后加入:nameserver 8.8.8.8

5.编辑文件/etc/resolv.conf

echo “nameserver 8.8.8.8” >>/etc/resolv.conf

本文来源:1818IP

本文地址:https://www.1818ip.com/post/32897.html

免责声明:本文由用户上传,如有侵权请联系删除!

发表评论

必填

选填

选填

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。