CentOS 7 Configuration

    xiaoxiao2021-03-25  71

    CentOS 7 Configuration

    systemctl stop firewalldsystemctl disable firewalldsed -i '/SELINUX/s/enforcing/disabled/' /etc/selinux/configsestatussystemctl enable NetworkManager-wait-online.serviceinit 6Download 163 yum repository.mv CentOS7-Base-163.repo /etc/yum.repos.d/cd /etc/yum.repos.d/mv CentOS-Base.repo CentOS-Base.repo.bakyum clean allyum makecacheyum -y update

    Static IP

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

    BOOTPROTO="static" ONBOOT="yes" IPADDR=192.168.2.116 NETMASK=255.255.255.0 GATEWAY=192.168.2.1 DNS1=192.168.2.1 DNS2=210.22.84.3
    转载请注明原文地址: https://ju.6miu.com/read-36617.html

    最新回复(0)