Install Oracle 9i in Ubuntu

Source: Internet
Author: User

For the installation process of Oracle 9i in Ubuntu, refer to this article. This article is mainly based on kubuntu to install Oracle 10g. Refer to this article to easily install 10g, however, oracle 9204 has encountered many obstacles and the installation is complete.

The installation process is as follows:

1. Space Requirements
/Tmp> 512 M boot 128 M swap 1024 M/2G/home 2 GB

2. Install the required software:
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. Add the required users and groups:
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. Create the installation directory and grant the following permissions:
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. Set oracle environment variables:
Vi/home/oracle/. bash_profile
Add:
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. Modify core parameters:
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

  • 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.