Académique Documents
Professionnel Documents
Culture Documents
In this article I'll describe the installation of Oracle Application Server 10g Release 2 (10.2.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 10201_database_linux32.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 10g R2. 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/10.2.0
# chown -R oracle:oinstall /u01/app
# chmod -R 775 /u01/app
If you are using X emulation then set the DISPLAY environmental variable:
DISPLAY=<machine-name>:0.0; export DISPLAY
As root, edit file /etc/security/ limits.conf and insert some text before # End of file
8. Install Oracle
The oracle 10gR2 is compatible with some linux :Red Hat Enterprise 3, 4 but not
CentOS 5. While installing oracle, the error will prompt in installation check. You
need to edit file /etc/redhat-release and change its content:
redhat-4
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 fsrvorcl
$ su - root
# /u01/app/oraInventory/orainstRoot.sh
# /u01/app/oracle/product/11.1.0/db_1/root.sh
# exit
# exit <- close terminal
Click Ok