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 7.4 安裝LinuxServer
- Red Hat Enterprise Linux 9的簡介Linux
- 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 10 下載 - 紅帽企業 LinuxLinux
- 《Red Hat Enterprise Linux 9 系統管理實戰》簡介Linux
- 甲骨文與紅帽擴大合作,將Red Hat Enterprise Linux引入 Oracle Cloud InfrastructureLinuxOracleCloudASTStruct
- G005-OS-INS-02 Red Hat Enterprise Linux V8.2 安裝Linux
- Red Hat 7.x 配置ArcGIS Enterprise開機自動啟動
- Red Hat Enterprise Linux 6 7關閉透明大頁面及透明大頁面基礎概念Linux
- Red Hat Linux安裝CentOS的yum源LinuxCentOS
- Linux red hat 核心版下安裝NginxLinuxNginx
- Linux Red Hat啟動時顯示system not foundLinux
- Red Hat 7.5 Yum Replacement
- SQLServer2017_Install_for_CentOS Linux release 7.5SQLServerCentOSLinux
- Installing Oracle 9i on OELRHEL 4.8 64bitOracle
- AIX 5.3 Install Oracle 10g RAC 錯誤集錦AIOracle 10g
- 華為雲Ubuntu 22.04 server 64bit 安裝dockerUbuntuServerDocker
- Kioptrix Level 1(Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_ssl/2.8.4)ApacheLinux
- 在Red Hat和Centos上安裝MongoDBCentOSMongoDB
- 紅帽釋出 Red Hat Enterprise Linux 9!轉向邊緣和多雲|下一代企業 IT 基礎設施旗艦Linux
- 新的安全漏洞正影響 CentOS 和 Red Hat Linux 發行版CentOSLinux
- Red Hat 7.9安裝達夢資料庫DM8 使用Xmanager Enterprise 5啟動圖形化時報錯資料庫
- SUSE Linux Enterprise Server 15入住Windows 10微軟商店LinuxServerWindows微軟
- Error: DPI-1047: Cannot locate a 64-bit Oracle Client library: "問題ErrorOracleclient
- 阿里雲伺服器靜默安裝Oracle 11.2.0.4.0 -64bit阿里伺服器Oracle
- VS Code擴充--Language Support for Java(TM) by Red Hat(1.3.0)Java
- 攻略 - 自建 Red Hat 企業級系統 Vagrant Box
- Oracle Linux 7.1 silent install 19cOracleLinux
- Windows server 2012 R2配置NTP ServerWindowsServer
- EMQX Enterprise 5.5 釋出:新增 Elasticsearch 資料整合MQElasticsearch
- Oracle Linux 7.1 silent install 19C RACOracleLinux
- Linux安裝Redis 6.0.5 ./install_server.sh報錯LinuxRedisServer
- 三國爭霸 Mint、Ubuntu 和 Red Hat 巔峰對決Ubuntu
- 解決出現This system is not registered to Red Hat Subscription Management的問題
- 收購Red Hat,能否讓步履維艱的IBM走出困境?IBM
- studio if you already have a 64-bit JDK installedJDK
- Challenges preventing us moving to 64 bit transaction id (XID)?
- oracle 10g flashback databaseOracle 10gDatabase