Installing Oracle Application Server 11g R1 On CentOS
Installing Oracle Application Server 11g R1 On CentOS
In this article I'll describe the installation of Oracle Application Server 11g Release 1 (11.1.0) on
CentOS 5.
Additional steps may be necessary when starting with a different base OS installation.
Download Software
Unpack Files
Hosts File
Setup
Download Software
Download the following software:
Unpack Files
Unpack the contents of the file:
unzip linux_11gR1_database_1013.zip
The installation files unpack into the current directory (/tmp/oradb/).
Hosts File
The /etc/hosts file must contain a fully qualified name for the server:
<IP-address> <fully-qualified-machine-name> <machine-name>
Set Up
This section shows you how to install Oracle Database 11gR1. It will guide you through the
following steps:
You want to check whether the packages are installed or not, run the following
command:
To create these groups and user, enter the following command with user root:
# groupadd oinstall
# groupadd dba
# useradd -m -g oinstall -G dba oracle
# passwd oracle
# id oracle
uid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba)
# mkdir -p /u01/app/oracle/product/11.1.0
# chown -R oracle:oinstall /u01/app
# chmod -R 775 /u01/app
fs.file-max = 6553600
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
net.ipv4.tcp_wmem = 262144 262144 262144
net.ipv4.tcp_rmem = 4194304 4194304 4194304
Checking result, enter command to change the current values of the kernel:
# /sbin/sysctl –p
As root, edit file /etc/security/limits.conf and insert some text before # End of file
SELINUX=disabled
8. Install Oracle
To install the Oracle software, you must use the Oracle Universal installer.
Start the Oracle Universal Installer (OUI) by issuing the following command in the
Oracle source directory:
./runInstaller
On Installation Method screen, choose Basic Installation. Check the Oracle home
location and installation type. Select option Create Starter Database
Enter the database name fsrvorcl and password and confirmed password fsrvorcl
You need to specify your Inventory directory. The location should be set to
/u01/app/oracle/oraInventory. Accept the default Operating System group name,
oinstall. Then, click Next.
The installer now verifies that the system meets all the minimum requirements for
installing and configuring the chosen product. Please correct any reported errors
before continuing. When the check successfully completes, click Next.
Oracle Configuration Manager allows you to associate your configuration
information with your Metalink account. You can choose to enable it on this window.
Then, click Next.
Review the Summary window to verify what is to be installed. Then, click Install.
$ su - root
# /u01/app/oraInventory/orainstRoot.sh
# /u01/app/oracle/product/11.1.0/db_1/root.sh
# exit
# exit <- close terminal
Switch back to the Universal Installer and click OK
Click Exit on End of Installation screen. Click Yes to confirm exit
$ su - oracle
# emctl start dbconsole
# lsnrctl start
# sqlplus “/ as sysdba”
> startup open
The Database Control Home Page appears. Your installation was successful.