FreeBSD-5.2 Installation Oracle9i notes (1) (paste) Source: Freebsdchina

Source: Internet
Author: User
Tags chmod file system modify linux
Oracle FreeBSD-5.2 Installation Oracle9i Notebooks

Source: Freebsdchina
Responsible Editor: Leelee
[04-7-28 16:30] Author: jxngzhl

Admittedly FreeBSD is one of the finest operating systems, but the lack of support for large business databases has hampered FreeBSD toward high-end and enterprise applications, Oracle as the leader of the database, if able to FreeBSD on the home, it is my FreeBSD fans of a drum
Dance. After two days of effort and reference to a Russian website on the installation of oracle8i on the FreeBSD, successfully in
The oracle9i installed on the FreeBSD5.2. Here is the installation notes.






















One kernel configuration

# ADD for Oracle
Options nbuf=2048
Options maxdsiz= "(1024ul*1024*1024)"
Options maxssiz= "(1024ul*1024*1024)"
Options dfldsiz= "(1024ul*1024*1024)"
#
Options Sysvshm
Options shmmaxpgs=65536
Options shmmin=2
Options shmmni=256
Options shmseg=256
#
Options Sysvsem
Options semmap=512
Options semmni=512
Options semume=512
Options semmns=1024
Options semmnu=512
Options semmsl=256
Options semopm=256
#
Options sysvmsg #SYSV-stylmessage queues
Options msgmnb=8192
Options msgmni=256
Options msgseg=8192
Options msgssz=16
Options msgtql=128
# ADD End

Also set the maxusers to 512, I chose the Ule Scheduler when customizing the kernel, and now Ule is already the default scheduler.

Two system configuration

1 swap partition size for 1g,ram256m,oracle_home requires more than 5G of space.

2 Install the Linux emulation environment.

linux_base-7.1 and linux_ must be installed devtools-7.1 two pkgs, but I found from the ports has been unable to install devtools-7.1, so forced from a RH7.3 installed in the machine according to two ports of the entire RH7.3 system CP to the FreeBSD. No matter how you build the/compat/linux directory tree, you must ensure that there are ar,as,ld,nm,tr,cpp,chmod,g++,printf,find,chgrp,chown in the simulation environment
and other procedures.

3 Adjusting the Linux emulation environment

A mtab to/etc/fstab link in/compat/linux/etc

Ln-s/etc/fstab/compat/linux/etc/mtab

b link to Awk,sed,chown in/compat/linux/bin

Ln-s/compat/linux/usr/bin/awk/compat/linux/bin/awk
Ln-s/compat/linux/usr/bin/sed/compat/linux/bin/sed
Ln-s/usr/sbin/chown/compat/linux/bin/chown

The above configuration is designed to meet some of the scripting requirements of oracle9i during installation, and I know that the above configuration is used when running root.sh, but you can also modify this script before running.

C Build Arch executable in/compat/linux/bin

Content is:

#!/compat/linux/bin/bash
Echo i686 #根据你的机器是i586还是i486

To make an executable tag:

chmod +x Arch

4 Open Linux emulation support, modify rc.conf file can also kldload Linux module

enable_linux= "YES"

5 Mount Linux proc file system

Mkdir/compat/linux/proc
Mount-t Linproc/dev/device/compat/linux/proc

The second step can be put into the/etc/fstab file in the boot automatically cut




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.