| Advertise on warmetal.nl! Click for more information about advertising here. |
Did you find this website useful? Did I save you a lot of time? |
|
sudo mkgroup oinstall
sudo mkgroup dba
sudo mkgroup oper
sudo mkuser pgrp="oinstall" groups="oinstall,dba,oper" shell='/bin/bash' rlogin='false' sugroups='ALL' su='true' loginretries='10' maxage='0' maxrepeats='8' minlen='5' minother='1' maxexpired='-1' minalpha='3' minage='0' histsize='0' histexpire='0' "oracle"
Set this for the user:
Soft FILE size [-1] Soft CPU time [-1] Soft DATA segment [-1] Soft STACK size [-1]
And set the password:
>sudo passwd oracle Changing password for "oracle" oracle's New password: Re-enter oracle's new password: >sudo pwdadm -c oracle
sudo chdev -l sys0 -a maxuproc='2048'
/opt>sudo mkdir oracle /opt>sudo chown oracle:oinstall oracle
Gives:
drwxr-xr-x 2 oracle oinstall 256 Mar 19 11:22 oracle
After you know you have your X Server working you can start the installation as the oracle user you just created:
oracle@oracleserver:/home/oracle>cd /tmp/sft/Disk1/ oracle@oracleserver:/tmp/sft/Disk1>./runInstaller ************************************************************************** ****** Your platform requires the root user to perform certain pre-installation OS preparation. The root user should run the shell script 'rootpre.sh' be fore you proceed with Oracle installation. rootpre.sh can be found at the top level of the CD or the stage area. Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle installation. Answer 'n' to abort installation and then ask root to run 'rootpre.sh'. ************************************************************************** ****** Has 'rootpre.sh' been run by root? [y/n] (n) y Starting Oracle Universal Installer... No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed. Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-03-19_12-10-24PM. Please wait ...oracle@oracleserver:/tmp/sft/Disk1>Oracle Universal Installer, Version 10.2.0.1.0 Production Copyright (C) 1999, 2005, Oracle. All rights reserved.
Here starts the graphical installation:
In the first screen I entered the oracle inventory directory as /home/oracle/oraInventory. You could also decide to set this directory next to the client, so in my case in /opt/oracle/oraInventory.
When you get to this screen you have to run the showed scripts as root, although the first script can be executed by someone who is allowed to sudo:
oracle@oraleserver:/home/oracle/oraInventory>sudo ./orainstRoot.sh Changing permissions of /home/oracle/oraInventory to 775. Changing groupname of /home/oracle/oraInventory to oinstall. The execution of the script is complete
For the second script you have to be root:
su - root
root's Password:
# bash
bash-3.2# cd /opt/oracle/client/
bash-3.2# ./root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/oracle/client
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Discussion