内存:Memory >= 1024M
交换空间:Swap
Memory > /etc/security/limits.conf oracle hard nproc 16348 > oracle soft nofile 1024 > oracle hard nofile 65536 > EOF //配置/etc/pam.d/login
Oracle 10g在CentOS上的安装和升级
本文导语: 1、检查系统,看是否满足Oracle10G的安装条件。 ①硬件条件: 内存:Memory >= 1024M 交换空间:Swap Memory > /etc/security/limits.conf oracle hard nproc 16348 > oracle soft nofile 1024 > oracle hard nofile 65536 > EOF //配置/etc/pam.d/login [root@localhost /]# cat >...
内存:Memory >= 1024M
交换空间:Swap
Memory > /etc/security/limits.conf oracle hard nproc 16348 > oracle soft nofile 1024 > oracle hard nofile 65536 > EOF //配置/etc/pam.d/login
[root@localhost /]# cat >> /etc/pam.d/login EOF
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi alias ls="ls -FA" alias s="screen -DRRS iPad -t iPad" export JAVA_HOME=/usr/local/java # User specific environment and startup programs export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1 export ORACLE_PATH=$ORACLE_BASE/dba_scripts/sql:.:$ORACLE_HOME/rdbms/admin export ORACLE_SID=TESTDB export PATH=.:${JAVA_HOME}/bin:$JAVA_HOME/db/bin:${PATH}:$HOME/bin:$ORACLE_HOME/bin export PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin export PATH=${PATH}:$ORACLE_BASE/dba_scripts/bin export ORACLE_TERM=xterm export TNS_ADMIN=$ORACLE_HOME/network/admin export ORA_NLS10=$ORACLE_HOME/nls/data export NLS_DATE_FORMAT="DD-MON-YYYY HH24:MI:SS" export LD_LIBRARY_PATH=$ORACLE_HOME/lib export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib export CLASSPATH=$ORACLE_HOME/JRE export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/oc4j/ant/lib/ant.jar export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/oc4j/ant/lib/ant-launcher.jar export CLASSPATH=${CLASSPATH}:$JAVA_HOME/db/lib/derby.jar export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib export THREADS_FLAG=native export TEMP=/tmp export TMPDIR=/tmp
VNCSERVERS="1:root 2:oracle" VNCSERVERARGS[1]="-geometry 1200x720" VNCSERVERARGS[2]="-geometry 1200x720"保存,并推出。
更多详情见请继续阅读下一页的精彩内容: