Install the Oracle10gR2 database on the text interface of Fedora14 (32-bit i686): 1. Create a user and user group [root @ xinchang ~] # Groupadd-g502dba [root @ xinchang ~] # Groupadd-g503oper [root @ xinchang ~] # Groupadd-g504asmadmin [root @ xinchang ~] # Grou
Install the Oracle 10gR2 database on the text interface of Fedora 14 (32-bit i686:
1. Create users and user groups
[Root @ xinchang ~] # Groupadd-g 502 dba
[Root @ xinchang ~] # Groupadd-g 503 running
[Root @ xinchang ~] # Groupadd-g 504 asmadmin
[Root @ xinchang ~] # Groupadd-g 505 oinstall
[Root @ xinchang ~] # Useradd-u 505-g oinstall-G dba, asmadmin, oracle Login
[Root @ xinchang ~] # Passwd oracle
Ii. view the installation environment
1. Memory and SWAP
[Root @ xinchang ~] # Grep MemTotal/proc/meminfo
MemTotal: 1026060 kB
[Root @ xinchang ~] # Grep SwapTotal/proc/meminfo
SwapTotal: 4194300 kB
2. System Architecture
[Root @ xinchang ~] # Uname-m
I686
3. CPU
[Root @ xinchang ~] # Grep "model name"/proc/cpuinfo
Model name: Intel (R) Core (TM) 2 Duo CPU E8400 @ 3.00 GHz
4. Disk Space Requirements
/Tmp space at least 1 GB of available space
[Root @ xinchang ~] # Df-h/tmp
File System capacity in use available % mount point
/Dev/sda3 4.0 GB 2.7G 1.1G 72%/
The installation space is at least 3.95 GB.
[Root @ xinchang ~] # Df-h/home
File System capacity in use available % mount point
/Dev/sda5 32G 841 M 29G 3%/home
In the test environment, I usually like to install oracle in the/home/oracle directory, so I can check the available space size of/home here.
5. system running level
[Root @ xinchang ~] # Who-r
Running level 5
3 or 5
6. view and modify the operating system release-id (the steps here can be left unchanged in my PC)
[Root @ xinchang ~] # Yum-y install RedHat-lsb
[Root @ xinchang ~] # Lsb_release-id
Distributor ID: Fedora
Description: Fedora release 14 (Laughlin)
[Root @ xinchang ~] # Vim/etc/redhat-release
Fedora release 14 (Laughlin)
Change
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
After the installation is complete, change it back.
7. Kernel
[Root @ xinchang ~] # Uname-r
2.6.35.6-45. fc14.i686
Kernel Versions later than 2.6.9 are required
3. Install the dependent Software Package
Binutils
Compat-db
Control-center
Gcc
Gcc-c ++
Glibc
Glibc-common
Gnome-libs
Libstdc ++
Libstdc ++-devel
Make
Pdksh (fedora14 has already eliminated pdksh, so we can install ksh)
Sysstat
Xscreensaver
Iv. Network Settings
[Root @ xinchang ~] # Export ORACLE_HOSTNAME = xinchang.taobao.com
You can also modify/etc/hosts.
5. Configure shell restrictions for oracle Installation owner
1. vim/etc/security/limits. conf
Add the following content:
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
Oracle-memlock unlimited
2. vim/etc/pam. d/login
Add the following content:
Session required pam_limits.so
3. vim/etc/profile
Add the following content:
If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Umask 022
Fi
4. Configure Kernel Parameters
1. vim/etc/sysctl. conf
Add the following content:
Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 1048576
Net. core. rmem_max = 1048576
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
Save and exit
Sysctl-p // application change
Sysctl-a // view the changes