Install Oracle10g on Ubuntu

Source: Internet
Author: User

Reproduced in: http://jessdy.iteye.com/blog/196811

 

1. Download the Oracle installer:
Under http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linx8664soft.html here

This is for 64-bit system. Next, wait for 10201_database_linux_x86_64.cpio.gz.
Use gunzip <FILENAME> to unpackage the file, and then unpackage it again in the resource manager, until the database folder is removed.

2. Install compat libraries and 32-bit libraries:
Sudo apt-Get install GCC libaio1 lesstif2 lesstif2-dev make libc6 libc6-i386 libc6-dev-i386 libstdc ++ 5 lib32stdc ++ 6 lib32z1 ia32-libs

3. Open the/etc/sysctl. conf file and add a text to it:
# Oracle stuff
Kernel. Shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shmmni = 4096
Kernel. SEM = 250 32000 100 128
FS. File-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. Core. rmem_default = 262144
Net. Core. rmem_max = 262144
Net. Core. wmem_default = 262144
Net. Core. wmem_max = 262144
VM. swappiness = 10

4. Create oracle users and user groups:
Sudo groupadd nobody
Sudo groupadd oinstall
Sudo groupadd DBA
Sudo useradd-S/bin/bash-G oinstall-g dba Oracle
Sudo passwd Oracle

5. Open/etc/security/limits. conf and add the following content to the end of the file:
* Soft nproc 2047
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536

6. Enter the following command on the terminal:
Sudo ln-S/usr/bin/awk
Sudo ln-S/bin/true/bin/RPM
Sudo ln-S/usr/bin/basename
Sudo ln-S/lib/libgcc_s.so.1/lib/libgcc_s.so
Sudo mkdir-P/u01/Oracle/10g
Sudo chown-r oracleinstall/u01/Oracle/10g
Sudo chmod-r 775/u01/Oracle

7. To prevent garbled characters on the Oracle Installation interface, run the following command on the terminal:
Export lang = C

8. Create/etc/RedHat-release and add the following content:
Red Hat Linux release 4.1
Because Oracle does not support Ubuntu by default, We need to disguise Ubuntu as RedHat.

9. Now, you can execute the installation command:
./Runinstaller-ignoresysprereqs

Then let's install it one step at a time. Please be patient. I have waited for nearly an hour.
I read a foreigner's article during installation. I forgot where to find it. thank you here.

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.