Red Hat Enterprise Linux 4.0 U4 X86_64下安裝Oracle10.2.0.1(64bit) [簡易版]
硬體環境:
DELL PE2950
8G Mem
Red Hat Linux 版本:
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Kernel 2.6.9-42.ELsmp on an x86_64
Red Hat Enterprise Linux 4.0 U4: 打包
binutils-2.15.92.0.2-10.EL4
compat-db-4.1.25-9
control-center-2.8.0-12
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
glibc-2.3.4-2
glibc-common-2.3.4-2
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
libaio-devel-0.3.105-2.x86_64.rpm
libaio-0.3.105-2.x86_64.rpm
配置Kernel Parameter .
修改檔案 /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 4294967296 # Half the size of physical memory (in bytes)
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.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
Oracle使用者環境變數設定:
修改 /home/oracle/.bash_profile
加入oracle使用者的環境變數 .
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin
BASH_ENV=$HOME/.BASHRC
export BASH_ENV PATH
unset USERNAME
# Set Oracle Environment
ORACLE_HOME=/u01/product/oracle;export ORACLE_HOME
ORACLE_SID=wind;export ORACLE_SID
ORACLE_OWNER=oracle;export ORACLE_OWNER
ORACLE_BASE=/u01/product;export ORACLE_BASE
ORACLE_TERM=vt100;export ORACLE_TERM
#NLS_LANG='traditional chinese_taiwan'.ZHT16BIG5;export NLS_LANG
LD_LIBRARY_PATH=$ORACLE_HOME/lib;export LD_LIBRARY_PATH
set -u
PS1=`hostname`'$';export PS1
EDITOR=/bin/vi; export EDITOR
JAVA_HOME=/usr/local/java;export JAVA_HOME
ORA_NLS33=/u01/product/oracle/ocommon/nls/admin/data;export ORA_NLS33
CLASSPATH=/u01/product/oracle/jdbc/lib/classesl11.zip:/usr/local/java;
export DISPLAY=127.0.0.1:0.0
export LD_ASSUME_KERNEL=2.6.9
PATH=$ORACLE_HOME/bin:$JAVA_HOME/bin:$PATH:.;export PATH
alias ll='ls -l';
alias ls='ls --color';
alias his='history';
Add the following lines to the /etc/security/limits.conf file:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
Add or edit the following line in the /etc/pam.d/login file, if it does not
already exist:
session required pam_limits.so
Oracle : 暫時設定記憶體大小
SGA : 3G
Shared_Pool_Size : 500 M
PGA : 500 M .
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-84556/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Red Hat Enterprise Linux 4.0 U4下安裝Oracle10.2.0.1 (64bit) -- 簡易步驟LinuxOracle
- Linux red hat 核心版下安裝NginxLinuxNginx
- Red Hat Enterprise Linux Server 7.4 安裝LinuxServer
- Red Hat Enterprise LinuxLinux
- Red Hat Linux - top 命令簡易理解Linux
- Red Hat Linux - top 命令簡易理解Linux
- Red Hat Enterprise Linux 9的簡介Linux
- Migrating Red Hat Linux 2.1 or 3.0 to Red Hat Linux 4.0Linux
- 從 Red Hat Enterprise Linux 2.1 AS升級到 Red Hat Enterprise Linux 3Linux
- Red Hat Enterprise Linux 7.4Linux
- Red Hat Enterprise Linux AS 5.3 下配置裸裝置(raw device)Linuxdev
- red hat linux 9.0下安裝oracle 8.1.7(轉)LinuxOracle
- 【Linux】Virtualbox 安裝 Red hat Enterprise Linux 6.4-64位Linux
- 在red hat enterprise linux 5.4上安裝oracle11gLinuxOracle
- red hat linux 9.0安裝求助!(轉)Linux
- Oracle9.2.0.4 在 Red Hat Enterprise 4上的安裝Oracle
- G005-OS-INS-02 Red Hat Enterprise Linux V8.2 安裝Linux
- Red Hat Enterprise Linux 10 下載 - 紅帽企業 LinuxLinux
- 《Red Hat Enterprise Linux 9 系統管理實戰》簡介Linux
- Red Hat Linux安裝CentOS的yum源LinuxCentOS
- Red Hat Enterprise Linux 7的新功能Linux
- Red Hat Enterprise Linux使用資源的限制Linux
- Red Hat Enterprise Linux AS4-U3硬碟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 6官方中文文件Linux
- Red Hat Enterprise Linux 5產品線終結Linux
- asm 包下載地址 Red Hat Enterprise Linux5ASMLinux
- 安裝Red Hat Linux 9最小磁碟空間(轉)Linux
- 虛擬機器下red hat 6.5 linux安裝oracle11g虛擬機LinuxOracle
- 安裝Apache(RH Enterprise Linux AS4 U4)(轉)ApacheLinux
- Red Hat Enterprise Linux Server release 6.2配置被動yumLinuxServer
- Grid Control Installation On Red Hat Enterprise LinuxLinux
- Red Hat Linux 7.0安裝使用手記(六則) (轉)Linux
- 在Red Hat和Centos上安裝MongoDBCentOSMongoDB
- Oracle9i (9.2.0.4.0) Installation on Red Hat Enterprise Linux 5OracleLinux
- 在Red Hat Enterprise Linux中有什麼型別的核心?Linux型別
- How to configure password openldap server in Red Hat Enterprise Linux 5?LDAServerLinux