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.
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.
(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"
3. The following box pops up, just select "Yes".
4. Select "Only install database software" and click "Next"
5. Check "Single instance database installation" and click "Next"
6. The default selection, click "Next"
7. Select "Enterprise Edition", the next step
8. Set the installation directory of Oracle software, which can be defined by yourself. Next step.
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.
10. Then wait for the installation to complete.
11. The interface after successful installation:
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"
2. Check "Create Database", the next step
3. By default, the next step
4. Set the global database name, the next step.
5. Cancel the check in front of "Configure Enterprise Manager", the next step.
6. Select "All accounts use the same management password", enter a custom password, and the next step.
7. By default, the next step.
8. By default, the next step
9. Check "Sample Scheme", the next step
10. By default, the next step
11. By default, the next step
12. By default, click "Finish"
13. Check whether the database configuration information is correct and click "OK"
14. Waiting for installation...
15. Click "Password Management"
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
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
2. By default, the next step
3. By default, the next step
4、
5. By default, the next step
6. By default, the next step
7. By default, the next step
8. Default, complete
Four, environment variable configuration
1. Create a new system variable ORACLE_HOME with the value of Oracle installation path:
2. Add %ORACLE_HOME\bin to the path variable
3. Create a new variable TNS_ADMIN
4. Create a new variable NLS_LANG with the value: AMERICAN_AMERICA.AL32UTF8
5. Restart the computer for the environment variables to take effect.