User guide - install oracle using shell

本文提供了一个详细的Oracle数据库安装流程,包括准备预请求、配置文件修改及运行安装脚本等内容。适用于Linux 4或5系统的服务器。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. Prepare the prerequest.

1.1 Check your OS prerequest

First of all, we need some prerequisite before the installation:

  1. A server installed linux 4 or linux 5. 
  2. Require the root account and password of the server.
  3. At least 10G free disk space of your server.
  4. At least 2G memory of the server.
  5. The oracle install media of appropriate bit (32 or 64) with you OS.

1.2 Prepare the install media

You can download install media from oracle web site www.oracle.com or AAXIS fileserver: \\fileserver\Software\Database\.

Here, for example, we download the follow 2 files from \\fileserver\Software\Database\Oracle11gR2_Linux64

  • linux.x64_11gR2_database_1of2.zip
  • linux.x64_11gR2_database_1of2.zip

Next we need to upload the 2 files to the server which you need to install oracle database, here we put them into file folder /opt/oracle_software/

  • Notes: If /opt/oracle_software/ is not exists then execute "mkdir -p /opt/oracle_software" by root to create it.

Then, unzip the 2 files by root using the follow command:

unzip linux.x64_11gR2_database_1of2.zip

unzip linux.x64_11gR2_database_1of2.zip

1.3 Download the Install shell zip package

All the shell is contain in the zip package:

You need to download it and unload it to the server you need to install oracle, after upload it, you can see the folder structure like this:

install_oracle.sh is the executable shell program.

  • ./config/ is a folder to put all the config files.
  1.   ./config/settings.conf is the config file.
  • ./log/ is a folder to put all the log files.

 

 

2. Modify the configuration file

The configuration file is settings.conf which you download at step 1.3, you can modify it or leave it to the default value. 

The follow is the description of the parameter in the configuration file:

  • install_media_path=/opt/oracle_software
  • log_path=/opt/log
  • ORACLE_BASE=/opt/oracle
  • ORACLE_HOME=/opt/oracle/11gR2
  • ORACLE_SID=leng
  • memoryLimit=500
  • oracle_os_password=oracle
  • oracle_admin_password=oracle
  • processes=2000
  • sessions=2200
  • ignore_package_fail=N

3. Run the shell scripts on you linux

3.1 Execute the shell.

cd /folder

./install_oracle.sh

3.2 Troubleshooting

After you issue the command ./install_oracle.sh, the install process will start. First it will check the environment and put the result to the log file. On the screen, it will tips the log file location. You can review the log file to check the result, if there are error, please correct it an try again.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值