Вы находитесь на странице: 1из 66

xauth> $ xclock

$ xauth list
itshrs01/unix:10 MIT-MAGIC-COOKIE-1 584a0146991a71cf2569d901d127abb0
itshrs01/unix:11 MIT-MAGIC-COOKIE-1 a23f5837c492554a79d2fdd20c9745aa
itshrs01/unix:14 MIT-MAGIC-COOKIE-1 8ec31de7593911e5c2f8cb0e2f6953ee
itshrs01/unix:17 MIT-MAGIC-COOKIE-1 86ff63bb28f5bc8c5867b9668d1b4e98
itshrs01/unix:12 MIT-MAGIC-COOKIE-1 884162ece247a806fa34c94b12e907e3
$ echo $DISPLAY
localhost:12.0
#-> export DISPLAY=localhost:12.0
[root@itshrs01:/.root]#
#-> xauth add itshrs01/unix:12 MIT-MAGIC-COOKIE-1 884162ece247a806fa34c94b12e907e3
[root@itshrs01:/.root]#
#-> xclcok
sh: xclcok: not found.
[root@itshrs01:/.root]#

#-> export JAVA_HOME=/opt/java1.4


[root@itshrs01:/.root]#
#-> export SHLIB_PATH=/sapmnt/SJ5/exe
[root@itshrs01:/.root]#

#-> export TEMP=/oracle/SJ5/sapdata4/SAP_INSTALL/temp


[root@itshrs01:/.root]#
#-> export SHLIB_PATH=/sapmnt/SJ5/exe:/oracle/SJ5/112_64/lib
[root@itshrs01:/.root]#
#-> export ORACLE_SID=SJ5
[root@itshrs01:/.root]#
#-> export ORACLE_HOME=/oracle/SJ5/112_64
[root@itshrs01:/.root]#
#-> cd
/oracle/SJ5/sapdata4/SAP_INSTALL/Inst_Master_11G/Inst._Master_NW_7.0_SR3__BS2005_
SR3/IM_HPUX_IA64
[root@itshrs01:/oracle/SJ5/sapdata4/SAP_INSTALL/Inst_Master_11G/Inst._Master_NW_7.0_S
R3__BS2005_SR3/IM_HPUX_IA64]#
#-> pwd
/
oracle/SJ5/sapdata4/SAP_INSTALL/Inst_Master_11G/Inst._Master_NW_7.0_SR3__BS2005_S
R3/IM_HPUX_IA64
[root@itshrs01:/oracle/SJ5/sapdata4/SAP_INSTALL/Inst_Master_11G/Inst._Master_NW_7.0_S
R3__BS2005_SR3/IM_HPUX_IA64]#
#-> export SAPINST_USE_HOSTNAME=dbciSJ5
[root@itshrs01:/oracle/SJ5/sapdata4/SAP_INSTALL/Inst_Master_11G/Inst._Master_NW_7.0_S
R3__BS2005_SR3/IM_HPUX_IA64]#
#-> env
_=/usr/bin/env
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/
%L:/usr/contrib/man:/usr/local/man/
%L:/usr/local/man:/opt/VRTS/vxfs5.0/man:/opt/ldapux/share/man/
%L:/opt/ldapux/share/man:/opt/ipf/man:/opt/ldapux/ypldapd/man:/opt/cifsclient/share/man:/opt/o
penssl/man:/opt/openssl/prngd/man:/opt/wbem/share/man/
%L:/opt/graphics/common/man:/opt/amgr/man/
%L:/opt/amgr/man:/opt/sec_mgmt/share/man:/usr/dt/share/man:/opt/caliper/man/
%L:/opt/caliper/man:/opt/drd/share/man/
%L:/opt/drd/share/man:/opt/dsau/man:/opt/resmon/share/man/

%L:/opt/gnome/man:/opt/perf/man/%L:/opt/perf/man:/opt/ignite/share/man/
%L:/opt/ignite/share/man:/opt/propplus/share/man:/usr/contrib/kwdb/share/man:/opt/perl_32/ma
n:/opt/perl_64/man:/opt/prm/man/%L:/opt/prm/man:/opt/sfm/share/man:/opt/swm/share/man/
%L:/opt/swm/share/man:/opt/swa/share/man/
%L:/opt/swa/share/man:/opt/ssh/share/man:/opt/sentinel/man/
%L:/opt/sentinel/man:/opt/langtools/share/man/
%L:/opt/langtools/share/man:/opt/wlm/share/man/
%L:/opt/wlm/share/man:/opt/openssl/fips/0.9.7/man:/opt/openssl/fips/0.9.8/man:/opt/gwlm/man/
%L:/opt/gwlm/man:/opt/icod/man/
%L:/opt/icod/man:/opt/wbem/share/man:/opt/resmon/share/man:/opt/quest/man:/opt/psb/healtht
est/share/man
TEMP=/oracle/SJ5/sapdata4/SAP_INSTALL/temp
SHLIB_PATH=/sapmnt/SJ5/exe:/oracle/SJ5/112_64/lib
PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/gvsd/bi
n:/opt/ipf/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/sas/bin:/opt/grap
hics/common/bin:/opt/atok/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/sec_mgmt/bastille/bin:/opt/c
aliper/bin:/opt/drd/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/resmon/bin:/opt/firefox:/opt/gnome/bin:/op
t/perf/bin:/opt/ignite/bin:/opt/propplus/bin:/usr/contrib/kwdb/bin:/opt/perl_32/bin:/opt/perl_64/bin:/
opt/prm/bin:/opt/sfm/bin:/opt/swm/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/swa/bin:/opt/hpsm
h/bin:/opt/sentinel/bin:/opt/langtools/bin:/opt/wlm/bin:/opt/gwlm/bin:/usr/local/bin:/sbin:/home/root
:/opt/ncsbin/utils:/opt/ncsbin/acctutil:/usr/share/centrifydc/bin
COLUMNS=157
EDITOR=vi
HISTFILE=/.root/.histdir/root.rpunekar.20120116-105003
LOGNAME=root
ORACLE_SID=SJ5
ERASE=^H
PS1=[$USER@$HOST:$PWD]#
#->
HOST=itshrs01
USER=root
RUSER=rpunekar
DISPLAY=localhost:12.0

SHELL=/sbin/sh
JAVA_HOME=/opt/java1.4
HISTSIZE=1000
HOME=/.root
TERM=xterm
ORACLE_HOME=/oracle/SJ5/112_64
PWD=/oracle/SJ5/sapdata4/SAP_INSTALL/Inst_Master_11G/Inst._Master_NW_7.0_SR3__BS
2005_SR3/IM_HPUX_IA64
TZ=EST5EST
LINES=45
SAPINST_USE_HOSTNAME=dbcisj5
[root@itshrs01:/oracle/SJ5/sapdata4/SAP_INSTALL/Inst_Master_11G/Inst._Master_NW_7.0_S
R3__BS2005_SR3/IM_HPUX_IA64]#./sapinst

Oracle Install
Oracle Install :-

itshrs01:orasj5 35> echo $ORACLE_BASE


/oracle
itshrs01:orasj5 36> setenv ORACLE_BASE /oracle/SJ5
itshrs01:orasj5 37> ./RUNINSTALLER

orasj5> export DISPLAY=localhost=17.0

orasj5>
orasj5> export DISPLAY=localhost:17.0

orasj5> xauth add itshrs01/unix:17 MIT-MAGIC-COOKIE-1


86ff63bb28f5bc8c5867b9668d1b4e98

orasj5> xclock

orasj5> unset PS1


cd /oracle/SJ5/sapdata4/SAP_INSTALL/11G/112_64/database/SAP
ll
total 96
-rwxrwxrwx 1 rpunekar users
-rw-r--r-- 1 orasj1

dba

24705 Jan 9 21:33 11ginstall.sh


0 Jan 12 11:20 123.txt

-rwxrwxrwx 1 rpunekar users

924 Jan 9 21:33 RUNINSTALLER

-rwxrwxrwx 1 rpunekar users

597 Jan 9 21:33 RUNINSTALLER_CHECK

#-> ./root.sh
Running Oracle 11g root script...

The following environment variables are set as:


ORACLE_OWNER= orasj5
ORACLE_HOME= /oracle/SJ5/112_64

Enter the full pathname of the local bin directory: [/usr/local/bin]:


The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by


Database Configuration Assistant when a database is created

Finished running generic part of root script.


Now product-specific root actions will be performed.
Finished product-specific root actions.

Вам также может понравиться