Install Oracle 10.2.0 Enterprise Edition in Ubuntu 7.10

Source: Internet
Author: User

Installation environment: Ubuntu 7.10 and Oracle 10.2.0 Enterprise

I. Check hardware requirements and memory hard disk requirements.
Memory 512 M, swap partition 500 M

2. Install the required package
Sudo apt-get install gcc make binutils lesstif2 libc6 libc6-dev rpm libmotif3 libaio1 libstdc ++ 5 alien

3. Add users and groups
Sudo groupadd oinstall
Sudo groupadd dba
Sudo groupadd plugin
Sudo useradd-g oinstall-G dba oracle
Sudo passwd oracle

4. Copy the oracle Installation File to the/u01 directory and decompress the package to set permissions.
Sudo mkdir/u01
Sudo chown-R oracle/u01
Sudo chmod-R 777/u01
The Oracle decompression directory is/u01/ORACLE10GR2/database.

5. Modify sysctl. conf.
Sudo gedit/etc/sysctl. conf

Add the following lines:
Kernel. shmmax = 3147483648
Kernel. shmmni = 4096
Kernel. shmall = 2097152
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000

Run sudo sysctl-p to make the settings take effect.

6. Modify limits. conf
Sudo gedit/etc/security/limits. conf
Add
* Soft nproc 2407
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536

7. Create an oracle Installation Directory
Sudo mkdir-p/u01/app/oracle/product/10.2.0/db_1
Sudo chown-R oracle. oinstall/u01

8. Create a/etc/RedHat-release file and add downstream
Redhat-4
Or Red Hat Linux release 4.1.

8. Set Environment Variables
Sudo gedit/home/oracle/. profile

Add the following lines
# Add for oracle
ORACLE_BASE =/u01/app/oracle; export ORACLE_BASE

ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME

ORACLE_SID = orcl; export ORACLE_SID

ORACLE_TERM = xterm; export ORACLE_TERM

PATH =/usr/sbin: $ PATH; export PATH

PATH = $ ORACLE_HOME/bin: $ PATH; export PATH

LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib; export LD_LIBRARY_PATH

CLASSPATH = $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib; export CLASSPATH

If [$ USER = "oracle"]; then

If [$ SHELL = "/bin/ksh"]; then

Ulimit-p 16384

Ulimit-n 65536

Else

Ulimit-u 16384-n 65536

Fi

Fi

# End add for oracle

  • 1
  • 2
  • Next Page

Related Article

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.