Chinese (People's Republic of China)  English  Français


Supinfo-Projects.com
Supinfo Students' projects



Projects
  Last project
  Top projects
  All projects

100 User's online
3168 Projects


My Supinfo-Projects

   Login
   Create account


Synopsis

   52 Hits
   Visitors Score : 18.6
    (3 Voter)
   1 Comments

   Read the article

Evaluate this article

20
18
16
14
12
10
8
6
4
2
0


Comment this article

Author :

Email :

Your comment :



 
2006 - Pérennisation
How to install Oracle 10g on Ubuntu Linux
[10 mn of reading - published 5/23/2006 4:30:34 PM - Target : Confirmé]

Author

duflot_sSylvain DUFLOT
Student-Engineer Supinfo Océan-Indien
SUPINFO graduate year  2009

   Write to the person
   All projects of the same author
   Mini-CV of the author

2 Before the installation

2.1 Downloading, libraries installation

First, we have to get the Oracle 10g RC2 installer for Linux. You have to go on the Oracle site: http://www.oracle.com and download it (you'll have to register) Then type this line to install the necessary libraries :

sudo apt-get install gcc, make, binutils,libmotif3,lesstif2,rpm,libaio,zip 

After the download, we have to unzip the archive file that we have download:

unzip fichier_d'installation_oracle.zip 

2.2 Red Hat simulation

The first thing to do in the system's preparation is to simulate a Red Hat distribution. Don't worry, it's not difficult when you follow the guide. The Red Hat is differenciated by Ubuntu in the directory architecture. So we'll create some symbolic link to simulate the Red Hat architecture:

sudo ln -s /usr/bin/awk /bin/awk
sudo ln -s /usr/bin/rpm /bin/rpm
sudo ln -s /usr/bin/basename /bin/basename
sudo ln -s /etc /etc/rc.d

To finish with this step, we have to create a file /etc/redhat-release that countain the information of the Red Hat system, this file is scanned by the installer and if it doesn't exist or if the information countained are wrong, the installer will not work:

sudo gedit /etc/redhat-release

Copy/Paste the following text:

Red Hat Linux release 3.0 (drupal)

2.3 Users / groups Oracle's creation and some modification

This will simply create the system requirement:


sudo userdel nobody
sudo groupadd oinstall
sudo groupadd dba
sudo groupadd nobody
sudo useradd -g oinstall -G dba -p passwd -d /home/oracle oracle -s /bin/bash
sudo useradd -g nobody nobody

Now, we create the directory where Oracle will be installed

sudo mkdir -p /u01/app/oracle
sudo mkdir -p /u02/oradata
sudo chown -R oracle:oinstall /u01 /u02
sudo chmod -R 775 /u01 /u02

At the end of /etc/security/limits.conf add the following:


*               soft    nproc   2047
*               hard    nproc   16384
*               soft    nofile  1024
*               hard    nofile  65536

In the file /etc/pam.d/login, /etc/pam.d/su uncomment the following:

session    required     /lib/security/pam_limits.so

Add this line to /etc/profile

if [ $USER = "oracle" ]; then
ulimit -u 16384 -n 65536
fi

Add the following lines to the end of /home/oracle/.bashrc (open it in root or oracle user):


umask 022
PATH=${PATH}:/u01/app/oracle/oracle/product/10.2.0/db_1/bin/

ORACLE_HOME=/u01/app/oracle/oracle/product/10.2.0/db_1/
ORACLE_SID=orcl
ORATAB=/etc/oratab
ORACLE_HOME_LISTNER=$ORACLE_BASE
ORACLE_BASE=$ORACLE_HOME

export ORACLE_BASE ORACLE_SID ORATAB ORACLE_HOME ORACLE_HOME_LISTNER

The system is now correctly configurated. Well going to the next step.



Articles de la même catégorie

 Pages : Top


16 Hits
0 Comments
The difference in protection between a WEP key and a WPA key.
[10 mn of reading - published 5/22/2006 6:36:19 PM - Target : Débutant]

More


32 Hits
0 Comments
Gestion des utilisateurs sous oracle 9i
[20 mn of reading - published 5/22/2006 3:11:24 PM - Target : Débutant]

More


31 Hits
0 Comments
Installation de Debian Sarge sur un Thinkpad T43P
[20 mn of reading - published 5/22/2006 2:44:20 PM - Target : Débutant]

More

Powered by Campus-Booster Technology
Conditions d'utilisation & Copyright | Respect de la vie privée
© Copyright 1965-2006 Supinfo Paris, Paris Academy of Computer Science
Supinfo, Ecole Supérieure d'Informatique et Paris Academy Of Computer Science are trade marks.
23, rue de Château LANDON - 75010 PARIS - Phone : +33 (0) 153359 700 Fax : +33 (0) 153359 701

Web site autided by :