本人下载的最小镜像文件下载地址:http://pan.baidu.com/s/1kUD2jbT

 

原文地址:http://blog.csdn.net/nmgrd/article/details/51769864

 

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

相关文章:

  • 2022-12-23
  • 2021-07-31
  • 2022-01-17
  • 2021-04-22
  • 2021-12-22
猜你喜欢
  • 2021-07-24
  • 2022-12-23
  • 2021-10-05
  • 2022-12-23
  • 2022-01-07
  • 2021-06-12
  • 2021-11-19
相关资源
相似解决方案