ORACLE Install (10g r2) FOR Red Hat Enterprise Linux Server release 5.5 (64 bit)
OS Info
----------
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
# cat /etc/issue.net
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Kernel r on an m
# uname -rm
2.6.18-194.el5 x86_64
# echo $MACHTYPE
x86_64-redhat-linux-gnu
# cat /proc/cpuinfo|grep "model name"
model name : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
model name : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
model name : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
model name : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
model name : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
model name : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
model name : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
model name : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
# free -m
total used free shared buffers cached
Mem: 3940 3816 124 0 72 3428
-/+ buffers/cache: 315 3625
Swap: 8001 0 8001
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 67G 6.9G 56G 11% /
/dev/sda6 1.6T 3.7G 1.6T 1% /oradata
/dev/sda2 95G 188M 90G 1% /archive
/dev/sda1 99M 20M 74M 22% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
1.check packages
# rpm -q make gcc glibc compat-db-4.2.52-5.1 compat-gcc-34-3.4.6-4 compat-gcc-34-c++-3.4.6-4 compat-libstdc++-33-3.2.3-61 compat-libstdc++-devel libXp
openmotif22 setarch
make-3.81-3.el5
gcc-4.1.2-48.el5
glibc-2.5-49
glibc-2.5-49
compat-db-4.2.52-5.1
compat-db-4.2.52-5.1
compat-gcc-34-3.4.6-4
compat-gcc-34-c++-3.4.6-4
compat-libstdc++-33-3.2.3-61
compat-libstdc++-33-3.2.3-61
package compat-libstdc++-devel is not installed --沒有找到,不需安裝
libXp-1.0.0-8.1.el5
libXp-1.0.0-8.1.el5
openmotif22-2.2.3-18
setarch-2.0-1.1
2.create oracle user&group
# groupadd -g 501 dba
# useradd -u 501 -g dba -G dba -m -s /bin/bash -d /home/oracle oracle
# passwd oracle
3. check memory
# grep MemTotal /proc/meminfo
MemTotal: 4035400 kB
# grep SwapTotal /proc/meminfo
SwapTotal: 8193108 kB
4.check disk
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 67G 4.9G 58G 8% /
/dev/sda6 1.6T 197M 1.6T 1% /oradata
/dev/sda2 95G 188M 90G 1% /archive
/dev/sda1 99M 20M 74M 22% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
5.create Directory For oracle
# mkdir /orahome
# chown -R oracle:dba /orahome /home/oracle /oradata /archive
# chmod -R 775 /orahome /home/oracle /oradata /archive
6.Redhat Version change
# mv /etc/redhat-release /etc/redhat-release.orig
# echo "Red Hat Enterprise Linux Server release 4 (Nahant Update 4)" > /etc/redhat-release
7.setting system parameters
# cat >> /etc/sysctl.conf << EOF
kernel.core_uses_pid = 1
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 = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 262144
EOF
# /sbin/sysctl -p
-------
cat >> /etc/security/limits.conf << EOF
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
EOF
-------
# echo "session required /lib/security/pam_limits.so" >> /etc/pam.d/login
---
# vi /etc/profile
add:
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
8.setting oracle profile
# su - oracle
$ vi .bash_profile
export ORACLE_BASE=/orahome
export ORACLE_HOME=/orahome/10.2
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch/opatch:$PATH
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib
export ORACLE_SID=XXX
umask 022
$ source .bash_profile
9.oracle install for vnc
$ gunzip 10201_database_linux_x86_64.cpio.gz
$ cpio -idmv < 10201_database_linux_x86_64.cpio
$ cd database
$ ./runInstaller
10.patch update for vnc
$ unzip p6810189_10204_Linux-x86-64.zip
$ cd DISK1
$./runInstaller
10.Recovery Redhat Version
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 4 (Nahant Update 4)
# rm /etc/redhat-release
# mv /etc/redhat-release.orig /etc/redhat-release
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/789833/viewspace-1042835/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Red Hat Enterprise Linux Server release 6.2配置被動yumLinuxServer
- Oracle 10g R2 Grid Control Installation On Red Hat Enterprise Linux and CentOSOracle 10gLinuxCentOS
- Red Hat Enterprise Linux Server 7.4 安裝LinuxServer
- Red Hat Enterprise LinuxLinux
- Oracle Enterprise Linux Release 5 Update 4 for x86_64 (64 Bit) 下載OracleLinux
- 從 Red Hat Enterprise Linux 2.1 AS升級到 Red Hat Enterprise Linux 3Linux
- Red Hat Enterprise Linux 4.0 U4 X86_64下安裝Oracle10.2.0.1(64bit) [簡易版]LinuxOracle
- Red Hat Enterprise Linux 4.0 U4下安裝Oracle10.2.0.1 (64bit) -- 簡易步驟LinuxOracle
- Red Hat Enterprise Linux 7.4Linux
- Red Hat Enterprise Linux Server release 6.2wwwn號及光纖卡驅動查詢LinuxServer
- Fedora 14 x86-64 install oracle 10g 64 bitOracle 10g
- 【Linux】Virtualbox 安裝 Red hat Enterprise Linux 6.4-64位Linux
- HP 4411s Install Red Hat Enterprise Linux 5.8) Wireless DriverLinux
- Install Oracle11g R2 on Linux AS4.7 x86-64bitOracleLinux
- How to configure password openldap server in Red Hat Enterprise Linux 5?LDAServerLinux
- Red Hat Enterprise Linux 9的簡介Linux
- Red Hat Enterprise Linux 7的新功能Linux
- Oracle9i (9.2.0.4.0) Installation on Red Hat Enterprise Linux 5OracleLinux
- Red Hat Enterprise Linux使用資源的限制Linux
- Red Hat Enterprise Linux AS4-U3硬碟Linux硬碟
- 在red hat enterprise linux 5.4上安裝oracle11gLinuxOracle
- How to disable transparent hugepages (THP) on Red Hat Enterprise Linux 7Linux
- How to disable transparent Hugepage (THP) on Red Hat Enterprise Linux 8?Linux
- Red Hat Enterprise Linux 6官方中文文件Linux
- Red Hat Enterprise Linux 5產品線終結Linux
- asm 包下載地址 Red Hat Enterprise Linux5ASMLinux
- Why is gam_server using up 100% of my CPU on Red Hat Enterprise Linux 4GAMServerLinux
- 64位ret hat linux 5.5安裝小記Linux
- Grid Control Installation On Red Hat Enterprise LinuxLinux
- Migrating Red Hat Linux 2.1 or 3.0 to Red Hat Linux 4.0Linux
- Oracle9.2.0.4 在 Red Hat Enterprise 4上的安裝Oracle
- Red Hat 6.5安裝Oracle 10g故障彙總Oracle 10g
- linux64bit下安裝mysql5.5LinuxMySql
- [zt]Oracle9i (9.2.0.4.0) Installation on Red Hat Enterprise Linux 5 (RHEL5)OracleLinux
- 《Red Hat Enterprise Linux 9 系統管理實戰》簡介Linux
- Red Hat Enterprise Linux AS 5.3 下配置裸裝置(raw device)Linuxdev
- 在Red Hat Enterprise Linux中有什麼型別的核心?Linux型別
- Installing Oracle 10G RAC on Red Hat Advanced Server Version 3 Update 2Oracle 10gServer