Home > Database > Mysql Tutorial > Ubuntu安装Oracle 9i过程

Ubuntu安装Oracle 9i过程

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:54:57
Original
962 people have browsed it

Ubuntu下Oracle 9i安装过程主要参考这篇文章,该文主要是基于kubuntu安装Oracle 10g的,参考这篇文章可以比较容易的安装10g,但是

Ubuntu下Oracle 9i安装过程主要参考这篇文章,该文主要是基于kubuntu安装Oracle 10g的,参考这篇文章可以比较容易的安装10g,,但是在安装oracle 9204时遇到了很多的障碍,最终安装完成了。

安装过程如下:

1.空间要求
/tmp > 512M  boot 128M  swap 1024M  / 2G /home 2GB

2.安装所需要的软件:
gcc, libaio1, libc6, libstdc++5, make, rpm, lesstif2, lesstif2-dev
vufuture@ubuntu:~$ for i in gcc libaio1 libc6 libstic++5 make rpm lesstif2  lesstif2-dev
> do
> sudo apt-get install $i
> done

3.添加需要的用户和组:
root@ubuntu:~# groupadd dba
root@ubuntu:~# useradd -g dba -G dba -d /home/oracle -s /bin/bash oracle
root@ubuntu:~# passwd oracle
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

4.创建安装目录并赋权限:
root@ubuntu:~# mkdir -p /home/oracle/product/9.2.0
root@ubuntu:~# chown -R oracle:dba /home/oracle
root@ubuntu:~# mkdir /var/opt/oracle
root@ubuntu:~# chown -R oracle:dba /var/opt/oracle
root@ubuntu:~# chmod 755 /var/opt/oracle

5.设置oracle环境变量:
vi /home/oracle/.bash_profile
添加:
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0 export ORACLE_SID=ora9i
export PATH=$PATH:$ORACLE_HOME/bin
export DISPLAY=localhost:0.0

6.修改核心参数:
root@ubuntu:~# vi /etc/sysctl.conf
#kernel.shmall = 2097152
kernel.shmmax = 2147483648
#kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
#fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

linux

Related labels:
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