Fedora 16 安装oracle 11G

/etc/sysctl.conf
-------------------------------------------
fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 536870912 kernel.shmmni = 4096 # semaphores: semmsl, semmns, semopm, semmni kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default=262144 net.core.rmem_max=4194304 net.core.wmem_default=262144 net.core.wmem_max=1048586

----------------------------------------------------
# /sbin/sysctl -a | grep

# /sbin/sysctl -p

下载:
binutils
libaio, libaio-devel
ksh
sysstat
unixODBC, unixODBC-devel
compat-libstdc++-33
--------------------------------------------------------
/etc/pam.d/login

session    required     pam_limits.so
---------------------------------------------------------
/etc/security/limits.conf

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
--------------------------------------------------------

groupadd oinstall
groupadd dba
groupadd oper
groupadd asmadmin
useradd -g oinstall -G dba,oper,asmadmin oracle
----------------------------------------------------------
/etc/selinux/config

SELINUX=disabled
------------------------------------------------------
/etc/redhat-release
redhat release 5
-----------------------------------------------------
mkdir -p /app/oracle/product/11.2.0/dbhome_1 chown -R oracle:oinstall /app chmod -R 775 /app
-----------------------------------------------------------
.bash_profile

# Oracle Settings TMP=/tmp; export TMP TMPDIR=$TMP; export TMPDIR ORACLE_HOSTNAME=ultra.xfpmurphy.com; export ORACLE_HOSTNAME ORACLE_UNQNAME=dbhome_1; export ORACLE_UNQNAME ORACLE_BASE=/app/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1; export ORACLE_HOME ORACLE_SID=dbhome_1; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM PATH=/usr/sbin:$PATH; export PATH 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
----------------------------------------------------------------
/etc/hosts
[INS-06101] IP address of localhost could not be determined
--------------------------------------------------------------------
$ORACLE_HOME/sysman/lib/ins_emagent.mk
search for the line $(MK_EMAGENT_NMECTL) and replace the line with $(MK_EMAGENT_NMECTL) -lnnz11 as shown above.


猜你喜欢

转载自kingschan.iteye.com/blog/1465258