锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
Sentinel鏈変袱縐嶅畨瑁呮柟寮忥紝涓縐嶆槸閫氳繃鍛戒護琛岀殑鏂瑰紡錛屼竴縐嶆槸閫氳繃GUI鐨勬柟寮忋傛湰鏂囦富瑕佷粙緇嶄互鍛戒護琛屾柟寮忓畨瑁匰entinel 6鐨勬柟娉曘?/p>
棣栧厛錛屽湪鍛戒護琛屼腑杈撳叆setup.sh -console錛屽垯鎵撳紑瀹夎紼嬪簭銆?/p>
oracle:/media/cdrom # ./setup.sh -console
Installing Sentinel Suite in console mode ...
瀹夎紼嬪簭棣栧厛鍚姩JVM瑁呰澆瀹夎紼嬪簭銆傝繖閲岄渶瑕佺瓑寰呬竴孌墊椂闂淬?/p>
Initializing Wizard........
Launching InstallShield Wizard........
绱ф帴鐫鏄夋嫨瀹夎璇█錛岄粯璁ゆ槸鑻辨枃銆?/p>
----------------------------------------------------------------------------
Select a language to be used for this wizard.
[X] 1 - English
[ ] 2 - French
[ ] 3 - German
[ ] 4 - Italian
[ ] 5 - Portuguese (Brazil)
[ ] 6 - Spanish
[ ] 7 - Simplified Chinese
[ ] 8 - Traditional Chinese
[ ] 9 - Japanese
To select an item enter its number, or 0 when you are finished: [0]
涓嬮潰鑻辨枃鐣岄潰鐨勫畨瑁呭悜瀵煎皢鍑虹幇錛屽洖杞︾戶緇畨瑁呫?/p>
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Welcome to the InstallShield Wizard for Sentinel 6
The InstallShield Wizard will install Sentinel 6 on your computer.
To continue, choose Next.
Sentinel 6
Novell, Inc.
www.Novell.com
Press 1 for Next, 3 to Cancel or 5 to Redisplay [1]
鎺ヤ笅鏉ユ槸瀹夎鍚戝鎻愮ず鐨凷entinel 6鐨勮鍙瘉淇℃伅錛岄夋嫨q閫鍑洪槄璇誨嵆鍙?/p>
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Please read the following license agreement carefully.
Novell Sentinel 6
Novell Sentinel 6.0
Novell Software License Agreement
PLEASE READ THIS AGREEMENT CAREFULLY. BY INSTALLING, DOWNLOADING OR OTHERWISE
USING THE SOFTWARE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT
AGREE WITH THESE TERMS, DO NOT DOWNLOAD, INSTALL OR USE THE SOFTWARE. THE
SOFTWARE MAY NOT BE SOLD, TRANSFERRED, OR FURTHER DISTRIBUTED EXCEPT AS
AUTHORIZED BY NOVELL.
This Novell Software License Agreement (Agreement) is a legal agreement between
You (an entity or a person) and Novell, Inc. (Novell). The software product
Press ENTER to read the text [Type q to quit] q
鎺ヤ笅鏉ワ紝閫夋嫨1錛屽洖杞︼紝鍚屾剰璇ヨ鍙俊鎭傚啀鎸夊洖杞︾戶緇?/p>
Please choose from the following options:
[ ] 1 - I accept the terms of the license agreement.
[X] 2 - I do not accept the terms of the license agreement.
To select an item enter its number, or 0 when you are finished: [0] 1
[X] 1 - I accept the terms of the license agreement.
[ ] 2 - I do not accept the terms of the license agreement.
To select an item enter its number, or 0 when you are finished: [0]
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
绱ф帴鐫瀹夎鍚戝鎻愮ず閫夋嫨Sentinel 6鐨勫畨瑁呬綅緗?/p>
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Sentinel 6 Install Location
Please specify a directory or press Enter to accept the default directory.
Destination Directory [/opt/novell/sentinel6]
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
鎺ヤ笅鏉ラ夋嫨Sentinel鐨勫畨瑁呮柟寮忋傚洜涓鴻繖閲屾垜浠彧鏄敤浣滄祴璇曪紝騫跺畨瑁呭湪铏氭嫙鏈轟笂錛屽洜姝ら夋嫨綆鍗曟柟寮忋傝繖鏃訛紝Sentinel鐨勬墍鏈夌粍浠跺皢琚畨瑁呭湪鍚屼竴鍙扮數(shù)鑴戜笂銆?/p>
-------------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Choose the installation type that best suits your needs.
[ ] 1 - Simple
All-In-One easy installation.
[X] 2 - Custom
Allows the user to configure a custom installation.
Select the number corresponding to the type of install you would like. Enter 0
to continue: [0]1
[X] 1 - Simple
All-In-One easy installation.
[ ] 2 - Custom
Allows the user to configure a custom installation.
Select the number corresponding to the type of install you would like. Enter 0
to continue: [0]
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
杈撳叆Sentinel 6鐨勫畨瑁呭簭鍒楀彿錛?2345678鍜岃鍙瘉錛?9c3d24adc1df104銆傝緭鍏ュ悗錛岀郴緇熶細鎻愮ず榪欐槸涓涓復鏃惰鍙瘉錛屽皢鍦?009騫?鏈?1鏃ヨ繃鏈熴?/p>
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Serial Number: [] 12345678
License Key: [] 19c3d24adc1df104
You have entered a temporary license key. If a new license key is not provided,
this software will automatically disable itself after the expiration date :
'5/31/09'
[OK]
绱ф帴鐫緋葷粺浼氳闂甋MTP鏈嶅姟鍣ㄥ拰鍙戦侀偖浠剁殑閭歡鍦板潃淇℃伅錛岄粯璁ゆ槸鏈湴鐨凷MTP鏈嶅姟鍣ㄥ拰esecadm銆?/p>
SMTP Server: [localhost]
E-mail: [esecadm]
涓嬮潰灝嗚闂槸鍚﹀畨瑁匒dvisor錛岃繖閲屾垜浠笉榪涜瀹夎銆?/p>
Do you wish to install 'Advisor'?
1. Yes
2. No
Enter one of the options above: [2]
涔嬪悗錛岀郴緇熶細鎻愮ず杈撳叆鍏ㄥ眬緋葷粺鍙d護銆傚叾涓寘鎷琒entinel綆$悊鍛樼敤鎴峰拰鏁版嵁搴撶敤鎴風殑鍙d護銆傚茍鍒跺畾鏁版嵁搴撶敤鎴風殑鐢ㄦ埛鍚嶏紝榛樿鏄痮racle銆?/p>
Global System Password (used for all Sentinel users)
Password:
Confirm Password:
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
Specify the Oracle username [oracle]
Specify the Oracle username
[OK]
閫夋嫨宸茬粡瀹夎鐨凮racle鐗堟湰錛岄夋嫨2騫剁戶緇?/p>
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Select the target database server platform:
1. Oracle 9i
2. Oracle 10g
Enter one of the options above: [1] 2
Oracle JDBC Driver File: [] /opt/oracle/product/10gR2/db/jdbc/lib/ojdbc14.jar
Database Name: [ESEC]
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
鎺ヤ笅鏉ュ皢鏄劇ず鍓嶉潰閰嶇疆鐨凮racle瀹夎淇℃伅銆?/p>
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Oracle Configuration
SUMMARY
An Oracle database will be created with the following parameters
A new instance will be created named: ESEC.
This database will have a total size of: 10000 MB.
Data file locations are as follows
Data Files: /opt/novell/sentinel6/database
Index Files: /opt/novell/sentinel6/database
Summary Data Files: /opt/novell/sentinel6/database
Summary Index Files: /opt/novell/sentinel6/database
Temporary Files: /opt/novell/sentinel6/database
Redo Logs A: /opt/novell/sentinel6/database
Redo Logs B: /opt/novell/sentinel6/database
The database will listen on port: 1521
The database will use 256 MB of system memory.
The schema will be owned by: esecdba
The application user will be: esecapp
The Sentinel Administrator will be: esecadm
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
鎺ヤ笅鏉ワ紝灝嗘樉紺篠entinel 6鐨勫畨瑁呬俊鎭紝鍥炶濺緇х畫銆?/p>
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Sentinel 6 will be installed in the following location:
/opt/novell/sentinel6
with the following features:
Database
Sentinel Services
Communication Server
Correlation Engine
Data Access Server
Sentinel Collector Service
Applications
Sentinel Control Center
Sentinel Data Manager
for a total size:
460.2 MB
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
緋葷粺鏀墮泦瀹屼笂榪頒俊鎭箣鍚庡皢榪涜瀹夎錛屼笅闈㈡槸瀹夎鏃剁殑鏄劇ず淇℃伅銆傚畨瑁呮椂闂存瘮杈冮暱錛岃窡鏈哄櫒鐨勬ц兘鏈夊叧銆傚湪鎴戠殑鐢?shù)鑴戜笂瀹夎澶ф杩涜浜?0鍒嗛挓錛屽寘鎷暟鎹簱銆佸垎鍖哄拰Sentinel浜у搧鍚勭粍浠剁殑瀹夎銆?/p>
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Installing Sentinel Database. Please wait...
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Adding enough partitions for '10' days. Please wait...
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Installing Sentinel 6. Please wait...
|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
Creating uninstaller...
Finalizing the Vital Product Data Registry. Please wait...
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Setting JVM permissions...
|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Installing Sentinel Communication Server. Please wait...
|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Installing Sentinel Communication Server. Please wait...
|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Setting permissions on installed files...
|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
Updating container configuration file. Please wait...
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Setting permissions on installed files...
|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
Setting permissions on installed files...
|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
The InstallShield Wizard has successfully installed Sentinel 6. Choose Finish
to exit the wizard.
Press 3 to Finish or 5 to Redisplay [3]
鏈鍚庯紝緋葷粺鎻愮ず闇瑕侀噸鏂板惎鍔ㄧ郴緇熸墠鑳藉畬鎴愬畨瑁呫?/p>
----------------------------------------------------------------------------
Sentinel 6 - InstallShield Wizard
The wizard requires that you logout and log back in. To start Sentinel 6
processes, reboot the machine or log back in and start them manually.
Press 3 to Finish or 5 to Redisplay [3]
Sentinel鏁版嵁搴撳畨瑁呭ソ浜嗕箣鍚庯紝浼氬湪緋葷粺涓垱寤哄涓嬬敤鎴鳳細
esecdba錛氭暟鎹簱Schema鎵鏈夎咃紝鍑轟簬瀹夊叏鑰冭檻錛岃鐢ㄦ埛騫舵湭鎺堜簣鏁版嵁搴揇BA鐨勭壒鏉?/p>
esecapp錛氭暟鎹簱搴旂敤紼嬪簭鐢ㄦ埛錛岃鐢ㄦ埛鐢ㄦ潵榪炴帴鏁版嵁搴?/p>
esecadm錛歋entinel綆$悊鍛樼殑鏁版嵁搴撶敤鎴鳳紝璇ョ敤鎴蜂笉鍚屼簬Sentinel綆$悊鍛樼殑鎿嶄綔緋葷粺鐢ㄦ埛
esecrpt錛氭暟鎹簱鎶ュ憡鐢ㄦ埛
鍒嗗尯鏃朵嬌鐢‥xt3鏂囦歡緋葷粺錛?/p>
閫夋嫨杞歡鍖呮椂錛岄夋嫨"Oracle Server Base"鍜?C/C++ Compiler and Tools"錛屽悓鏃朵繚璇侀夋嫨浜?32Bit Runtime Environment"錛涗笅闈㈡槸杞歡鍖呴夋嫨鐨勪竴涓埅鍥俱?/p>
浣跨敤SPident鎴栬?cat /etc/SuSE-release"鏉ユ牎楠?/p>
oracle:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 2
oracle:~ # SPident -v
Summary (using 890 packages)
Product/ServicePack conflict match update (shipped)
SLE-10-x86_64 0 0% 325 36.5% 0 (2754 11.8%)
SLE-10-x86_64-SP1 0 0% 470 52.8% 0 (2938 16.0%)
SLE-10-x86_64-SP2 0 0% 889 99.9% 0 (2337 38.0%)
Unknown 1 0.1%
CONCLUSION: System is up-to-date!
found SLE-10-x86_64-SP2
SuSE鎻愪緵浜唎rarun鏉ヨ嚜鍔ㄥ畬鎴愬緢澶歄racle棰勫畨瑁呯殑浠誨姟銆備負浜嗕笅闈㈠畨瑁匫racle錛岄渶瑕佽繘琛屽涓嬮厤緗?/p>
鍦ㄥ畨瑁呬簡Oracle Server Base涔嬪悗錛岀郴緇熷氨鑷姩鍒涘緩浜唎racle鐢ㄦ埛銆備絾鏄紝榛樿鐨勮鐢ㄦ埛鏄紱佺敤浜嗙殑銆?/p>
oracle:~ # vim /etc/passwd
oracle:x:103:106:Oracle user:/opt/oracle:/bin/false
涓烘錛屾垜浠渶瑕佹縺媧昏鐢ㄦ埛銆傛墜宸ョ紪杈?etc/passwd鏂囦歡錛?/p>
oracle:x:103:106:Oracle user:/opt/oracle:/bin/bash
oracle:~ # passwd oracle
Changing password for oracle.
New Password:
Bad password: too simple
Reenter New Password:
Password changed.
緙栬緫/etc/profile.d/oracle.sh鏂囦歡涓璒racle鐨勭幆澧冨彉閲忓涓嬶細
oracle:~ # vim /etc/profile.d/oracle.sh
# ORACLE_HOME=$ORACLE_BASE/product/10.2/db_1
ORACLE_HOME=$ORACLE_BASE/product/10gR2/db
ORACLE_SID=ESEC
淇敼ORACLE_HOME鍜孫RACLE_SID鐜鍙橀噺銆?/p>
榪愯rcoracle start鍛戒護璁劇疆鍐呮牳鍙傛暟銆傚洜涓鴻繕娌℃湁瀹夎Oracle鏁版嵁搴擄紝蹇界暐鏈熼棿鎶ョ殑閿欒銆?/p>
oracle:~ # rcoracle start
#############################################################################
# Begin of O R A C L E startup section #
#############################################################################
Oracle Database Software not yet installed!
SETTINGS start from /etc/sysconfig/oracle
- Set Kernel Parameters for Oracle: yes
- Start Oracle Listener: no
- Start Oracle Database: no
- Start Oracle Webserver: no
- Start Oracle EManager: no
- Start Oracle iSQLPLUS Manager: no
- Start Oracle Agent: no
- Start Oracle Internet Filesystem: no
- Start Oracle Directory Manager: no
Oracle Agent undefinied or not properly set. Please check.
Setting kernel parameters for Oracle, see file
/etc/sysconfig/oracle for explanations.
Shared memory: SHMMAX=3294967296 SHMMNI=4096 SHMALL=2097152
Semaphore values: SEMMSL=1250 SEMMNS=32000 SEMOPM=100 SEMMNI=256
Other values: FILE_MAX_KERNEL=131072 IP_LOCAL_PORT_RANGE=1024 65000
RMEM_DEFAULT=4194304 WMEM_DEFAULT=262144 RMEM_MAX=4194304 WMEM_MAX=262144
Huge Pages: SHM_GROUP=dba NR_HUGE_PAGES=0
ULIMIT values: MAX_CORE_FILE_SIZE_SHELL=unlimited
FILE_MAX_SHELL=65536 PROCESSES_MAX_SHELL=16384
Kernel parameters set for Oracle: done
- Starting Listener... unused
+ Starting Database(s)...
unused
- Starting Apache... unused
- Starting Application Server... unused
- Starting Application Server Console... unused
- Starting Agent... unused
- Starting Enterprise Manager... unused
- Starting iSQLPLUS Manager... unused
- Starting Oracle Internet Filesystem... unused
- Starting Oracle Internet Directory... unused
#############################################################################
# End of O R A C L E section #
#############################################################################
oracle:~ # su oracle
oracle@oracle:/root> id
uid=103(oracle) gid=106(oinstall) groups=106(oinstall),107(dba)
#gunzip 10201_database_linux_x86_64.cpio.gz
#cpio -idmv < 10201_database_linux_x86_64.cpio
紜繚浣跨敤oracle鐢ㄦ埛鐧誨綍緋葷粺錛屽繀欏諱嬌鐢ㄥ浘褰㈢晫闈㈣繘琛屽畨瑁呫備負浜嗗湪SuSE 10涓婂畨瑁匫racle 10g錛屽繀欏繪墜宸ヤ慨鏀瑰畨瑁呴厤緗枃浠訛紝浠ョ‘淇漁racle鏀寔SuSE 10緋葷粺銆傚湪Oracle瀹夎鏂囦歡璺緞涓嬬紪杈戞枃浠訛細
vim install/oraparam.ini
[Certified Versions]
Linux=redhat-3,SuSE-9,SuSE-10,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2
閫夋嫨楂樼駭瀹夎
閫夋嫨榛樿鐨処nventory鐩綍
閫夋嫨瀹夎浼佷笟鐗?/p>
鍦ㄥ畨瑁呬箣鍓嶏紝Oracle浼氭鏌ョ郴緇熻緗伅淇℃伅鏄惁絎﹀悎瑕佹眰銆傛垜浠皢媯鏌ユ湭鎴愬姛鐨勯夋嫨涓?User Verified"銆?/p>
閫夋嫨"Install database Software only"
鏌ョ湅瀹夎姒傝騫墮夋嫨瀹夎
涓嬮潰鏄畨瑁呰繘紼嬨?/p>
鍦ㄥ畨瑁呯粨鏉熶箣鍓嶏紝緋葷粺浼氭彁紺轟嬌鐢╮oot鐢ㄦ埛鐧誨綍錛屾墽琛屼笅闈㈣剼鏈?/p>
浣跨敤鍙︿竴涓獥鍙g櫥褰曪紝鎵ц鑴氭湰銆?/p>
閫夋嫨"Exit"瀹屾垚瀹夎銆?/p>
鍦∟ovell瀹樻柟鐨勬枃妗d腑錛孲entinel闇瑕丱racle瀹夎琛ヤ竵10.2.0.3銆備粠metalink緗戠珯涓婁笅杞絆racle鐨勮ˉ涓乸5337014_10203_Linux-x86-64.zip銆傝琛ヤ竵鏈?G澶氾紝鑰屼笖涓嬭澆鏃墮渶瑕乵etalink鐨勫笎鍙鋒墠鑳戒笅杞姐?/p>
涓嬭澆鍚庤В鍘嬶紝騫剁‘淇濅嬌鐢╫racle鐢ㄦ埛榪愯Disk1涓殑runInstaller榪涜瀹夎銆傝窡瀹夎Oracle 10g鏃朵竴鏍鳳紝瀹夎紼嬪簭棣栧厛瑕佹鏌ョ郴緇熷吋瀹規(guī)э紝涓轟簡鍦⊿LES 10涓婂畨瑁咃紝闇瑕佷慨鏀歸厤緗枃浠訛紝浣夸箣鏀寔鍦⊿uSE 10涓婄殑瀹夎銆備慨鏀規(guī)柟娉曚笌Oracle 10g瀹夎鏃剁殑涓鏍楓?/p>
涓嬪浘鏄畨瑁呮椂鐨勬榪庣晫闈€?/p>
棣栧厛鐜板湪Oracle 10g鐨勫畨瑁呯洰褰曘?/p>
鎺ヤ笅鏉ワ紝鏄畨瑁呯殑淇℃伅銆傜‘璁ゅ悗鎵ц瀹夎銆?/p>
涓嬪浘鏄畨瑁呰繘搴︺?/p>
瀹夎緇撴潫鍓嶏紝鎻愮ず闇瑕佺敤鎴蜂互root韜喚鎵嬪伐鎵цroot.sh鑴氭湰銆?/p>
鎵撳紑鍙︿竴涓獥鍙o紝鎵цORACLE_HOME鐩綍涓嬬殑root.sh鑴氭湰銆?/p>
鎵ц瀹岃剼鏈悗錛岀偣鍑?OK"錛岀郴緇熸彁紺哄畬鎴愯ˉ涓佸畨瑁咃紝鐐瑰嚮"Exit"閫鍑虹郴緇熷畨瑁呫?/p>
涓嬮潰錛岄渶瑕侀氳繃opatch宸ュ叿瀹夎Oracle鐨勫叧閿ˉ涓併傚悓鏍鳳紝棣栧厛浠巑etalink緗戠珯涓婁笅杞借ˉ涓侊細p5881721_10203_Linux-x86-64.zip騫惰В鍘嬨傝紜繚浣跨敤oralce鐢ㄦ埛榪涜涓嬮潰鐨勬搷浣溿?/p>
榪涘叆5881721鐩綍錛岃繍琛?ORACLE_HOME/OPatch/opatch apply -local銆備笅鍥炬槸瀹夎榪囩▼銆?/p>
杈撳叆y涔嬪悗緇х畫瀹夎銆?/p>
y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '5881721' for restore. This might take a while...
Backing up files affected by the patch '5881721' for rollback. This might take a while...
Execution of 'sh /mnt/hgfs/oracle/Oracle10g/Linux/patch/p5881721_10203_Linux-x86-64/5881721/custom/scripts/pre -apply 5881721 ':
Return Code = 0
Patching component oracle.sysman.repository.core, 10.2.0.3.0a...
Updating jar file "/opt/oracle/product/10gR2/db/sysman/jlib/emDB.jar" with "/sysman/jlib/emDB.jar/oracle/sysman/emo/util/DBVerify.class"
Updating jar file "/opt/oracle/product/10gR2/db/sysman/jlib/emDB.jar" with "/sysman/jlib/emDB.jar/oracle/sysman/emo/util/dbclone/DBCloneObject.class"
Updating jar file "/opt/oracle/product/10gR2/db/sysman/jlib/emDB.jar" with "/sysman/jlib/emDB.jar/oracle/sysman/emo/util/dbclone/DBCloneVerify.class"
Patching component oracle.sysman.bsln, 10.2.0.3.0...
Updating jar file "/opt/oracle/product/10gR2/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/emSDK/chart/EmChartBean.class"
Updating jar file "/opt/oracle/product/10gR2/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/emSDK/svlt/RedirectServlet.class"
Patching component oracle.sysman.agent.core, 10.2.0.3.0a...
Updating archive file "/opt/oracle/product/10gR2/db/sysman/lib32/libnmem.a" with "sysman/lib32/libnmem.a/nmemdisp.o"
Updating archive file "/opt/oracle/product/10gR2/db/sysman/lib32/libnmexml.a" with "sysman/lib32/libnmexml.a/nmex.o"
Updating archive file "/opt/oracle/product/10gR2/db/sysman/lib32/libnmehl.a" with "sysman/lib32/libnmehl.a/nmehl.o"
Patching component oracle.rdbms, 10.2.0.3.0...
Updating archive file "/opt/oracle/product/10gR2/db/lib/libserver10.a" with "lib/libserver10.a/qmurd.o"
Copying file to "/opt/oracle/product/10gR2/db/cpu/CPUJan2007/catcpu.sql"
Copying file to "/opt/oracle/product/10gR2/db/cpu/CPUJan2007/catcpu_rollback.sql"
ApplySession adding interim patch '5881721' to inventory
Verifying the update...
Inventory check OK: Patch ID 5881721 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 5881721 are present in Oracle Home.
--------------------------------------------------------------------------------****************************************************************************************************************************************************************** ATTENTION **** **** Please note that the Security Patch Installation (Patch Deinstallation) is **** not complete until all the Post Installation (Post Deinstallation) **** instructions noted in the Readme accompanying this patch, have been **** successfully completed. **** ******************************************************************************************************************************************************************
--------------------------------------------------------------------------------
Execution of 'sh /mnt/hgfs/oracle/Oracle10g/Linux/patch/p5881721_10203_Linux-x86-64/5881721/custom/scripts/post -apply 5881721 ':
Return Code = 0
Running make for target libnmemso
Running make for target ioracle
The local system has been patched and can be restarted.
OPatch succeeded.
鏈鍚庯紝閫氳繃$ORACLE_HOME/OPatch/opatch lsinventory鍛戒護榪涜琛ヤ竵鐘舵佹鏌ャ?/p>
oracle@oracle:/mnt/hgfs/oracle/Oracle10g/Linux/patch/p5881721_10203_Linux-x86-64/5881721> /opt/oracle/product/10gR2/db/OPatch/opatch lsinventory
Invoking OPatch 10.2.0.3.0
Oracle interim Patch Installer version 10.2.0.3.0
Copyright (c) 2005, Oracle Corporation. All rights reserved..
Oracle Home : /opt/oracle/product/10gR2/db
Central Inventory : /opt/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.3.0
OUI version : 10.2.0.3.0
OUI location : /opt/oracle/product/10gR2/db/oui
Log file location : /opt/oracle/product/10gR2/db/cfgtoollogs/opatch/opatch2008-06-20_14-33-53PM.log
Lsinventory Output file location : /opt/oracle/product/10gR2/db/cfgtoollogs/opatch/lsinv/lsinventory2008-06-20_14-33-53PM.txt
--------------------------------------------------------------------------------Installed Top-level Products (2):
Oracle Database 10g 10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 2 10.2.0.3.0
There are 2 products installed in this Oracle Home.
Interim patches (3) :
Patch 5881721 : applied on Fri Jun 20 14:26:08 GMT+08:00 2008
Created on 19 Feb 2007, 02:16:34 hrs US/Pacific
Bugs fixed:
5885186, 5881721
Patch 5556081 : applied on Fri Jun 20 11:51:55 GMT+08:00 2008
Created on 9 Nov 2006, 22:20:50 hrs PST8PDT
Bugs fixed:
5556081
Patch 5557962 : applied on Fri Jun 20 11:51:46 GMT+08:00 2008
Created on 9 Nov 2006, 23:23:06 hrs PST8PDT
Bugs fixed:
4269423, 5557962, 5528974
--------------------------------------------------------------------------------
OPatch succeeded.
濡傛灉鎴愬姛錛屽皢鍑虹幇"OPatch succeeded."瀛楁牱銆?/p>
鑷蟲錛岄拡瀵筍entinel 6鐨凮racle瀹夎宸茬粡瀹屾垚銆傛帴涓嬫潵灝辨槸榪涜Sentinel浜у搧鐨勫畨瑁呫?/p>
浣跨敤SPident鎴栬?cat /etc/SuSE-release"鏉ユ牎楠?/p>
oracle:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 2
oracle:~ # SPident -v
Summary (using 890 packages)
Product/ServicePack conflict match update (shipped)
SLE-10-x86_64 0 0% 325 36.5% 0 (2754 11.8%)
SLE-10-x86_64-SP1 0 0% 470 52.8% 0 (2938 16.0%)
SLE-10-x86_64-SP2 0 0% 889 99.9% 0 (2337 38.0%)
Unknown 1 0.1%
CONCLUSION: System is up-to-date!
found SLE-10-x86_64-SP2
SuSE鎻愪緵浜唎rarun鏉ヨ嚜鍔ㄥ畬鎴愬緢澶歄racle棰勫畨瑁呯殑浠誨姟銆備負浜嗕笅闈㈠畨瑁匫racle錛岄渶瑕佽繘琛屽涓嬮厤緗?/p>
鍦ㄥ畨瑁呬簡Oracle Server Base涔嬪悗錛岀郴緇熷氨鑷姩鍒涘緩浜唎racle鐢ㄦ埛銆備絾鏄紝榛樿鐨勮鐢ㄦ埛鏄紱佺敤浜嗙殑銆?/p>
oracle:~ # vim /etc/passwd
oracle:x:103:106:Oracle user:/opt/oracle:/bin/false
涓烘錛屾垜浠渶瑕佹縺媧昏鐢ㄦ埛銆傛墜宸ョ紪杈?etc/passwd鏂囦歡錛?/p>
oracle:x:103:106:Oracle user:/opt/oracle:/bin/bash
oracle:~ # passwd oracle
Changing password for oracle.
New Password:
Bad password: too simple
Reenter New Password:
Password changed.
緙栬緫/etc/profile.d/oracle.sh鏂囦歡涓璒racle鐨勭幆澧冨彉閲忓涓嬶細
oracle:~ # vim /etc/profile.d/oracle.sh
# ORACLE_HOME=$ORACLE_BASE/product/10.2/db_1
ORACLE_HOME=$ORACLE_BASE/product/10gR2/db
ORACLE_SID=ESEC
淇敼ORACLE_HOME鍜孫RACLE_SID鐜鍙橀噺銆?/p>
榪愯rcoracle start鍛戒護璁劇疆鍐呮牳鍙傛暟銆傚洜涓鴻繕娌℃湁瀹夎Oracle鏁版嵁搴擄紝蹇界暐鏈熼棿鎶ョ殑閿欒銆?/p>
oracle:~ # rcoracle start
#############################################################################
# Begin of O R A C L E startup section #
#############################################################################
Oracle Database Software not yet installed!
SETTINGS start from /etc/sysconfig/oracle
- Set Kernel Parameters for Oracle: yes
- Start Oracle Listener: no
- Start Oracle Database: no
- Start Oracle Webserver: no
- Start Oracle EManager: no
- Start Oracle iSQLPLUS Manager: no
- Start Oracle Agent: no
- Start Oracle Internet Filesystem: no
- Start Oracle Directory Manager: no
Oracle Agent undefinied or not properly set. Please check.
Setting kernel parameters for Oracle, see file
/etc/sysconfig/oracle for explanations.
Shared memory: SHMMAX=3294967296 SHMMNI=4096 SHMALL=2097152
Semaphore values: SEMMSL=1250 SEMMNS=32000 SEMOPM=100 SEMMNI=256
Other values: FILE_MAX_KERNEL=131072 IP_LOCAL_PORT_RANGE=1024 65000
RMEM_DEFAULT=4194304 WMEM_DEFAULT=262144 RMEM_MAX=4194304 WMEM_MAX=262144
Huge Pages: SHM_GROUP=dba NR_HUGE_PAGES=0
ULIMIT values: MAX_CORE_FILE_SIZE_SHELL=unlimited
FILE_MAX_SHELL=65536 PROCESSES_MAX_SHELL=16384
Kernel parameters set for Oracle: done
- Starting Listener... unused
+ Starting Database(s)...
unused
- Starting Apache... unused
- Starting Application Server... unused
- Starting Application Server Console... unused
- Starting Agent... unused
- Starting Enterprise Manager... unused
- Starting iSQLPLUS Manager... unused
- Starting Oracle Internet Filesystem... unused
- Starting Oracle Internet Directory... unused
#############################################################################
# End of O R A C L E section #
#############################################################################
oracle:~ # su oracle
oracle@oracle:/root> id
uid=103(oracle) gid=106(oinstall) groups=106(oinstall),107(dba)
#gunzip 10201_database_linux_x86_64.cpio.gz
#cpio -idmv < 10201_database_linux_x86_64.cpio
紜繚浣跨敤oracle鐢ㄦ埛鐧誨綍緋葷粺錛屽繀欏諱嬌鐢ㄥ浘褰㈢晫闈㈣繘琛屽畨瑁呫備負浜嗗湪SuSE 10涓婂畨瑁匫racle 10g錛屽繀欏繪墜宸ヤ慨鏀瑰畨瑁呴厤緗枃浠訛紝浠ョ‘淇漁racle鏀寔SuSE 10緋葷粺銆傚湪Oracle瀹夎鏂囦歡璺緞涓嬬紪杈戞枃浠訛細
vim install/oraparam.ini
[Certified Versions]
Linux=redhat-3,SuSE-9,SuSE-10,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2
閫夋嫨楂樼駭瀹夎
閫夋嫨榛樿鐨処nventory鐩綍
閫夋嫨瀹夎浼佷笟鐗?/p>
鍦ㄥ畨瑁呬箣鍓嶏紝Oracle浼氭鏌ョ郴緇熻緗伅淇℃伅鏄惁絎﹀悎瑕佹眰銆傛垜浠皢媯鏌ユ湭鎴愬姛鐨勯夋嫨涓?User Verified"銆?/p>
閫夋嫨"Install database Software only"
鏌ョ湅瀹夎姒傝騫墮夋嫨瀹夎
涓嬮潰鏄畨瑁呰繘紼嬨?/p>
鍦ㄥ畨瑁呯粨鏉熶箣鍓嶏紝緋葷粺浼氭彁紺轟嬌鐢╮oot鐢ㄦ埛鐧誨綍錛屾墽琛屼笅闈㈣剼鏈?/p>
浣跨敤鍙︿竴涓獥鍙g櫥褰曪紝鎵ц鑴氭湰銆?/p>
閫夋嫨"Exit"瀹屾垚瀹夎銆?/p>
鍦∟ovell瀹樻柟鐨勬枃妗d腑錛孲entinel闇瑕丱racle瀹夎琛ヤ竵10.2.0.3銆備粠metalink緗戠珯涓婁笅杞絆racle鐨勮ˉ涓乸5337014_10203_Linux-x86-64.zip銆傝琛ヤ竵鏈?G澶氾紝鑰屼笖涓嬭澆鏃墮渶瑕乵etalink鐨勫笎鍙鋒墠鑳戒笅杞姐?/p>
涓嬭澆鍚庤В鍘嬶紝騫剁‘淇濅嬌鐢╫racle鐢ㄦ埛榪愯Disk1涓殑runInstaller榪涜瀹夎銆傝窡瀹夎Oracle 10g鏃朵竴鏍鳳紝瀹夎紼嬪簭棣栧厛瑕佹鏌ョ郴緇熷吋瀹規(guī)э紝涓轟簡鍦⊿LES 10涓婂畨瑁咃紝闇瑕佷慨鏀歸厤緗枃浠訛紝浣夸箣鏀寔鍦⊿uSE 10涓婄殑瀹夎銆備慨鏀規(guī)柟娉曚笌Oracle 10g瀹夎鏃剁殑涓鏍楓?/p>
涓嬪浘鏄畨瑁呮椂鐨勬榪庣晫闈€?/p>
棣栧厛鐜板湪Oracle 10g鐨勫畨瑁呯洰褰曘?/p>
鎺ヤ笅鏉ワ紝鏄畨瑁呯殑淇℃伅銆傜‘璁ゅ悗鎵ц瀹夎銆?/p>
涓嬪浘鏄畨瑁呰繘搴︺?/p>
瀹夎緇撴潫鍓嶏紝鎻愮ず闇瑕佺敤鎴蜂互root韜喚鎵嬪伐鎵цroot.sh鑴氭湰銆?/p>
鎵撳紑鍙︿竴涓獥鍙o紝鎵цORACLE_HOME鐩綍涓嬬殑root.sh鑴氭湰銆?/p>
鎵ц瀹岃剼鏈悗錛岀偣鍑?OK"錛岀郴緇熸彁紺哄畬鎴愯ˉ涓佸畨瑁咃紝鐐瑰嚮"Exit"閫鍑虹郴緇熷畨瑁呫?/p>
涓嬮潰錛岄渶瑕侀氳繃opatch宸ュ叿瀹夎Oracle鐨勫叧閿ˉ涓併傚悓鏍鳳紝棣栧厛浠巑etalink緗戠珯涓婁笅杞借ˉ涓侊細p5881721_10203_Linux-x86-64.zip騫惰В鍘嬨傝紜繚浣跨敤oralce鐢ㄦ埛榪涜涓嬮潰鐨勬搷浣溿?/p>
榪涘叆5881721鐩綍錛岃繍琛?ORACLE_HOME/OPatch/opatch apply -local銆備笅鍥炬槸瀹夎榪囩▼銆?/p>
杈撳叆y涔嬪悗緇х畫瀹夎銆?/p>
y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '5881721' for restore. This might take a while...
Backing up files affected by the patch '5881721' for rollback. This might take a while...
Execution of 'sh /mnt/hgfs/oracle/Oracle10g/Linux/patch/p5881721_10203_Linux-x86-64/5881721/custom/scripts/pre -apply 5881721 ':
Return Code = 0
Patching component oracle.sysman.repository.core, 10.2.0.3.0a...
Updating jar file "/opt/oracle/product/10gR2/db/sysman/jlib/emDB.jar" with "/sysman/jlib/emDB.jar/oracle/sysman/emo/util/DBVerify.class"
Updating jar file "/opt/oracle/product/10gR2/db/sysman/jlib/emDB.jar" with "/sysman/jlib/emDB.jar/oracle/sysman/emo/util/dbclone/DBCloneObject.class"
Updating jar file "/opt/oracle/product/10gR2/db/sysman/jlib/emDB.jar" with "/sysman/jlib/emDB.jar/oracle/sysman/emo/util/dbclone/DBCloneVerify.class"
Patching component oracle.sysman.bsln, 10.2.0.3.0...
Updating jar file "/opt/oracle/product/10gR2/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/emSDK/chart/EmChartBean.class"
Updating jar file "/opt/oracle/product/10gR2/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/emSDK/svlt/RedirectServlet.class"
Patching component oracle.sysman.agent.core, 10.2.0.3.0a...
Updating archive file "/opt/oracle/product/10gR2/db/sysman/lib32/libnmem.a" with "sysman/lib32/libnmem.a/nmemdisp.o"
Updating archive file "/opt/oracle/product/10gR2/db/sysman/lib32/libnmexml.a" with "sysman/lib32/libnmexml.a/nmex.o"
Updating archive file "/opt/oracle/product/10gR2/db/sysman/lib32/libnmehl.a" with "sysman/lib32/libnmehl.a/nmehl.o"
Patching component oracle.rdbms, 10.2.0.3.0...
Updating archive file "/opt/oracle/product/10gR2/db/lib/libserver10.a" with "lib/libserver10.a/qmurd.o"
Copying file to "/opt/oracle/product/10gR2/db/cpu/CPUJan2007/catcpu.sql"
Copying file to "/opt/oracle/product/10gR2/db/cpu/CPUJan2007/catcpu_rollback.sql"
ApplySession adding interim patch '5881721' to inventory
Verifying the update...
Inventory check OK: Patch ID 5881721 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 5881721 are present in Oracle Home.
--------------------------------------------------------------------------------****************************************************************************************************************************************************************** ATTENTION **** **** Please note that the Security Patch Installation (Patch Deinstallation) is **** not complete until all the Post Installation (Post Deinstallation) **** instructions noted in the Readme accompanying this patch, have been **** successfully completed. **** ******************************************************************************************************************************************************************
--------------------------------------------------------------------------------
Execution of 'sh /mnt/hgfs/oracle/Oracle10g/Linux/patch/p5881721_10203_Linux-x86-64/5881721/custom/scripts/post -apply 5881721 ':
Return Code = 0
Running make for target libnmemso
Running make for target ioracle
The local system has been patched and can be restarted.
OPatch succeeded.
鏈鍚庯紝閫氳繃$ORACLE_HOME/OPatch/opatch lsinventory鍛戒護榪涜琛ヤ竵鐘舵佹鏌ャ?/p>
oracle@oracle:/mnt/hgfs/oracle/Oracle10g/Linux/patch/p5881721_10203_Linux-x86-64/5881721> /opt/oracle/product/10gR2/db/OPatch/opatch lsinventory
Invoking OPatch 10.2.0.3.0
Oracle interim Patch Installer version 10.2.0.3.0
Copyright (c) 2005, Oracle Corporation. All rights reserved..
Oracle Home : /opt/oracle/product/10gR2/db
Central Inventory : /opt/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.3.0
OUI version : 10.2.0.3.0
OUI location : /opt/oracle/product/10gR2/db/oui
Log file location : /opt/oracle/product/10gR2/db/cfgtoollogs/opatch/opatch2008-06-20_14-33-53PM.log
Lsinventory Output file location : /opt/oracle/product/10gR2/db/cfgtoollogs/opatch/lsinv/lsinventory2008-06-20_14-33-53PM.txt
--------------------------------------------------------------------------------Installed Top-level Products (2):
Oracle Database 10g 10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 2 10.2.0.3.0
There are 2 products installed in this Oracle Home.
Interim patches (3) :
Patch 5881721 : applied on Fri Jun 20 14:26:08 GMT+08:00 2008
Created on 19 Feb 2007, 02:16:34 hrs US/Pacific
Bugs fixed:
5885186, 5881721
Patch 5556081 : applied on Fri Jun 20 11:51:55 GMT+08:00 2008
Created on 9 Nov 2006, 22:20:50 hrs PST8PDT
Bugs fixed:
5556081
Patch 5557962 : applied on Fri Jun 20 11:51:46 GMT+08:00 2008
Created on 9 Nov 2006, 23:23:06 hrs PST8PDT
Bugs fixed:
4269423, 5557962, 5528974
--------------------------------------------------------------------------------
OPatch succeeded.
濡傛灉鎴愬姛錛屽皢鍑虹幇"OPatch succeeded."瀛楁牱銆?/p>
鑷蟲錛岄拡瀵筍entinel 6鐨凮racle瀹夎宸茬粡瀹屾垚銆傛帴涓嬫潵灝辨槸榪涜Sentinel浜у搧鐨勫畨瑁呫?/p>