静态ip配置
vi /etc/sysconfig/network-scripts/ifcfg-ens33
[[email protected] network-scripts]# cat ifcfg-ens33
HWADDR="00:0C:29:5A:5C:A1"
TYPE="Ethernet"
BOOTPROTO="static"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
NAME="ens33"
UUID="d8a58935-5a7e-4585-bf87-de08f0482b7a"
ONBOOT="yes"
PEERDNS="yes"
PEERROUTES="yes"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPADDR=192.168.1.122
[[email protected] network-scripts]#
ssh配置 安装时自动己配好
时间: 2024-11-08 16:23:33