The pit of Oracle and pl/sql installation configuration

I installed Oracle and pl/sql locally, and encountered countless resistances in the process. I will summarize it here today.

Oracle

1. The Oracle installation file needs to download two compressed packages, but after decompression, you need to combine the decompressed files into one package, otherwise an "installation aborted" error will be reported.
write picture description here
2. If Oracle is installed on win10, you need to change the win64_11gR2_database_1of2\database\stage\cvu\cvu_prereq.xml file to adjust compatibility.

         <!--新增-->
         <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>

write picture description here
3. After the installation is complete, if there is a problem with the installation, most of the files under this folder are changed.
product\11.2.0\dbhome_1\NETWORK\ADMIN\,
write picture description here
if there is no these three files, it must be configured through this.
write picture description here
3.1, listener.ora
write picture description here
3.2, sqlnet.ora
write picture description here
3.3, tnsnames.ora
write picture description here
sometimes report "ORACLE not available" error, then add in the file:

LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))

write picture description here
4. You can configure the instance of the database through this tool.
write picture description here
5. Oracle command line login (default username and password)

5.1, scott user: sqlplus scott/tiger
5.2, sys user: sqlplus sys/password entered when installing the database as sysdba
5.3, system user: sqlplus system/manager sysdba
5.4, sysman user: sqlplus sysman/oem_temp as sysdba
5.5, no password Login: sqlplus /nolog or sqlplus / as sysdba,

6. After installation, confirm whether the Oracle service is enabled.
write picture description here

pl/sql:

After installing pl/sql, the database cannot be linked.
1. Click the "cancle" button first,
write picture description here
2. Click "Tools" - "Preferences" to configure the correct oci.dll.
write picture description here
The oci.dll here may need to go to oracle official website to download instantclient-basic-nt-11.2.0.4.0.zip
write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325953608&siteId=291194637