PHP群:95885625 Hbuilder+MUI群:81989597 站长QQ:634381967
    您现在的位置: 首页 > 服务器 > Web服务器 > 正文

    CentOS 6.5 x64 minimal安装后无setup命令

    作者:admin来源:网络浏览:时间:2020-09-30 00:07:50我要评论
    导读:今天在安装contos 6.5 64位时候选择了minimal安装的,安装好后配置网卡的时候,如法setup命令,无法通过字符菜单模式设置网卡IP,也不能...
    今天在安装contos 6.5 64位时候选择了minimal安装的,安装好后配置网卡的时候,如法setup命令,无法通过字符菜单模式设置网卡IP,也不能使用yum 来更新,安装rpm包,非常的奇怪,百度了一下,很多教程说使用 yum install  setuptool 安装,我想说草了,没网安装个毛呀。

    解决方法是临时设置网卡

    1、ifconfig eth0 192.168.0.10 netmask 255.255.255.0  //临时设置网卡的IP

    2、route add default gw 192.168.0.1   //临时设置路由。

    3、vi /etc/resolv.conf

    nameserver 192.168.0.1            //添加DNS

    以上网络设置正确的情况下,应该可以ping 通 www.bcty365.com

    1、#安装setuptool
    [root@AY1306141252390974e5Z ~]# yum -y install setuptool

    2、不用多想了,系统服务管理肯定也是没有在里面,我就直接也装上
    [root@AY1306141252390974e5Z ~]# yum -y install ntsysv

    3、setup中配套的防火墙设置也得装上去,不然会出现很多selinux上面的问题,比较蛋疼
    [root@AY1306141252390974e5Z ~]# yum -y install system-config-securitylevel-tui

    4、安装setup中配套的网络设置
    [root@AY1306141252390974e5Z ~]# yum -y install system-config-network-tui

    这样安装完后就可以使用了。

    转载请注明(B5教程网)原文链接:https://b5.mxunkeji.com/content-122-5247-1.html
    相关热词搜索: