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.
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>
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\,
if there is no these three files, it must be configured through this.
3.1, listener.ora
3.2, sqlnet.ora
3.3, tnsnames.ora
sometimes report "ORACLE not available" error, then add in the file:
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
4. You can configure the instance of the database through this tool.
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.
pl/sql:
After installing pl/sql, the database cannot be linked.
1. Click the "cancle" button first,
2. Click "Tools" - "Preferences" to configure the correct oci.dll.
The oci.dll here may need to go to oracle official website to download instantclient-basic-nt-11.2.0.4.0.zip