• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

centos6.5 x86 安装 oracle 11g2r 教程

mysql 搞代码 4年前 (2022-01-09) 23次浏览 已收录 0个评论

欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入 五。安装ora11g2r 1.下载ora11g2r su – oracle wget ftp://sdgtxuyong:[email protected]/tools/database/oracle11/linux_11gR2_database_1of2.zip wget ftp://sdgtxuyong:[email protected]/tools

欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入


五。安装ora11g2r
1.下载ora11g2r
su – oracle
wget ftp://sdgtxuyong:[email protected]/tools/database/oracle11/linux_11gR2_database_1of2.zip
wget ftp://sdgtxuyong:[email protected]/tools/database/oracle11/linux_11gR2_database_2of2.zip
unzip linux_11gR2_database_1of2.zip
unzip linux_11gR2_database_2of2.zip
2.到ui界面,用root开启xhost+
xhost +
3.安装ora11g2r
su – oracle
cd database
./runInstaller
4.修改tmpfs的分区大小
vim /etc/fstab
tmpfs default,size=6g 0 0
六。安装sqlplus的翻页程序和help补丁
1.sqlplus翻页程序
wget ftp://sdgtxuyong:[email protected]/tools/database/oracle11/rlwrap-0.37.tar.gz
tar zxvf rlwrap-0.37.tar.gz
./configure
make && make install
写入用户环境变量
# echo ‘alias sqlplus=”rlwrap sqlplus”‘》 /home/oracle/.bash_profile
2.安装帮助 help 用 system登陆
@?/sqlplus/admin/help/hlpbld.sql helpus.sql
用法:help shutdown
3.证书bug,浏览器提示秘钥长度过短,无法使用web版管理
certutil -setreg chain\minRSAPubKeyBitLength 512
七。自启动脚本(###待续)
八。常用命令
sqlplus / as sysdba
1.开启关闭
startup nomount mount open
alter database mount open
shutdown immediate
2.监听服务
lsnrctl
3.开启oem监控命令
emctl start|stop dbconsole
4.查询
当前用户名和表空间
select username,defa本文来源gaodai#ma#com搞@代~码^网+ult_tablespace from user_users;
5.用户
创建
create user 用户名 identified by 口令 [account lock|unlock]
解锁
alter user 用户名 account lock|unlock;
授权
grant CONNECT, RESOURCE TO 用户名;
回收
revoke CONNECT, RESOURCE FROM 用户名;

[1] [2]


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:centos6.5 x86 安装 oracle 11g2r 教程
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址