2.Oracle database installation tutorial

One, ready to install

Basically step by step.

OS version used: OEL4

Setup Path:

/mnt/Oracle11g_linux_x86_64/database

Create a user

.bash_profile use

Modify the kernel parameters:

kernel.shmall = 2097152

kernel.shmmax = 2 147483648

kernel.shmmni = 4096

fs.file-max = 65536

net.ipv4.ip_local_port_range = 1024 65000

net.core.rmem_default=262144

net.core.wmem_default=262144

net.core.rmem_max=262144

net.core.wmem_max=262144

Use xclock check display correctly:

Code:

total 10

drwxr-xr-x 4 1003 oinstall 96 Mar 23 18:45 doc

drwxr-xr-x 5 1003 oinstall 1024 Mar 23 18:45 install

drwxr-xr-x 2 1003 oinstall 1024 Mar 23 18:45 response

-rwxr-xr-x 1 1003 oinstall 1251 Mar 23 18:45 runInstaller

drwxr-xr-x 12 1003 oinstall 1024 Mar 23 18:45 stage

-rw-r--r-- 1 1003 oinstall 4638 Mar 23 18:45 welcome.html

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9,

redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2

Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from

/tmp/OraInstall2007-06-28_02-26-12AM. Please wait ...

[oracle@ractest database]$ Oracle Universal Installer, Version 11.1.0.2.0 Production

Copyright (C) 1999, 2007, Oracle. All rights reserved.

Oracle Universal Installer, Version 11.1.0.2.0 Production

Copyright (C) 1999, 2007, Oracle. All rights reserved.

After selecting the graphics start basic & n

Select the oracle base when, oracle user home is not recommended as the oracle base, where I chose to ignore yes

Prerequirements when to check, the installer considered insufficient swap, I chose to ignore YES

Tip script execution, installation

Code:

Changing permissions of /home/oracle/oraInventory to 770.

Changing groupname of /home/oracle/oraInventory to dba.

The execution of the script is complete

Running Oracle 11g root .sh script...

The following environment variables are set as:

ORACLE_OWNER= oracle

ORACLE_HOME= /home/oracle/11g

Enter the full pathname of the local bin directory: [/usr/local/bin]:

Copying dbhome to /usr/local/bin ...

Copying oraenv to /usr/local/bin ...

Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root .sh script.

Now product-specific root actions will be performed.

Finished product-specific root actions.

Installed.
 

In this tutorial describes how to install Oracle Database 12c in Windows 10.

Please refer to the following steps to install the Oracle database.

1. Download Oracle 12c

Open Oracle's official website:  http://www.oracle.com/index.html  , as shown below -

Click Database (Database 12c), as follows -

In the pop-up protocol options, click to accept the agreement (Accept License Agreement), as follows -

In the pop-up options, choose to download software (Microsoft Windows (x64) (64-bit)) and click on Download (Download 1), as follows -

It should be logged-in user to download, if Oracle is not the official website account, register now for a good, if you have registered an account, then log on automatically downloaded after the account -

2. Install Oracle Database

To install the Oracle database on the computer, you need to download the installer from the download page Oracle website. As used herein downloaded to the folder: D: / Downloads /, its file name: winx64_12201_database.zip, download the ZIP file format after installation, you need to unzip it to a folder on the computer folder (D: / Downloads / databases ), the following figure shows the structure of the file to extract the installation files Oracle -

Now double-click the setup.exe file to start the installation process. Here are nine steps to demonstrate the installation process.

Step 1 - installer asks for your email address to get the latest updates and security issues. You can click the Next button to skip.

Because there is no email address is provided, Oracle database installation program will confirm it, just click the No button to continue.

Step 2 - In this step, Oracle installer asks whether you want to create and configure the database, only to install or upgrade the database software only existing database. Because you first install the Oracle database, select the first option (Create and configure a database), and then click the Next button.

Step 3 - Setup allows you to select the type of system. Because we are installing Oracle on a desktop computer, rather than the server, so, here select the first option: Desktop category (Desktop class), and then click the Next button.

Step 4 - In this step, allows you to specify to install and configure Oracle Home to enhance the security of the Windows user account. Select the third option: "Use the built-in Windows account (Use Windows Built-in Account)".

prompt:

Step 5 - In this step, select the file you want to install the Oracle database folder, the global database name and password, pluggable database name.

Step 6 - Setup performs prerequisite checks.

Step 7 - installer displays summary information, such as global settings, and other database information. If all goes well, you can review the information and click the Install button.

Confirm the installation?

Is about to be installed Overview -

Step 8 - Setup begins installing Oracle databases. Installation of speed depends on your computer's performance, take a few minutes to complete.

Step 9 - after a successful completion of the installation, the installation program will notify the completion of the installation prompts, as shown in the screenshot below. Click the Close button to close the window.

Connect to the Oracle database

The first step, start SQL developer applications provided by the Oracle database.

The second step, right-click the connection node and choose "New Connection ... (New Connection ...)" menu item to create a new connection.

A third step of inputting information you provided during the installation, shown in the screenshot below. Click the Connect button to connect to Oracle databases.


SQL developer will display all objects, as follows -


Congratulations! You have successfully installed Oracle Database 12c. Then we began to explore and learn Oracle database-related knowledge.

Guess you like

Origin www.cnblogs.com/Diyo/p/11653691.html