Home > Database > Mysql Tutorial > centos6.5 x86 安装 oracle 11g2r 教程

centos6.5 x86 安装 oracle 11g2r 教程

WBOY
Release: 2016-06-07 15:01:31
Original
1101 people have browsed it

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

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


    五。安装ora11g2r
    1.下载ora11g2r
    su - oracle
    wget ftp://sdgtxuyong:xxxxx@192.168.7.66/tools/database/oracle11/linux_11gR2_database_1of2.zip
    wget ftp://sdgtxuyong:xxxxx@192.168.7.66/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:xxxxx@192.168.7.66/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,default_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] 

centos6.5 x86 安装 oracle 11g2r 教程

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template