『ORACLE』更改主机IP地址(11g)

[root@Annie ~]# cd /etc/sysconfig/network-scripts/
[root@Annie network-scripts]# ls

将IP:192.168.11.4 改为:192.168.11.5

[root@Annie network-scripts]# vi ifcfg-eth0

 

# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.11.255
HWADDR=00:0C:29:30:10:DA
IPADDR=192.168.11.5
NETMASK=255.255.255.0
NETWORK=192.168.11.0
ONBOOT=yes
~
~
~
~
~
~
~
~
~
"ifcfg-eth0" 9L, 218C

[root@Annie network-scripts]# service network restart (让地址生效

 

posted @ 2017-04-22 10:12  九號栈長  阅读(1274)  评论(0编辑  收藏  举报