oracle| Server | advanced
This article will introduce Oracle Database 9IR2 installation under red Hat Linux Advanced server2.1, if you have experience installing Oracle8i, the following installation process is trivial:
Hardware requirements:
Hard disk space: Install the oracle9i database at least 2.5GB more than the remaining space.
Temporary hard disk space: Oracle installer requires more than 400M of temporary hard disk space during installation;
Memory: Installing the Oralce 9i software requires at least 512M memory (I am using 256MB memory during my personal installation).
Installation:
1. Red Hat Linux Advanced server2.1:
Download location: Unknown (not free version)
2. Oracle9ir2:
Download location: http://otn.oracle.com/software/prod.../linuxsoft.html
(Note: 1. Version number 9.2.0.1)
Decompression method: Take Linux9i_Disk1.cpio.gz as an example.
Gunzipt Linux9i_Disk1.cpio.gz
CPIO–IDMV < Linux9i_disk2.cpio
After unpack, form three directories: installation files:
(Disk1 Disk2 Disk3)
3. Binutils:
7.3 with nutils-2.11.90.0.8-9, but easy to install problems, recommended download binutils-2.10.0.18-1.i386.rpm
Download Address: ftp://ftp.redhat.com/pub/redhat/lin...i386.rpm, install Binutils as root user:
RPM-UVH--force--nodeps binutils-2.10.0.18-1.i386.rpm
After the oracle9i installation is complete, restore its version:
RPM-UVH--force--nodeps binutils-2.11.90.0.8-9.i386.rpm
4. JDK: (This I am not installing because the Advanced Server version 2.1 defaults with IBMJAVA;9IR2 and also comes with Java)
Download Address: http://www.blackdown.org or http://java.sun.com
Installation:
BUNZIP2-DC jdk118_v3-glibc-2.1.3.tar.bz2 tar xvf jdk118_v3-glibc-2.1.3.tar
Ln-s/usr/local/jdk118_v3/usr/local/java
5. Configuring Kernel Parameters
Oracle9i use Linux shared memory, swap areas, and other resources to work, if your kernel parameter settings can not meet the requirements of Oracle, the installation of oracel9i or use of the process will frequently occur, so the parameters of the configuration system kernel is particularly important and critical. I configured only the size of the shared memory when I installed it.
The configuration of kernel parameters is typically configured under the/proc folder:
1). As Root User:
Su-root
2. Set the shared memory size, the shared memory size is generally set to half the physical memory, where we assume that the physical memory is 512M
The value of shared memory is 4294967295 and so on, and if your physical memory is 1G then the value here is 8589934590:
echo 4294967295 > Shmmax
To view shared memory settings:
Cat/proc/sys/kernel/shmmax
6 Add Users:
Oracle needs to use a specific user (not root) for installation and use, and the Oracle Standard specification is to add three dedicated users and user groups, for easy installation and use we have the installation and use of Oracle to a specific user to complete.
To create the Oracle installation group and user group first, we set up two user groups named Oinstall, DBA, and log in to the root user system:
1) Groupadd Oinstall
2) Groupadd DBA
To add an Oracle User:
1) useradd oracle–g oinstall–g dba-d/opt/oracle
2) Password Oracle
7. Create installation directory: As root User:
Mkdir/opt/oracle
Mkdir/opt/oracle/product
mkdir/opt/oracle/product/9.2.0
2)./runinstaller
Problems in the installation of the solution: generally in accordance with the error prompts can be, if it is because of the binutils problem, it must be binutils version of the wrong, it is recommended to install a good binutils after oracle9i installation.
Oracle9i in the process of installing the database, you will need to enter the SYS and system user's password, you can set your own password.
10. To start a database:
Note: SVRMGRL is not supported in 9i, DGMGRL
1) $DGMGRL
2) Connect sys/xxxx as Sysdba
3) Startup
(Note: 9i tips and 8i are different, only two lines, here is not listed)
At this point, oracle9ir2 in red Hat Linux Advanced server2.1 installed!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.