Install Oracle 10 GB on Ubuntu 9.04 (AMD64)

Source: Internet
Author: User
Tags addgroup

Today, I sorted out the installation process of Oracle 10g on Ubuntu 9.04, encountered several problems during the installation process, and finally finished it after a long time. I will explain it during the installation process.

First, you need to install some necessary packages and install them using synaptic package manager (new ).
Alien binutils gcc ia32-libs lesstif2 lesstif2-dev lib32stdc + + 6 lib32z1 libaio1 libc6 libc6-dev libc6-dev-i386 libc6-i386 libmotif3 make libstdc + + 5 rpm jdk1.6
Some packages are associated. If OUI is not fully started after installation, an error occurs, resulting in no installation.

Create user
Since Oracle must be installed by an Oracle user, you must first create an Oracle user and the associated user group.
The blue text is the code
$ Sudo addgroup oinstall create an oinstall User Group
$ Sudo addgroup dba create dba User Group
$ Sudo addgroup nobody
$ Sudo useradd-g oinstall-G dba-d/home/oracle-m-s/bin/bash oracle
$ Sudo usermod-g nobody
# Create an oracle user password
$ Sudo passwd oracle

Create installation directory
$ Sudo mkdir-p/opt/oracle
$ Sudo chown-R oracle: oinstall/opt/oracle/
$ Sudo chmod-R 755/opt/oracle/

Modify the Linux kernel parameters. If the parameter value of the existing system is greater than the required value, you do not need to modify it.
$ Sudo vim/etc/sysctl. conf
# Press I to enter edit and add the following parameters
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
After editing, Press esc to exit the editing, shift + ZZ to exit and save.
$ Sudo vim/etc/security/limits. conf
# Add the following parameters
Oracle soft nofile 65536
Oracle hard nofile 65536
Oracle soft nproc 16384
Hard nproc 16384

# Make the modified parameters take effect
$ Sudo sysct-p

Create link:
This configuration is required when $ sudo ln-s/usr/bin/awk finally executes the root. sh script.
$ Sudo ln-s/usr/bin/rpm
$ Sudo ln-s/usr/bin/basename

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