遥远视频讲座二:oracle 11G 在LINUX虚拟机上的安装录像
2012-05-15 19:55
369 查看
录像(15M): http://street.1dress.cn/install_11g.swf
作者:遥远 博客:http://street.loveunix.cn
请到http://street.loveunix.cn上查找安装笔记
到 otn.oracle.com 网站上下载 oracle 11g
将第一课中已经安装好的虚拟机拷贝到一个新的目录,启动新的虚拟机。
编辑 /etc/sysctl.conf :
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
生效 /sbin/sysctl -p
编辑 /etc/security/limits.conf file:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
编辑 /etc/pam.d/login
session required /lib/security/pam_limits.so
session required pam_limits.so
编辑 /etc/profile :
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
创建相关的用户和组:
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/useradd -g oinstall -G dba oracle
passwd oracle
创建目录:
mkdir -p /u01/app/
chown -R oracle:oinstall /u01/app/
chmod -R 775 /u01/app/
从windows网络邻居中mount oracle 11g的安装软件到linux
mount //192.168.2.1/database /mnt
切换成ORACLE用户
修改/home/oracle/.bash_profile,加入:
umask 022
ORACLE_BASE=/u01/app/oracle
ORACLE_SID=street
ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_SID ORACLE_HOME
运行runInstaller 运行安装。
在安装过程中,会提示缺少下面的包,从Centos的安装盘中安装:
rpm -ivh libaio-0.3.105-2.i386.rpm
rpm -ivh libaio-devel-0.3.105-2.i386.rpm
rpm -ivh elfutils-libelf-devel-0.97.1-4.i386.rpm
rpm -ivh unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
rpm -ivh unixODBC-2.2.11-1.RHEL4.1.i386.rpm
rpm -ivh sysstat-5.0.5-14.rhel4.i386.rpm
运行netca创建listener,选一路选默认即可
用dbca创建数据库,注意密码的大小写,选sample schema,字符集要选unicode
好!11G安装完成,欢迎大家到我的博客上留言:http://street.loveunix.cn
或发邮件给我:street.yao(at)gmail.com
作者:遥远 博客:http://street.loveunix.cn
请到http://street.loveunix.cn上查找安装笔记
到 otn.oracle.com 网站上下载 oracle 11g
将第一课中已经安装好的虚拟机拷贝到一个新的目录,启动新的虚拟机。
编辑 /etc/sysctl.conf :
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
生效 /sbin/sysctl -p
编辑 /etc/security/limits.conf file:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
编辑 /etc/pam.d/login
session required /lib/security/pam_limits.so
session required pam_limits.so
编辑 /etc/profile :
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
创建相关的用户和组:
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/useradd -g oinstall -G dba oracle
passwd oracle
创建目录:
mkdir -p /u01/app/
chown -R oracle:oinstall /u01/app/
chmod -R 775 /u01/app/
从windows网络邻居中mount oracle 11g的安装软件到linux
mount //192.168.2.1/database /mnt
切换成ORACLE用户
修改/home/oracle/.bash_profile,加入:
umask 022
ORACLE_BASE=/u01/app/oracle
ORACLE_SID=street
ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_SID ORACLE_HOME
运行runInstaller 运行安装。
在安装过程中,会提示缺少下面的包,从Centos的安装盘中安装:
rpm -ivh libaio-0.3.105-2.i386.rpm
rpm -ivh libaio-devel-0.3.105-2.i386.rpm
rpm -ivh elfutils-libelf-devel-0.97.1-4.i386.rpm
rpm -ivh unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
rpm -ivh unixODBC-2.2.11-1.RHEL4.1.i386.rpm
rpm -ivh sysstat-5.0.5-14.rhel4.i386.rpm
运行netca创建listener,选一路选默认即可
用dbca创建数据库,注意密码的大小写,选sample schema,字符集要选unicode
好!11G安装完成,欢迎大家到我的博客上留言:http://street.loveunix.cn
或发邮件给我:street.yao(at)gmail.com
相关文章推荐
- 遥远视频讲座三:在LINUX虚拟机上用NFS安装oracle rac 录像
- 【Oracle RAC】Linux系统Oracle 11g R2 RAC 安装配置详细过程-视频培训教程
- Linux + Oracle 11g R2 RAC 安装配置详细过程
- linux环境下安装oracle 11g database方法指导(一)
- linux上安装Oracle 11g R2 标准版 64位
- ORACLE 11G在Linux下的标准安装方法(上)
- oracle 11g linux 安装
- 在Linux(RedHat 4.8)命令行下安装Oracle 11g (11.2.0.1.0)数据库
- linux下oracle 11g RAC 安装grid失败,如何清除已安装文件
- Linux oracle 11g r2 安装前检查及安装
- Linux上Oracle 11g安装步骤图解
- linux环境下(SUSE 11)安装ArcSDE 10.0 的注意事项(Oracle 11g)
- vmware中RHEL5(Red Hat Enterprise Linux 5)下oracle 11g安装文档
- oracle 11g R2 标准版 64位linux安装
- Oracle Grid Control 11g for linux安装和配置指南
- Linux下安装Oracle 11g
- linux 6.5 安装oracle 11g 系统缺包的检查
- Linux环境安装oracle 11g数据库
- Linux上Oracle 11g安装步骤图解
- 在虚拟机下安装配置Linux和Oracle