EBS R12.2.4 Changing IP

[root@ebs ~]# vi /etc/hosts

127.0.0.1       localhost.localdomain   localhost

::1     localhost6.localdomain6 localhost6

192.168.12.24   ebs.example.com ebs

[root@ebs ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

# generated by /u01/install/scripts/configdhcp.sh

DEVICE=eth0

HWADDR=08:00:27:F5:D5:41

ONBOOT=yes

#BOOTPROTO=dhcp

TYPE=Ethernet

NM_CONTROLLED=yes

BOOTPROTO=static

IPADDR=192.168.12.24

NETMASK=255.255.255.0

GATWAY=192.168.12.2

[root@ebs ~]# service network restart

[root@ebs ~]# su - oracle

[oracle@ebs ~]$ source /u01/install/VISION/fs1/EBSapps/appl/APPSEBSDB_ebs.env

[oracle@ebs ~]$ cd $ADMIN_SCRIPTS_HOME

[oracle@ebs scripts]$ ls

adadminsrvctl.sh  adformsrvctl.sh     adstrtal.sh       jtffmctl.sh

adalnctl.sh       admanagedsrvctl.sh  cz64bitengine.pl  msc

adapcctl.sh       adnodemgrctl.sh     gmf               mwactl.sh

adautocfg.sh      adopmnctl.sh        gsmstart.sh       mwactlwrpr.sh

adcmctl.sh        adpreclone.pl       ieo               pon64bitengine.pl

adexecsql.pl      adstpall.sh         java.sh

[oracle@ebs scripts]$ ./adautocfg.sh

原文地址:https://www.cnblogs.com/quanweiru/p/9128038.html