Escolar Documentos
Profissional Documentos
Cultura Documentos
1. Groupadd oracle 2. Groupadd dba 3. Useradd -g oracle -G dba oracle 4. Passwd oracle 5. Mkdir /oracle 6. Mkdir /oracle/10g 7. Chown -R oracle:oracle /oracle 8. Chmod 777 -R /oracle 9. Gedit /home/oracle/.bashrc at bottom)
ORACLE_SID=orcl ORACLE_BASE=/orac le ORACLE_HOME=/oracle /10g PATH=$ORACLE_HOME/bin :$PATH:. export ORACLE_SID ORACLE_BASE ORACLE_HOME PATH
kernel . shmmax = 2147483648 kernel . shmmni = 4096 kernel . sem = 250 32000 100 128 fs . f i l e - max = 65536 net. i pv4. i p _ l o ca l _por t _ r ange = 1024 65000
kernel . shmmax = 2147483648 kernel . shmmni = 4096 kernel . sem = 250 32000 100 128 fs . f i l e - max = 65536 net. i pv4. i p _ l o ca l _por t _ r ange = 1024 65000 net.co re . rmem_defaul t = 1048576 net.co re . rmem_max = 1048576 net.co re .wmem_defaul t = 262144 net.co re .wmem_max = 262144
11.
Sysctl -P
12. Exit. (logout from root and take login as oracle user) OR you can take login by SU oracle command from root prompt. RUN oracle runInstaller as bellow 13. ./media/cdrom/oracle10g/runinstaller.
The pop-up dialog tells you exactly what you have to do, so if in doubt, just read it carefully. But all that is really required is that you open a new terminal session, become root, and then type in the path and filename as supplied in the original pop-up (i.e /oracle/oraInventory/orainstRoot.sh). The script takes all of half a second to complete,and click the [Continue] button on the original pop-up dialog.
On the next screen, the system performs some basic health checks to ensure that your server is suitable for an Oracle installation to succeed:
Click on Install.
At the end of the installation process, a dialog will appear telling you to run a second script, as root. This script does a fair bit of work -setting file permissions, for example, on the many thousands of files that the installer has just thrown into the installation directories, so it can take a few minutes to complete. Well, you can see what to do in the screenshot: open a new terminal, become root, and type in the path and filename of the script exactly as the original pop-up message displays it (usually, /oracle/10g/root.sh). Wait for the script to completely finish, then click the [OK] button on the original pop-up. You might want to note down the web addresses and port numbers the final screen displays before the entire thing completes:
These details will be needed, for example, if you'd like to run iSQL*Plus in your web browser, rather than traditional client-server (and strictly command-line) SQL*Plus. Other than that, though, you really have finished an Oracle 10g installation. Just click [Exit], confirm when asked that this is really what you want to do.