• 安装Oracle软件


    1.安装linux操作系统和VMware Tools

    2.创建组和用户,以root用户运行以下命令:

    groupadd -g 1000 oinstall 

    groupadd -g 1001 dba

    useradd -u 1001 -d /home/oracle -g oinstall -G dba oracle

    修改密码:passwd oracle

    3.创建需要目录并修改权限:

    mkdir /soft

    chown -R oracle:oinstall /soft

    chmod -R 755 /soft

    mkdir -p /u01/app/oracle

    chown -R oracle:oinstall /u01

    chmod -R 755 /u01

    4.用yum工具安装所需软件包

    ①mount /dev/cdrom /mnt

    ②vi /etc/yum.repos.d/public-yum-el5.repo

    [oel5]

    name = Enterprise Linux 5.6 DVD

    baseurl=file:///mnt/Server/

    gpgcheck=0

    enabled=1

    ③yum install oracle-validated

    5.切换到oracle(su - oracle)下,设置oracle用户环境变量:

    ①vi .bash_profile

    export ORACLE_BASE=/u01/app/oracle

    export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

    export ORACLE_SID=ORA11GR2

    export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin

    oracle安装介质上传到/soft目录下

    使用了xftp工具

    ③进入/soft目录下,解压缩文件

    ④运行./runInstaller启动图形界面

  • 相关阅读:
    database design
    django bulk create user
    mysql basic
    install mysql
    django apache httpd windows
    django apache httpd centos
    python mail smtplib
    compile c cpp with cl.exe in vim
    Remote Access to IPython Notebooks via SSH
    calculate traffic by snmpwalk for mrtg
  • 原文地址:https://www.cnblogs.com/tomatoes-/p/5906698.html
Copyright © 2020-2023  润新知