Oracle10g快速安装向导(Linux平台…

Oracle10g快速安装向导(Linux平台)

 

Oracle Database Quick Installation Guide
10g Release (10.2) for Linux x86


Oracle10g快速安装向导(Linux平台)-下


 

 

七:创建目录


 

创建类似于下列名称的目录,为它们指定正确的OwnerGroupPermission

· The Oracle base directory

· An optional Oracle data file directory (optional)

The Oracle base directory must have GB of free disk space, or GB of free disk space if you choose not to create separate Oracle data file directory.

 

Note:

If you do not want to create separate Oracle data file directory, then you can install the data files in subdirectory of the Oracle base directory. However, this is not recommended for production databases.

 

 


创建Oracle base directory:

1. 输入以下命令显示所有已挂载的文件系统的信息:
df k

这个命令显示了系统上所有已经挂载的文件系统信息,包括:
The physical device name

The total amount, used amount, and available amount of disk space

The mount point directory for that file system

 

2. 依据显示的结果,找出哪一个或两个文件系统满足之前部分提到过的磁盘空间需求

3. Note the name of the mount point directory for each file system that you identified.


4. 在一个挂载点目录上输入以下类似目录创建推荐的子目录,同时在其上识别和设置正确的owner, group, and permissions
mkdir /mount_point/app/oracle_sw_ower
chown oralce:oinstall /mount_point/app/oracle_sw_ower
chmod 775 /mount_point/app/oracle_sw_ower

例如,如果挂载点是u01oracle是数据库软件的所有者,那么推荐的Oracle base directory path如下所示:

u01/app/oracle


 

 

八:创建oracle用户环境


 

You run Oracle Universal Installer from the oracle account. However, before you start Oracle Universal Installer, you must configure the environment of the oracle user. To configure the environment, you must:

· Set the default file mode creation mask (umaskto 022 in the shell startup file.

· Set the DISPLAY environment variable.

 


To set the oracle user's environment:

 

1. Start new terminal session, for example, an terminal (xterm).

 

2. 输入以下命令以确保在系统Window applications 可以在系统上显示:

xhost fully_qualified_remote_host_name

 

3. Complete one of the following steps:

· If the terminal session is not connected to the system where you want to install the software, then log in to that system as the oracle user.

· If the terminal session is connected to the system where you want to install the software, then switch user to oracle:
su oracle

 

4. To determine the default shell for the oracle user, enter the following command:

echo $SHELL

 

5. Open the oracle user's shell startup file in any text editor:

(1)Bash shell (bash) on Red Hat:

vi .bash_profile

(2)Bourne shell (sh), Bash shell on SUSE (bash), or Korn shell (ksh):

vi .profile

(3)shell (csh or tcsh):

vi .login

 

6. Enter or edit the following line in the shell startup file, specifying value of 022 for the default file mode creation mask:

umask 022

 

7. If the ORACLE_SID, ORACLE_HOME, or ORACLE_BASE environment variable is set in the file, then remove the corresponding lines from the file.

 

8. Save the file, and exit from the editor.

 

9. To run the shell startup script, enter the following command:

 

(1)Bash shell on Red Hat:

./.bash_profile

 

(2)Bourne shell, Bash shell on SUSE, or Korn shell:

./.profile

 

(3)shell:

source ./.login

 

11. If you are not installing the software on the local system, then enter command similar to the following to direct applications to display on the local system:

 

a. Use the df -k command to identify suitable file system with sufficient free space.

b. If necessary, enter commands similar to the following to create temporary directory on the file system that you identified, and set the appropriate permissions on the directory:

su root

mkdir /mount_point/tmp

chmod a wr /mount_point/tmp

exit

 

c. Enter commands similar to the following to set the TEMP and TMPDIR environment variables:

Bourne, Bash, or Korn shell:

TEMP=/directory

TMPDIR=/directory

export TEMP TMPDIR

 

shell:

setenv TEMP /directory

setenv TMPDIR /directory

 

12. Enter the following commands to ensure that the ORACLE_HOME and TNS_ADMIN environment variables are not set:

 

1Bourne, Bash, or Korn shell:

unset ORACLE_HOME

unset TNS_ADMIN

 

2shell:

unsetenv ORACLE_HOME

unsetenv TNS_ADMIN

 

13. To verify that the environment has been set correctly, enter the following commands:

 

umask

env more

 

Verify that the umask command displays value of 0022, 022, or 22 and the environment variables that you set in this section have the correct values.


 

 

九:挂载Product Disc


 

On most Linux systems, the product disc mounts automatically when you insert it into the drive. If the disc does not mount automatically, then follow these steps to mount it:

1. Switch user to root:
su root

2. If necessary, enter command similar to the following to eject(弹出) the currently mounted disc, then remove it from the drive:

· Red Hat:
eject /mnt/dvd

· SUSE:
eject /media/dvd

In these examples, /mnt/dvd and /media/dvd are the mount point directories for the disc drive.

1. Insert the disc into the disc drive.

2. To verify that the disc mounted automatically, enter command similar to the following:

· Red Hat:
ls /mnt/dvd

· SUSE:
ls /media/dvd

 

3. If this command fails to display the contents of the disc, then enter command similar to the following:

· Red Hat:
mount -t iso9660 /dev/dvd /mnt/dvd

· SUSE:
mount -t iso9660 /dev/dvd /media/dvd

 

In these examples, /mnt/dvd and /media/dvd are the mount point directories for the disc drive.


 

 

十:安装oracle数据库


 

After configuring the oracle user's environment, start Oracle Universal Installer and install Oracle Database as follows:

1. To start Oracle Universal Installer, enter the following command:
/mount_point/db/runInstaller

If Oracle Universal Installer does not start, then refer to Oracle Database Installation Guide for Linux x86 for information about how to troubleshoot Window display problems.

2. The following table describes the recommended action for each Oracle Universal Installer screen. Use the following guidelines to complete the installation:

· If you need more assistance, or if you want to choose an option that is not default, then click Help for additional information.

· If you encounter errors while installing or linking the software, then refer to Oracle Database Installation Guide for Linux x86 for information about troubleshooting.

 

Note:

If you have completed the tasks listed previously, then you can complete the installation by choosing the default values on most screens.

1. 

Screen

Recommended Action

Select Installation Method

The Basic Installation option is selected by default. 

Specify the directory path of the Oracle home. Ensure that the oinstall group is selected. If you want to create starter database, then specify name and password for it. Then, click Next.

Specify Inventory Directory and Credentials

This screen is displayed only during the first installation of Oracle products on system. 

Specify the full path of the Oracle Inventory directory. Ensure that the operating system group selected is oinstallThen, click Next.

Product-Specific Prerequisite Checks

Verify that all of the prerequisite checks succeed, and then click Next

Oracle Universal Installer checks the system to verify that it is configured correctly to run Oracle software. If you have completed all of the preinstallation steps in this guide, all of the checks should pass.

If check fails, then review the cause of the failure listed for that check on the screen. If possible, rectify the problem and rerun the check. Alternatively, if you are satisfied that your system meets the requirements, then you can select the check box for the failed check to manually verify the requirement.

Summary

Review the information displayed on this screen, and then click Install.

Install

This screen displays status information while the product is installed.

Configuration Assistants

This screen displays status information for the configuration assistants that configure the software and create database. When the message is displayed at the end of this process, click OK to continue.

Execute Configuration Scripts

When prompted, read the instructions and then run the scripts mentioned on this screen. Click OK to continue.

End of Installation

The configuration assistants configure several Web-based applications, including Oracle Enterprise Manager Database Control. This screen displays the URLs configured for these applications. Make note of the URLs used. The port numbers used in these URLs are also recorded in the following file: 

$ORACLE_HOME/install/portlist.ini

 

To exit from Oracle Universal Installer, click Exit and then click Yes.

 

 



十一:Installing Products from the Oracle Database 10g Companion CD

The Oracle Database 10g Companion CD contains additional products that you can install. Whether you need to install these products depends on which Oracle Database products or features you plan to use. If you plan to use the following products or features, then you must complete the Oracle Database 10g Products installation from the Companion CD:

· JPublisher

· Oracle JVM

· Oracle interMedia

· Oracle JDBC development drivers

· Oracle SQLJ

· Oracle Database Examples

· Oracle Text supplied knowledge bases

· Oracle Ultra Search

· Oracle HTML DB

· Oracle Workflow server and middle-tier components

For information about installing software from the Companion CD, refer to Oracle Database Companion CD Quick Installation Guide for Linux x86.

 

 



十二:What to Do Next?

To become familiar with this release of Oracle Database, it is recommended that you complete the following tasks:

· Log in to Oracle Enterprise Manager Database Control using Web browser.

Oracle Enterprise Manager Database Control is Web-based application that you can use to manage single Oracle Database installation. The default URL for Database Control is similar to the following:

http://host.domain:1158/em/

 

To log in, use the user name SYS and connect as SYSDBAUse the password that you specified for this user during the Oracle Database 10g installation.

· Refer to Oracle Database Installation Guide for Linux x86 for information about required and optional postinstallation tasks, depending on the products that you want to use.

· Refer to Oracle Database Installation Guide for Linux x86 for information about how to use Database Control to learn about the configuration of your installed database.

· To learn more about using Oracle Enterprise Manager Database Control to administer database, refer to Oracle Database Day DBA.

This guide, designed for new Oracle DBAs, describes how to use Database Control to manage all aspects of an Oracle Database installation. It also provides information about how to enable e-mail notifications and automated backups, which you might not have configured during the installation.

 

 


1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 、4下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合;、下载 4使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合;、 4下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值