ORACLE 11g 安装教程

一、准备好一个linux操作系统(centos 5.4)

内存 2G以上

硬盘尽量也要30G以上.

二、安装相应的及依赖的软件包,在这里为了简单,把系统常用和安装ORACLE用到的软件包都安装了

yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers gd gd-devel pcre pcre-devel patch libart_lgpl  libart_lgpl-devel  php-gd gd* vsftpd binutils  compat-db  control-center glibc-common gnome-libs libstdc++ libstdc++-devel make  pdksh  xscreensaver  libaio openmotif21 sysstat  compat-libstdc++-33 elfutils-libelf-devel  libaio-devel  unixODBC unixODBC-devel

三、相应的需求参数配置

vi /etc/security/limits.conf
oracle           soft    nproc           2047
oracle           hard    nproc           16384
oracle           soft    nofile          1024
oracle           hard    nofile          65536

vi /etc/sysctl.conf

fs.file-max = 6815744
fs.aio-max-nr = 1048576
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576

四、建立用户和组

groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
五、上传11g的包到服务器.解压

略,..

六、切换oracle用户,

#su -  oracle

运行目录下的

./runInstaller

你可能感兴趣的:(oracle,oracle,职场,11g,休闲,安装教程)