『ORACLE』更改host主机名(11g)
[root@Annie ~]# cd /etc/sysconfig/
[root@Annie sysconfig]# vi network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=EZreal
GATEWAY=192.168.11.1
~
~
~
~
~
~
Type :quit<Enter> to exit Vim
[root@Annie sysconfig]# hostname EZreal
[root@Annie sysconfig]# hostname
EZreal