Download presentation
Presentation is loading. Please wait.
Published byDina Booth Modified over 9 years ago
1
Oracle7 Server 的安装和配置 n 环境设置 安装 Oracle7 数据库服务器 配置 SQL*NET
2
环境设置 调整内核参数 - Asynchronous I/O 添加 DBA 组 添加 ORACLE 用户 更改文件系统使用权限 设置 ORACLE 用户的环境变量
3
环境设置 - 调整内核参数 smit chaio Change / Show Characteristics of Asynchronous I/O Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] MINIMUM number of servers [1] # MAXIMUM number of servers [10] # Maximum number of REQUESTS [4096] # Server PRIORITY [39] # STATE to be configured at system restart available +
4
环境设置 - 添加 DBA 组 smit mkgroup Add a Group Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] * Group NAME [dba] ADMINISTRATIVE group? false + Group ID [] # USER list [] + ADMINISTRATOR list [] ++
5
环境设置 - 添加 ORACLE 用户 smit mkuser Add a User Type or select values in entry fields. Press Enter AFTER making all desired changes. [TOP] [Entry Fields] * User NAME [oracle] User ID [] # ADMINISTRATIVE USER? false + Primary GROUP [dba] + Group SET [] + ADMINISTRATIVE GROUPS [] + ROLES [] + Another user can SU TO USER? true + SU GROUPS [ALL] + HOME directory [/user/oracle]
6
环境设置 - 更改文件系统使用权限 chown -R oracle:dba /user/oracle chown -R oracle:dba /user/data1 chown -R oracle:dba /user/data2 umask
7
环境设置 - 设置 ORACLE 用户的环境变量 su - oracle vi.profile
8
ORACLE_BASE=/user/oracle/app/oracle ORACLE_HOME=/user/oracle/app/oracle/product/7.3.3 ORACLE_SID=ora7 ORACLE_TERM=vt100 TMPDIR=/user/oracle/tmp TNS_ADMIN=/user/oracle/tns NLS_LANG=AMERICAN_AMERICA.zhs16cgb231280 ORA_NLS32=$ORACLE_HOME/ocommon/nls/admin/data export ORACLE_HOME ORACLE_SID ORACLE_TERM TMPDIR TNS_ADMIN NLS_LANG ORA_NLS32 PATH=$ORACLE_HOME/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOM E/bin:/usr/bin/X11:/s bin:. export PATH if [ -s "$MAIL" ] # This is at Shell startup. In normal then echo "$MAILMSG" # operation, the Shell checks fi # periodically..profile" 17 lines, 571 characters
9
Oracle7 Server 的安装和配置
10
Step 1 Creating Required Directory $ su - root # mkdir /cdrom # mkdir /user/oracle/olink # chmod 777 /user/oracle/olink # mkdir /user/oracle/tmp # chmod 777 /user/oracle/tmp Step 2 Mounting the Product Installation CDROM # mount -rv cdrfs /dev/cd0 /cdrom
11
Oracle7 Server 的安装和配置 Step 3 Run the start.sh Script $ cd /cdrom/orainst $./start.sh --Enter the name of your oracle link directory--- /user/oracle/olink Step 4 Run the rootpre.sh Script $ su root # cd /user/oracle/olink/ORAINST #./rootpre.sh
12
Oracle7 Server 的安装和配置 Step 5 Run the Oracle Installer $ cd /user/oracle/olink/ $./orainst
13
------------------Install Type--------------------------------- Select the installation method, either Default Install or Custom Install, and whether you want to view the Readme files: [ ] Default Install [X] Custom Install [ ] Display readme Files for this Release (Help...) (Back) (Cancel) (OK)
14
---------------Installation Activity Choice --------------------- Select the Installer activity: (0) Install, Upgrade, or De-Install Software ( ) Create/Upgrade Database Objects ( ) Perform Administrative Tasks (Help...) (Back) (Cancel) (OK)
15
---------------Installation Options --------------------- Select the Installer option: Note: there are two different Install New Product options. (Help...) (Back) (Cancel) (OK) Install New Product - Create DB Objects Install New Product - Do Not Create DB Objects Add/Upgrade Software Build Oracle7 Staging Area Install Documentation Only De-Install Software
16
---------------Installation Options: Mount Point----- ---------- Enter the mount point (the top of your directory structure) for your software installation. Select (Help) for more information. (Help...) (Back) (Cancel) (OK) /user/oracle
17
--------------Installation Options: Home Locator----- ------- Complete $ORACLE_HOME locations: /user/oracle/app/oracle/product/ (Help...) (Back) (Cancel) (OK) 7.3.3
18
--------------Environment Variables------------ Confirm, change, or enter the values of the environment variables listed ORACLE_BASE: ORACLE_HOME: (Help...) (Back) (Cancel) (OK) /user/oracle/app/oracle /user/oracle/app/oracle/product/7.3.3
19
--------------Logging and Status------------ Confirm (or change) Log File Location: If current versions of these log files exist in these locations, they will be archived and reinitialized. Select Help for more details Installer Log: SQL Log: Makefile Log: OS Log: (Help...) (Back) (Cancel) (OK) log /user/oracle/ap/oracle/product/7.3.3/o
20
--------------Pre-Installation OS Preparation---------- -- Your platform requires the root user to perform certain pre- installation OS preparation. The root user should run the shell script ‘rootpre.sh’ before you proceed with Oracle installation. ‘rootpre.sh can be found in the newoi/ directory (if installing form tape) or the orainst/ directory (if installing from CDROM). Select (Yes) if root has run ‘rootpre.sh’ so you can proceed with Oracle installation. Select (No) to abort installation and then ask root to run ‘rootpre.sh’. (Help...) (Back) (Cancel) (No) (Yes)
21
--------------Installation Source------------ Select one of the following: (0) Install from CD-ROM ( ) Install form Staging Area (Help...) (Back) (Cancel) (OK)
22
--------------$ORACLE_LINK Directory------------ Enter the pathname of the $ORACLE_LINK directory: (Help...) (Back) (Cancel) (OK) /user/oracle/olink
23
--------------ORACLE_SID --------------- Enter your ORACLE_SID: (Help...) (Back) (Cancel) (OK) ora7
24
----------------------------- NLS ------------------------ ----------- Enter your ORACLE_SID: (Help...) (Back) (Cancel) (OK) All LanguagesAmerican/English Arbic Brazilian Protuguese Catalan Czech Danish
25
-----------------------Relink All Executables?----------- ----------- Do you want to relink Oracle product executables? By default,the Installer will not relink any product executables, with the exception of the Oracle7 Server, which is relinked automatically if necessary (Help...) (Back) (Cancel) (No)(Yes)
26
-----------------------Root Install Script File ---------- ------------ The /user/oracle/app/oracle/product/7.3.3/orainst/root.sh file already exists. Select one of the following actions: ( ) Append root-related actions to this file (0) Create new root.sh file (Help...) (Back) (Cancel) (OK)
27
-----------------------Software Asset Manager--------- ----------- (from...) Product available on /cdrom Products installed on /user/…/7.3.3 (Install) (Reove) (Help...) (Back) (Cancel) (OK) ORACLE7 Distributed Database Option ORACLE7 Enterprise Backup Utility ORACLE7 Parallel Query option 7.3.3 ORACLE7 Server (RDBMS) 7.3.3.0.0
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.