Home > Database > Mysql Tutorial > body text

64位 Ubuntu 安装 Oracle 11G

WBOY
Release: 2016-06-10 15:12:12
Original
1217 people have browsed it

在64位 Ubuntu 安装 Oracle 11G 的简要过程: 1: 设置环境 sudo apt-get install rpm libaio1 ksh libtool libstdc++5 build-e

在64位 Ubuntu  安装 Oracle 11G 的简要过程:

1: 设置环境

sudo apt-get install rpm libaio1 ksh libtool libstdc++5 build-essential  

2:设置目录结构和符号链接

如果不连接如下。。文件 会出现无法找到。。。的错误 

3:设置系统参数
修改 /etc/sysctl.conf

修改   etc/security/limits.conf

修改"/etc/security/limits.conf",加入如下内容,其中"jasmine"为用户名,可根据实际情况调整。

  • jasmine hard nproc  16384  
  • 修改"/etc/pam.d/login",,加入如下内容:

  • session required /lib/security/pam_limits.so  
  • session required pam_limits.so  
  • 然后执行命令:

    sudo sysctl -p  

    接下来设置必要的环境变量,修改用户目录下的".profile"文件,加入如下内容:

  • export ORACLE_HOME="/home/oracle_11g/server"  
  • export ORACLE_SID="orcl"  
  • 至此系统参数和环境变量设置完成。

    5:安装  cd 到 oracle的解压后的目录

    ./runInstaller -jreloc /usr/lib/jvm/java_1.6.0_openjdk/jre  

    jreloc 指定本jre  而不用自带的jdk

    否则会出现乱码

    至此OK。

    linux

  • 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
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!