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

posted @ 2018-06-03 09:38  全威儒  阅读(339)  评论(0编辑  收藏  举报