Escolar Documentos
Profissional Documentos
Cultura Documentos
This document prepared just for informative and learning purposes for beginners. This is based on a server installation with a minimum of 2G swap. #
Oracle 10g Installation Requirements Following Package and Groups should be Installed GNOME Desktop Environment Editors Graphical Internet Text-based Internet Development Libraries Development Tools Legacy Software Development Server Configuration Tools Development Tools Legacy Software Support Administration Tools System Tools X Window System Should add the package 'sysstat' by clicking on the Details link and selecting "sysstat. Alternative installations may require more packages to be loaded. Before Installing Just check what is in the file # vi /etc/redhat-release or # cat /etc/issue Replace the release Information (RedHat Enterprise Linux Server release 5 (Tikanga)) to redhat -4. Successful People in life seem to like LINUX
Page 1 of 15
Double size of the RAM Equal to the size of the RAM .75 times the size of the ram
Configuring the Linux Kernel Parameters To see all kernel parameters # sysctl -a Successful People in life seem to like LINUX
Page 2 of 15
Page 3 of 15
Required Packages for Oracle 10g R2 on the i386 (32-bit). Login as root user and execute package installation command on terminal. Check appropriate disc (If more than one disc) - to set required packages. # cd /media/cdrom/Redhat/RPMS # rpm -Uvh setarch-2* # rpm -Uvh make-3* # rpm -Uvh glibc-2* # rpm -Uvh libaio-0* # rpm -Uvh compat-libstdc++-33-3* # rpm -Uvh compat-gcc-34-3* # rpm -Uvh compat-gcc-34-c++-3* # rpm -Uvh gcc-4* # rpm -Uvh libXp-1* # rpm -Uvh openmotif-2* # rpm -Uvh compat-db-4* # cd / eject It is possible to query each individual package to determine which ones are missing and need to be installed , Check the following command. Successful People in life seem to like LINUX
Page 4 of 15
command in the database directory as $ oracle. Proceed with user friendly installation from rapiz wizard. Good Lock ..
Installation of Oracle Database 10g completed successfully! Congratulations! Now reboot the server and login as oracle user and start DATABASE creation.
OS oracle user account created which owns the Oracle Software.
Page 7 of 15
increase shell limits for the oracle user In limits.conf file . Here , nproc" is the max no of processes available to the user and "nofiles" is the no of open file descriptors. Finally make sure that there is an entry in /etc/hosts file for your machine like
IP HOSTNAME.DOMAIN ALIAS
127.0.0.1 192.168.2.15
localhost.localdomain rhel5.linuxserver
localdomain rhelserv
Machine gets started, it will need to know the mapping of some hostnames to IP addresses before DNS can be referenced. This mapping is kept in
the /etc/hosts file. Environment Variable Setup for linux # echo $dispaly # echo env | more or env The string 0.0 identifies a server number and an optional screen number. In $ DISPLAY=localhost:0.0 ; export DISPLAY 0.0 refers to screen zero , on server 0 on the current system. 3.1 would be screen 1 on server three on system "anothermachine".
Page 8 of 15
The xhost program is used to add and delete host (computer) names (user names) to the list of machines and users are allowed to make connections to the X server. If access control is enabled ; xhost Access control enabled , only authorized clients can connect
If access control is disabled ; xhost Access control disabled, clients can connect from any host
To disable the access control ; xhost + Allows any host to access X Server.
To enable the access control ; xhost only authorized clients/hosts are allowed.
xhost + hostname Adds hostname to X server access control list. xhost - hostname Removes hostname from X server access control list.
Page 9 of 15
Page 11 of 15
Page 12 of 15
Page 13 of 15
release. Users should migrate to SQL Developer instead. Successful People in life seem to like LINUX
Page 14 of 15
Oracle 10g Installation on Redhat Enterprise Linux | RHEL - 5 Installing SQL*Plus Instant Client
SQL*Plus is a command line interface to the Oracle Database. SQL*Plus allows to define and manipulate data in oracle database. SQL*Plus is a basic oracle database utility used by Admins/Developers. SQL*Plus recognizes SQL commands and sends these commands to Oracle server for execution. SQL*PLUS OPERATIONS Listing definations of tables. Accessing and transferring data between databases. Execution of SQL commands (Editing/Saving/Loading) and PLSQL blocks. Formatting, saving, printing, calculations on the results of a query in the form of reports. Functions for Oracle database managing like users administration, tablespaces, operations management of archiving and recovery. To Install SQL*Plus Instant Client, we need two Packages: 1 ) SQL*Plus Instant Client package. 2 ) Basic OCI Instant Client package. (or)
Page 15 of 15