Heim > Datenbank > MySQL-Tutorial > Ubuntu安装Oracle 9i过程

Ubuntu安装Oracle 9i过程

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Freigeben: 2016-06-07 16:54:57
Original
961 Leute haben es durchsucht

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

Verwandte Etiketten:
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage