Linux _Oracle_HOWTO

2009-05-13 04:31:59来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

Install Oracle 8.0.5 for Linux on FreeBSD 3.1, step by step
pi@LF.net, Mon Feb 22 18:22:27 CET 1999
Part 0 (damn, those romans knew no zero): Introduction
------------------------------------------------------
This guide describes how to install Oracle 8.0.5 for Linux on FreeBSD 3.1.
Open issues:
- compiling perl DBD/DBI interface
- re-linking the Oracle database (done by orainst)
Other quite interesting informations can be found at:
- http://www.freebsd.org.ru/linux-oracle.HOW-TO.html, thanks to kan@sti.cz
  for this pointer
  http://www.wi.leidenuniv.nl/~mhmoolen/
  seems to be the original source for this.
- http://www.solik.net/oracle_letter.html
  some hints on Oracle/SCO for FreeBSD (some parts russian, *sigh*)
- ftp://ftp.oracle.com/pub/www/oracle8/linux/805ship.tgz
  As SCO/Oracle is available from ftp.oracle.com as well,
  this might be an interesting way.
Disk space requirements: approx. 1 GB disk space for light usage.
For testing purposes, approx. 820 MB seem to be sufficient.
Q: Why so much diskspace ?
A: Oracle needs a copy of the tape/cd-rom somewhere read-writeable
   in the filesystem (so-called staging area). This needs approx. 400 MB.
We assume the following environment variables:
        export ORACLE_OWNER=oracle
The userid that owns the binaries and the datasets.
        export ORACLE_SID=WHATEVER
Some sort of uniq database name. Given this, you can
have multiple databases on the same machine.
        export ORACLE_HOME=/usr/local/oracle
Where the binaries are located. There's a suggestion from
Oracle on filesystem layout called "Optimal Flexible Architecture" (OFA).
OFA is described in detail in Chapter 1 of the Oracle8 Administrator's
Reference for LINUX.
        export ORACLE_TERM=xterm
The terminal type we need to run the installation script.
The installation script (orainst), runs on curses. Your mileage may vary.
[comment: setting "stty intr '^c' erase '^?'" in your .profile might
be useful, as well. orainst is picky on the erase character]
You can add those variables to your .bashrc (for every account that
will work with oracle!). Add /usr/local/oracle/bin to your $PATH,
if you do not want to type the whole path 8-)
Part I: How to install all this ?
---------------------------------
- Install FreeBSD 3.1 on a new machine, including the ports collection
- provide approx 1 GB of diskspace in the filesystem where Oracle
  will reside (approx. 500 MB for the installation, more
  if you need a copy of oracle (approx. 400 MB) in the staging area)
As root:
- Edit /etc/rc.conf and add:
  linux_enable="YES"

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:FreeBSD终端分辨率调整为1024*768的方法

下一篇:配置FreeBSD内核