Professional Documents
Culture Documents
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Oracle Forms Upgrade
Get a free quotation and upgrade your forms now ! Go to renaps.com
This article presents how to install Oracle 11G Release 2 in silent mode.
Read following article how to install Oracle Enterprise Linux 6: Install Oracle
Enterprise Linux 6 (for comfort set 4G memory for your virtual machine before
proceeding with Oracle software installation).
release 11.2.0.4
p13390677_112040_Linux-x86-64_1of7.zip
p13390677_112040_Linux-x86-64_2of7.zip
su - root
Add groups
passwd oracle
fs.aio-max-nr = 1048576
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
/sbin/sysctl -p
Add following lines to set shell limits for user oracle in file
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
/etc/security/limits.conf
The /etc/hosts file must contain a fully qualified name for the server.
For example.
# Oracle Settings
export TMP=/tmp
export ORACLE_HOSTNAME=oel6.dbaora.com
export ORACLE_UNQNAME=ORA11G
export ORACLE_BASE=/ora01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export ORACLE_SID=ORA11G
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
PATH=/usr/sbin:$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
umask 022
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
unixODBC \
unixODBC-devel
ORACLE_BASE – /ora01/app/oracle
ORACLE_HOME – /ora01/app/oracle/product/11.2.0/db_1
mkdir -p /ora01/app/oracle/product/11.2.0/db_1
chown oracle:oinstall -R /ora01
Secure Linux
Disable secure linux by editing the /etc/selinux/config file, making sure the
SELINUX flag is set as follows.
SELINUX=permissive
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
and enforce it
setenforce Permissive
Disable firewall
su - oracle
cd /home/oracle
[oracle@oel6 ~]$ ls
database
p13390677_112040_Linux-x86-64_1of7.zip
p13390677_112040_Linux-x86-64_2of7.zip
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Check directories and aliases for user oracle
Response files
Once Oracle 11GR2 binaries are unzipped you can find in directory
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
/home/oracle/database/response dedicated files called “response files” used
for silent mode installations.
cd /home/oracle/database/response
[oracle@oel6 response]$ ls
dbca.rsp db_install.rsp netca.rsp
It’s the best to preserve original response file db_install.rsp before editing it
Edit file db_install.rsp to set parameters required to install binaries. This is just
example and in next releases parameters can be different. Each of presented
parameter is very well described in db_install.rsp. I just give here brief
explanations.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
--force to install only database software
oracle.install.option=INSTALL_DB_SWONLY
cd /home/oracle/database
./runInstaller -silent \
-responseFile /home/oracle/database/response/db_install.rsp
output is following
you are asked to run two scripts as user root. Once it’s done binaries are
installed
[root@oel6 /]#
/ora01/app/oraInventory/orainstRoot.sh
/ora01/app/oracle/product/11.2.0/db_1/root.sh
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Again based on response file Oracle Net will be configured
cd /home/oracle/database/response
cp netca.rsp netca.rsp.bck
You can edit netca.rsp to set own parameters. I didn’t changed anything here.
So just start standard configuration. It will configure LISTENER with standard
settings.
example output
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Check LISTENER status
lsnrctl status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0
- Production
Start Date 06-FEB-2015 22:58:06
Uptime 0 days 0 hr. 2 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
/ora01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File
/ora01/app/oracle/diag/tnslsnr/oel6/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oel6)(PORT=1521)))
The listener supports no services
The command completed successfully
Configure database
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
The last setup is to create new database ORA11G.dbaora.com
mkdir /ora01/app/oracle/oradata
mkdir /ora01/app/oracle/flash_recovery_area
cd /home/oracle/database/response
cp dbca.rsp dbca.rsp.bck
vi dbca.rsp
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
--creates database console
EMCONFIGURATION = "LOCAL"
STORAGETYPE=FS
Example output
Verify connection
Connected to:
Oracle Database 11g Enterprise Edition
Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining
and Real Application Testing options
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
https://oel6.dbaora.com:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Edit the “/etc/oratab” file to set restart flag for ORA11G to ‘Y’.
ORA11G:/ora01/app/oracle/product/11.2.0/db_1:Y
Have a fun
Tomasz
LIKE THIS:
Like
Be the first to like this.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
excellent guide.. thank you
Reply ↓
Reply ↓
Thank you!
Reply ↓
Reply ↓
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
steeven on April 20, 2016 at 3:30 am said:
Reply ↓
Reply ↓
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Name *
Email *
Website
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com