Oracle Silent Installation and oracle Silent Installation
Download the oracle installation package:
:
Note: To download oracle, you must register oracle.
Http://download.oracle.com/otn/nt/oracle11g
Download two packages:
Linux.x64_11gR2_database_1of2.zip
Linux.x64_11gr2_databasesilicate f2.zip
1. Upload: to the server:
Mkdir-p/usr/local/oracle
Cd/usr/local/oracle
Put the two packages in the environment:
Unzip linux.x64_11gR2_database_1of2.zip
Unzip linux.x64_11gr2_database5of2.zip
2. Prepare the target installation directory for oracle
Mkdir-p/opt/oracle
3. Create oracle users and user groups
Groupadd dba
Groupadd oinstall
Useradd-g oinstall-G dba oracle
Passwd oracle
Enter the password:
Modify the installation directory permission:
Chown-R oracle: oinstall/opt/oracle
4. Mount the installation package:
Upload the installation disk to the server:
Installation disk name: RHEL_5.6x86_64.iso
Mount Directory:/home/OS
Mkdir-p/home/OS
Mount-o loop-t iso9660 RHEL_5.6x86_64.iso OS
Cd OS/Server
5. Install the required basic compilation tools:
[Root @ localhost oracle] # rpm-ivh kernel-headers-
[Root @ localhost oracle] # rpm-ivh glibc-headers-
[Root @ localhost oracle] # rpm-ivh glibc-devel-
[Root @ localhost oracle] # rpm-ivh libgomp-
[Root @ localhost oracle] # rpm-ivh sysstat-
[Root @ localhost oracle] # rpm-ivh libaio-devel-
[Root @ localhost oracle] # rpm-ivh libstdc ++-devel-
[Root @ localhost oracle] # rpm-ivh unixODBC-
[Root @ localhost oracle] # rpm-ivh unixODBC-devel
[Root @ localhost oracle] # rpm-ivh gcc-
[Root @ localhost oracle] # rpm-ivh gcc-c ++-
[Root @ localhost oracle] # rpm-ivh elfutils-libelf-devel-static-
6. Set the modify core parameters:
Open/etc/sysctl. conf and add the following content at the end.
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Net. core. rmem_default = 4194304
Net. core. rmem_max = 4194304
Net. core. wmem_default = 262144
Fs. file-max = 6815744
Net. ipv4.ip _ local_port_range = 9000 65500
Net. core. wmem_max = 1048576
Fs. aio-max-nr = 1048576
Make it take effect:
Sysctl-p
7. Modify/etc/security/limits. conf and the following parameters for oracle user logon:
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
8. modify the system environment variable/etc/profile.
Modify the environment variable/etc/profile and add the following content:
If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
9: Set ORACLE environment variables
Export ORACLE_SID = orcl
Export ORACLE_BASE =/opt/oracle/app
Export ORACLE_HOME = $ ORACLE_BASE/product/11.2.0/dbhome_1
Export PATH = $ PATH: $ HOME/bin: $ ORACLE_HOME/bin
Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib
10: Modify the user login environment variable. bashrc
Export ORACLE_SID = orcl
Export ORACLE_BASE =/opt/oracle/app
Export ORACLE_HOME = $ ORACLE_BASE/product/11.2.0/dbhome_1
Export PATH = $ PATH: $ HOME/bin: $ ORACLE_HOME/bin
Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib
11. Install
Step 1:
Su-oracle
Cd/usr/local/oracle/database
Download the database. rsp home directory/home/oracle and run
./RunInstaller-silent-noconfig-ignorePrereq-responseFile/home/oracle/db. rsp
Run
View Installation Process
You can view the installation progress in the/home/oracle/oraInventory/logs directory.
Tail-100f installActions2014-09-03_10-36-42AM.log
3) Prompt for script execution after successful installation
The last prompt is:
/Opt/app/oracle/oraInventory/orainstRoot. sh
/Opt/app/oracle/product/11.2.0/db_1/root. sh
To execute the configuration scripts:
1. Open a terminal window
2. Log in as "root"
3. Run the scripts
4. Return to this window and hit "Enter" key to continue
Successfully Setup Software.
How to install oracle11g silently
First, we should deny the upstairs statement. Silent Installation can even be achieved by combining scripts with response files for silent automatic installation. You can refer to the following article as an entry.
Www.cnblogs.com/..3.html
Linux oracle Silent Installation cannot exit automatically
What cannot be automatically ended? How did you manually end the process?
After running, press Enter.