Linux下安裝Oracle 10g的一些設定檔

來源:互聯網
上載者:User

基本的安裝過程參考網上的一些安裝說明即可。

把安裝過程中的對Linux的一些配置說明一下,基本就是對Oracle使用者目錄下的.bash_profile進行配置。把我在RedHat EL4下的oracle使用者的.bash_profile設定檔張貼如下:

[oracle@s002 ~]$ more .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_11; export ORACLE_HOME
ORACLE_SID=demol; export ORACLE_SID
#NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS32GB18030"; export NLS_LANG
export LC_CTYPE=en_US.UTF-8
export LD_ASSUME_KERNEL=2.6.9

export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib:$ORACLE_HOM
E/network/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export PATH=$PATH:/bin:/usr/bin:/usr/sbin:/etc:/opt/bin:/usr/ccs/bin:/usr/openwi
n/bin:/opt/local/GNU/bin
export PATH=$PATH:/opt/local/bin:/opt/NSCPnav/bin:$ORACLE_HOME/bin
export PATH=$PATH:/usr/local/samba/bin:/usr/ucb
export PATH=$PATH:/usr/local/jre/bin
alias cdora="cd $ORACLE_HOME"

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME


這個設定並不是唯一的,使用者必須要根據自己資料庫系統的安裝目錄來進行修改,基本需要改動的可能就是ORACLE_BASE,ORACLE_HOME,這個要根據自己的實際情況來進行設定。

基本的oracle10安裝說明呆會轉過來,參考說明一步步安裝即可。

安裝已經在REDHAT EL4下測試通過。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.