Oracle environment setup process in win10 environment

Because you need to connect to the Oracle database, you need to build an Oracle environment, refer to the article https://www.jb51.net/article/136148.htm

1. Oracle database software installation

1. Download the Oracle installation package from the official website, link https://www.oracle.com/database/technologies/112010-win64soft.html , Note: At present, the Oracle official website needs to log in to download. Download 2 compressed packages.

image.png

2. Unzip it to the same directory and double-click the win64_11gR2_database_1of2 \ database \ setup.exe file to install.

Note: (1) unzip to the same directory, referring To win64_11gR2_database_2of2 \ Database \ Stage \ Components all the files are copied to win64_11gR2_database_1of2 \ Database \ Stage \ Components below. Otherwise, the following error message will pop up during the installation process.

image.png

(2) If there is an error box of "The INS-13001 environment does not meet the minimum requirements when encountered in oracle11g ", you need to add the following content to the win64_11gR2_database_1of2\database\stage\cvu\cvu_prereq.xml file:

<OPERATING_SYSTEM RELEASE="6.2">
        <VERSION VALUE="3"/>
        <ARCHITECTURE VALUE="64-bit"/>
        <NAME VALUE="Windows 10"/>
        <ENV_VAR_LIST>
            <ENV_VAR NAME="PATH" MAX_LENGTH="1023" />
        </ENV_VAR_LIST>
</OPERATING_SYSTEM>

If this error does not occur, ignore it here.

Uncheck "I want to receive security updates through My Oracle Support". Click "Next"

image.png

3. The following box pops up, just select "Yes".

image.png

4. Select "Only install database software" and click "Next"

image.png

5. Check "Single instance database installation" and click "Next"

image.png

6. The default selection, click "Next"

image.png

7. Select "Enterprise Edition", the next step

image.png

8. Set the installation directory of Oracle software, which can be defined by yourself. Next step.

image.png

9. The next step is to confirm whether there is any problem with the previous configuration, and then click Finish if there is no problem.

image.png

10. Then wait for the installation to complete.

image.png

11. The interface after successful installation:

image.png

Two, Oracle database configuration

1. Enter " Database Configuration Assistant " in the search box at the beginning of the window to open the Database Configuration Assistant for database configuration. Click "Next"

image.png

2. Check "Create Database", the next step

image.png

3. By default, the next step

image.png

4. Set the global database name, the next step.

image.png

5. Cancel the check in front of "Configure Enterprise Manager", the next step.

image.png

6. Select "All accounts use the same management password", enter a custom password, and the next step.

image.png

7. By default, the next step.

image.png

8. By default, the next step

image.png

9. Check "Sample Scheme", the next step

image.png

10. By default, the next step

image.png

11. By default, the next step

image.png

12. By default, click "Finish"

image.png

13. Check whether the database configuration information is correct and click "OK"

image.png

14. Waiting for installation...

image.png

15. Click "Password Management"

image.png

16. Modify the corresponding attributes behind the SCOTT user: check whether it is locked or not, enter the new password and confirm the password, and confirm

image.png

Three, Oracle monitoring configuration

1. At the beginning of the window, search for Net Conguration Assistant, open it, and select "Monitor Configuration", the next step

image.png

2. By default, the next step

image.png

3. By default, the next step

image.png

4、

image.png

5. By default, the next step

image.png

6. By default, the next step

image.png

7. By default, the next step

image.png

8. Default, complete

image.png

Four, environment variable configuration

1. Create a new system variable ORACLE_HOME with the value of Oracle installation path:

image.png

2. Add %ORACLE_HOME\bin to the path variable

3. Create a new variable TNS_ADMIN

image.png

4. Create a new variable NLS_LANG with the value: AMERICAN_AMERICA.AL32UTF8

image.png

5. Restart the computer for the environment variables to take effect.


Guess you like

Origin blog.51cto.com/13082457/2545394