安装平台centos6.5 + oracle 11g
声明:本文为自己笔记整理,非完整安装步骤,仅供参考;;;;步骤一:指定主机名和规划IP地址(需重启系统) 主机名:xyhdb 修改#vim /etc/hosts文件 添加xyhdb xyhdb.xyh 系统IP地址:ip 192.168.0.233/24 网关X.1 #setup 创建相关文件夹和oracle用户groupadd oinstallgroupadd dbauseradd -g oinstall -G dba oraclemkdir -p /u01/appmkdir /u01/oradatamkdir /u01/oraInventorychown -R oracle:oinstall /u01/app/chown -R oracle:oinstall /u01/oradatachown -R oracle:oinstall /u01/oraInventorychmod -R 775 /u01/app/chmod -R 775 /u01/oradatapasswd oracle================================================添加环境变量:修改/home/oracle目录下的.bash_profileexport ORACLE_BASE=/u01/appexport ORACLE_HOME=$ORACLE_BASE/oracle/product/11.2/db_homeexport PATH=$ORACLE_HOME/bin:$PATHexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATHexport ORACLE_SID=orcl使用root账户修改参数Add the following lines to the "/etc/security/limits.conf" file.oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 4096oracle hard nofile 65536oracle soft stack 10240==============================================================使用oracle账户解压数据库文件unzip p13390677_112040_Linux-x86-64_1of7.zipunzip p13390677_112040_Linux-x86-64_2of7.zip启动安装命令[oracle@xyhdb database]$ ./runInstaller==============================================================yum安装软件包yum install gcc gcc-c++ libaio-devel compat-libstdc++ libstdc++-devel -yrpmrpm -ivh compat-libstdc++-33-3.2.3-69.el6.x86_64.rpmrpm -ivh pdksh-5.2.14-30.x86_64.rpm----------------------------------------------------------------------------------其它相关命令:dbca 创建数据库netca 配置监听lsnrctl status 查看监听状态