• VMware 安装新的CentOS7 命令ifconfig无法使用


        今天新装了一下Vmware 安装了一个从阿里云下载下来的centos7 DVD版本的。发现很多东西都没有,比如ifconfig,ping 这些命令都用不了。所以修复了一下

    一、ping 127.0.0.1 通,但是ping www.baidu.com 不通

    问题原因:没有启用联网功能,启用联网功能

    vi /etc/sysconfig/network-scripts/ifcfg-ens33

    修改配置: ONBOOT=yes

    重启网络服务: service network restart

    二、ifconfig command not found

    需要安装 net-tools 

    yum update
    yum -y install net-tools
    

    参考:

     https://blog.csdn.net/xiaofanguan/article/details/107860876

  • 相关阅读:
    P1338 末日的传说
    P1364医院设置
    线程
    进程通信
    CentOS设置中文
    C++快读讲解
    迭代加深搜索
    P1118 [USACO06FEB]Backward Digit Sums G/S
    N皇后问题
    RMQ区间最值查询
  • 原文地址:https://www.cnblogs.com/happyflyingpig/p/16050068.html
Copyright © 2020-2023  润新知