orcale10 不支持 RHEL5 要修改 /etc/redhat_release 将 Red Hat Enterprise Linux Server release 5 (Tikanga) to Red Hat Enterprise Linux Server release 4 (Tikanga)
# ——– #Install oracle
#su oracle
vi ~/.bash_profile #add this line export ORACLE_HOME=/site/opt/oracle/product/10g export ORACLE_SID=nemo export PATH=$ORACLE_HOME/bin:$PATH export TNS_ADMIN=$ORACLE_HOME/network/admin export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK export LANG=AMERICAN_AMERICA.ZHS16GBK
更改系统字体 vi /etc/sysconfig/i18n LANG=”en_US.UTF-8″ 登录系统,xwindows 或者使用vnc #login system in oracle $ vncserver New ‘localhost.localdomain.net:1 (oracle)’ desktop is localhost.domain.net:1 Starting applications specified in /home/oracle/.vnc/xstartup Log file is /home/oracle/.vnc/localhost.localdomain:1.log
chown -R oralce:oinstall /site/opt chmod -R 755 /site/opt cd /home/oracle/database