Oracle 10G installation for Linux86

Source: Internet
Author: User
Tags character set dba log create database oracle database linux
Oracle Configuring Linux for the installation Oracle Database 10gPurpose
In this lesson, your learn to configure Linux and prepare for the installation of Oracle Database 10g.
Topics
This lesson covers the following topics:

Overviewprerequisiteschecking the hardware requirementsconfiguring the Kernel and creating the Oracle User
viewing screenshots
Place the cursor on this icon to display all the screenshots in the lesson. can also place the cursor on each individual icon at the following steps to the the screenshot this is associated With this step.
Overview
Back to List

The lesson prepares the Linux operating system for the installation of Oracle Database 10g.

Prerequisites
Back to Topic List

Before starting this lesson, you should have:

1.
Installed an Oracle Database 10g certified version of Linux in a platform certified for this version of Linux. To the latest certification information, use Metalink and select certify & availability. can also use OTN.





Checking the hardware Requirements
Back to Topic List

The system on which your install Linux must meet the following requirements:


$ MB of physical random access memory (RAM)

1 GB of swap space (or twice the size of RAM)

Swap spaces between one and two times the size of RAM (on systems with 2 GB or more of RAM)

MB of disk spaces in The/tmp directory

2.1 GB of disk spaces for the Oracle software and Sample Schema Database

Configuring the Kernel and creating Oracle User
Back to Topic List

To configure the system, follow these steps (written for Bourne, Korn, and bash shells):

1.
Open a terminal window and log in as the root user.


2.
The following local UNIX groups and user must exist on the system:

Groups:oinstall and DBA
User:oracle

Optionally, the Oper group can be created.

Group:oper

We now create the three groups Oinstall, DBA, and Oper:

/usr/sbin/groupadd Oinstall/usr/sbin/groupadd Dba/usr/sbin/groupadd Oper




3.
Create the operating system user Oracle:

/USR/SBIN/USERADD-G oinstall-g Dba,oper Oracle




4.
Enter the following command to set the password of Oracle User:

/USR/BIN/PASSWD Oracle




5.
With a editor of your choosing, open/home/oracle/.bash_profile. If you are a using another shell, please add the entries to the appropriate file.

Umask 022path=/bin:/usr/bin:/usr/local/bin:/usr/x11r6/binld_library_path=/usr/lib:/usr/x11r6/lib ORACLE_BASE=/ U01/app/oracleoracle_home= $ORACLE _base/product/10.1.0/db_1oracle_sid=orclpath= $ORACLE _home/bin: $PATHexport PATH Ld_library_pathexport oracle_base Oracle_home Oracle_sid




6.
Create the directory for the software installation and assign ownership to Oracle:oinstall. In the example, your use/u01/app/oracle.

Mkdir-p/u01/app/oraclechown-r oracle:oinstall/u01/appchmod-r 775/u01/app




7.
Set Required Kernel Parameters:

Parameter Value---------------------------------------------kernel.semmsl 250kernel.semmns 3200kernel.semopm 100kernel.semmni 128kernel.shmall 2097152kernel.shmmax 2147483648kernel.shmmni 4096fs.file-max 65536net.ipv4.ip_ Local_port_range 1024 65000

Open the/etc/sysctl.conf file in any text editor and add lines similar to the following:

Kernel.sem = 250 32000 100 128
Kernel.shmall = 2097152
Kernel.shmmax = 2147483648
Kernel.shmmni = 4096
Fs.file-max = 65536
Net.ipv4.ip_local_port_range = 1024 65000

With specified values for this parameters in the/etc/sysctl.conf file, the values persist when you reboot the system.




8.
The kernel changes made previously take effect with each reboot.

Issue This command to set the kernel parameters:

/sbin/sysctl-p




9.
Log in as operating system user Oracle. You are must install the software from a X Windows system Workstation, an X terminal, or a PC or other System with X server so Ftware installed.



Installing Oracle Database 10g on Linuxpurpose
In this lesson, your learn to install Oracle Database 10g on Linux.
Topics
This lesson covers the following topics:

Overviewprerequisitesinstalling Oracle Database 10g on Linux
viewing screenshots
Place the cursor on this icon to display all the screenshots in the lesson. can also place the cursor on each individual icon at the following steps to the the screenshot this is associated With this step.
Overview
Back to List

Using The Oracle Universal Installer, you install the Oracle Database 10g software and create a database.

Prerequisites
Back to Topic List

Before starting this lesson, you should have:

1.
Completed the configuring Linux for the Installation Oracle Database 10g lesson.





Installing Oracle Database 10g on Linux
Back to Topic List

To install the Oracle software, your must use the GUI installer.

1.
Log in to the Linux box as user Oracle and mount the Oracle Database 10g CD. Change directory to the CD and execute the Script/mnt/cdrom/runinstaller from your home directory:


/mnt/cdrom/runinstaller








2.
At the Welcome window, click Next.




3.
You are need to specify your Inventory directory. The location should be set to/u01/app/oracle/orainventory. Accept The default operating System group name, Oinstall. Then Click Next.




4.
The following window appears. Leave this window open.




5.
You are need to execute orainstroot.sh as the root user. Open a terminal window and enter the following commands:

Su<rootpassword>cd/u01/app/oracle/orainventory./orainstroot.shexitexit




6.
Switch back to the Universal Installer window and click Continue.




7.
At the Specify File locations windows, change the path to/u01/app/oracle/product/10.1.0/db_1. Then Click Next.




8.
Make sure the installation Type Enterprise Edition is selected and click Next.




9.
The installer now verifies this system meets all minimum requirements for installing and configuring the chosen PR Oduct. Please correct any reported issues before continuing. When the check successfully completes, click Next.




10.
You are want to create a starter database. Make sure this Create a starter database and general purpose are both selected. Then Click Next.




11.
Enter orcl.oracle.com in the Global Database Name field, and select the Create database with example schemas check box. Then Click Next. If you are perform any of the multilingual lessons, you should select Unicode Standard UTF-8 Al32utf8 as the database Character Set.




12.
The Select Database Management Option window enables to choose between Database control or Grid control of your Se. In this example, you accept the default, which are Database control. Click Next.




13.
Specify the database file location As/u01/app/oracle/oradata and click Next.




14.
In the Specify Backup and Recovery Options windows, you don't want to enable automated backups at this time. Accept the default and click Next.




15.
Enter and confirm a password for all accounts, and then click Next.




16.
Review the Summary window to verify what are to be installed. Then Click Install.




17.
The Progress window appears.




18.
The Configuration Assistants window appears.




19.
Your database is now being created.




20.
When the database is created, click OK.




21st.
When the Setup privileges window appears, open a new terminal window.




22.
You are need to execute root.sh as the root user. From your terminal window, enter the following commands:

CD $ORACLE _base/product/10.1.0/db_1su<rootpassword>./root.shexitexit




23.
The end of installation summary appears. The ports shown in the summary can is found in $ORACLE _base/product/10.1.0/db_1/portlist.ini. Click OK.




24.
Click Yes to exit.






Place the cursor in this icon to hide all screenshots.


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.