Install Oracle10g in Ubuntu9.10

Source: Internet
Author: User
(? Before installing Oracle10g in Ubuntu9.10, you must first uninstall the installed oracle and query ora * in/etc.) Step 1: install the necessary file rpm. Ubuntu is not installed by default; to enable the root user, you can install the rpm program and the libaio1 package through the "New Software Package Manager. Because Ubuntu disables the root user by default, but during the oracle installation process, the root user needs to execute two scripts. Enter sudopass in the command line

(? Before installing Oracle10g in Ubuntu 9.10, you must first uninstall the installed oracle and query ora * in/etc *)

Step 1: install the necessary file rpm. Ubuntu is not installed by default; Enable root User

You can install the rpm program and libaio1 package through the "New Software Package Manager.
Because Ubuntu disables the root user by default, but during the oracle installation process, the root user needs to execute two scripts.
Enter sudo passwd root and press enter in the command line.
Enter the new password as prompted.

Step 2: create users and groups

You can go to "System Management"> "users and groups" to open the "user settings" window, click the "unlock" button below, and enter the password to add users and groups.
First, add two groups of oinstall and dba. If yes, you do not need to add it.
Add an oracle user, enter the user password twice in "manual password setting", and set "Master group" to "oinstall" on the "advanced" tab,
You do not need to fill in or change anything else. Then, select the dba group in "Management Group", click "properties", select oracle from "group members", and click OK.

// View the group where the nobody user is located. The nobody is an implicit user, so it is not displayed in "user settings.

Enter id nobody in the command line
Displayed as follows: uid = 65534 (nobody) gid = 65534 (nogroup) group = 65534 (nogroup)

// Add the nobody user to the nobody Group
Enter sudo usermod-G nobody in the command line.

// Check that the nobody group is added to the group.
Enter id nobody in the command line
Displayed as follows: uid = 65534 (nobody) gid = 65534 (nogroup) group = 65534 (nogroup), 1003 (nobody)

Step 3: Modify system kernel parameters

Enter sudo gedit/etc/security/limits. conf in the command line.
Add the following content before the last line of the file [# End of file:
# Setting for oracle 10g
Oracle soft nofile 65536
Oracle hard nofile 65536
Oracle soft nproc 16384
Hard nproc 16384

Save and exit

Step 4: create a file connection

Create a libstdc ++. so.5 file connection
Enter sudo ln-s/usr/lib/libstdc ++. so.6/usr/lib/libstdc ++. so.5 in the command line.

// Create a connection to some tools required by the Oracle installer. Because the Oracle installer is prepared for Oracle-certified Red Hat, SUSE, and other versions, some tools are located differently from Ubuntu.
Enter sudo ln-s/usr/bin/awk in the command line.
Enter sudo ln-s/usr/bin/rpm in the command line.
Enter sudo ln-s/usr/bin/basename in the command line.

Create a RedHat release and create a redhat-release file in the/etc/directory.
Because Oracle does not support Ubuntu by default, We need to disguise Ubuntu as Redhat.
Enter sudo touch redhat-release in the command line.
Enter sudo gedit redhat-release in the command line.
Add content to the file:
Red Hat Linux release 4.1

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.