閱讀更多
從 DVD 安裝
# From Oracle Linux 6 DVD cd /media/cdrom/Server/Packages rpm -Uvh binutils-2*x86_64* rpm -Uvh glibc-2*x86_64* nss-softokn-freebl-3*x86_64* rpm -Uvh glibc-2*i686* nss-softokn-freebl-3*i686* rpm -Uvh compat-libstdc++-33*x86_64* rpm -Uvh glibc-common-2*x86_64* rpm -Uvh glibc-devel-2*x86_64* rpm -Uvh glibc-devel-2*i686* rpm -Uvh glibc-headers-2*x86_64* rpm -Uvh elfutils-libelf-0*x86_64* rpm -Uvh elfutils-libelf-devel-0*x86_64* rpm -Uvh gcc-4*x86_64* rpm -Uvh gcc-c++-4*x86_64* rpm -Uvh ksh-*x86_64* rpm -Uvh libaio-0*x86_64* rpm -Uvh libaio-devel-0*x86_64* rpm -Uvh libaio-0*i686* rpm -Uvh libaio-devel-0*i686* rpm -Uvh libgcc-4*x86_64* rpm -Uvh libgcc-4*i686* rpm -Uvh libstdc++-4*x86_64* rpm -Uvh libstdc++-4*i686* rpm -Uvh libstdc++-devel-4*x86_64* rpm -Uvh make-3.81*x86_64* rpm -Uvh numactl-devel-2*x86_64* rpm -Uvh sysstat-9*x86_64* rpm -Uvh compat-libstdc++-33*i686* rpm -Uvh compat-libcap* rpm -Uvh mksh*x86_64* cd / eject
注意: 11g 需要 pdksh 套件,不過 RedHat 6 已經移除此套件,改用 mksh 替代。
雖然安裝了替代套件,Oracle 安裝程序仍會顯示 WARNING
Package: pdksh-5.2.14 Warning
請選擇忽略這項,以繼續安裝。
/etc/security/limits.conf
## for Oracle DB 11g oracle soft nproc 16384 oracle hard nproc 16384 oracle soft nofile 4096 oracle hard nofile 65536 oracle soft stack 10240
/home/oracle/.bash_profile
# Oracle Settings TMP=/tmp; export TMP TMPDIR=$TMP; export TMPDIR ORACLE_BASE=/opt/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/11.2.4/db_1; export ORACLE_HOME ORACLE_SID=hcpprod; export ORACLE_SID PATH=$ORACLE_HOME/bin:$PATH; export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi PS1=$'\\n$ [ $LOGNAME@\h:$PWD [SID:${ORACLE_SID:-"no sid"}] ]\\n$ ' ; export PS1
NOTE: 不用手動修改 /etc/redhat-release。
su - oracle cd /<Oracle-Install-Source>/database ./runInstaller
Configure Security Updates
Do you wish to remain uninformed of critical security issues in your configuration? Yes
Download Software Updates
Select Installation Option
Grid Installation Options
Select Product Languages
Select Database Edition
Specify Installation Location
Create Inventory
Privileged Operating System Groups
Prerequisite Checks
Images 0 | ||
---|---|---|
No images to display in the gallery. |