当前位置: 移动技术网 > IT编程>数据库>Oracle > WMware redhat 5 oracle 11g 安装方法

WMware redhat 5 oracle 11g 安装方法

2017年12月12日  | 移动技术网IT编程  | 我要评论

工行个人贷款,手机壁纸240x400,快乐大本营韩庚

1.安装oracle11g所需要的补丁包,安装光盘上全有,进入光盘的server目录:(最好通过oracle的官方文档来确定需要安装哪些包)
2.修改用户验证选项 修改/etc/pam.d/login文件加上如下参数 session required pam_limits.so
3.修改用户配置文件
修改/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
4.安装目录配置
# mkdir -p /u01/
# chown -r oracle:oinstall /u01/
# chmod -r 775 /u01/
5. 修改用户bash shell
#su - oracle
$ vi .bash_profile
增加以下内容,注意:orcl为oracle数据库的实例名.
export oracle_base=/u01/app
export oracle_home=$oracle_base/oracle
export oracle_sid=orcl
export path=$oracle_home/bin:$path:$home/bin
6.安装oralce,把oracle安装文件从windows机器d盘上拷贝过来安装.(可以通过xmanager中的xftp来实现文件传输)
7.#mkdir/mnt/smb
#cd /mnt/smb
#cp linux_11gr2_database_1of2.zip /tmp
#cp linux_11gr2_database_2of2.zip /tmp
#cd /tmp
#unzip linux_11gr2_database_1of2.zip /tmp
#unzip linux_11gr2_database_2of2.zip /tmp
8.改用oracle用户登录redhat5.5安装
9.$cd /tmp/database
改为1024*768分辨率
$./runinstaller
然后启动图形界面安装.
我的做完后运行dbca,在运行到em出现了错误提示,"you needto run netca to configure a listener before you can proceed.otherwise you maychoose to continue without database control configuration"

只要运行了netca,命令就行了,然后按照他的要求进行点击下一步就行了。
1.安装oracle11g所需要的补丁包,安装光盘上全有,进入光盘的server目录:(最好通过oracle的官方文档来确定需要安装哪些包)
2.修改用户验证选项 修改/etc/pam.d/login文件加上如下参数
session required pam_limits.so
3.修改用户配置文件
修改/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
4.安装目录配置
# mkdir -p /u01/
# chown -r oracle:oinstall /u01/
# chmod -r 775 /u01/
5. 修改用户bash shell
#su - oracle
$ vi .bash_profile
增加以下内容,注意:orcl为oracle数据库的实例名.
export oracle_base=/u01/app
export oracle_home=$oracle_base/oracle
export oracle_sid=orcl
export path=$oracle_home/bin:$path:$home/bin
6.安装oralce,把oracle安装文件从windows机器d盘上拷贝过来安装.(可以通过xmanager中的xftp来实现文件传输)
7.#mkdir/mnt/smb
#cd /mnt/smb
#cp linux_11gr2_database_1of2.zip /tmp
#cp linux_11gr2_database_2of2.zip /tmp
#cd /tmp
#unzip linux_11gr2_database_1of2.zip /tmp
#unzip linux_11gr2_database_2of2.zip /tmp
8.改用oracle用户登录redhat5.5安装
9.$cd /tmp/database
改为1024*768分辨率
$./runinstaller
然后启动图形界面安装.
我的做完后运行dbca,在运行到em出现了错误提示,"you needto run netca to configure a listener before you can proceed.otherwise you maychoose to continue without database control configuration"

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网