Oracle 11g 64-bit uninstallation installation and link to plsql10

Take Windows7 Professional Edition as an example
1. Completely uninstall Oracle (take Oracle 11g 64-bit server as an example)
1. Right-click My Computer->Management->Services and Applications->Services, stop all Oracle services.
2. Start -> Programs -> Oracle - OraDb11g_home1 -> Oracle Installation Products -> Universal Installer to uninstall all Oracle products (in the product list window, click to expand all, except OraDb11g_home1, check other items, click delete)

3 . Run regedit, select HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE, press del to delete the file
4. Run regedit, select HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, scroll through the list, delete the entry starting with Oracle
5. Run regedit,
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet \Services\Eventlog\Application, delete the item starting with Oracle
6. Run regedit, select HKEY_CLASSES_ROOT, delete the item starting with ora
7. Right-click My Computer -> Properties -> Advanced System Settings -> Environment Variables, clear path, ORACLE_HOME , TNS_ADMIN about oracle settings
8. Delete the oracle directory in the start menu, delete the Oracle installation directory app (do not need to delete the installation file)
9. Restart the computer

2. Install Oracle 11g 64-bit
1. Download the installation package, forum or official website or online disk

. 2. Select the two files together, extract them to the same folder, then open the folder, double-click to execute setup.exe
3. Install The options of the process (email is optional, the installation option is selected to create and configure the database, the system type is selected as the desktop class, the typical installation directory is customized, but the instance name and management password must be remembered. If the password does not meet the security standards, there will be a prompt, it doesn't matter, and then continue to the next step. 4. Regarding unlocking the account, you can
unlock the account according to your own wishes, such as SCOTT. After clicking the check mark of the locked account, enter the password of the account. If the password does not meet the security standards, there will be a prompt, it does not matter.
5. The installation is successful

3. Plsql 10 links Oracle 11g 64-bit server
1. Download instantclient-basic-win32-11.2.0.1.0
2. Unzip instantclient-basic-win32-11.2.0.1.0 and place it in the oracle installation directory product, such as E:\app\Administrator\product
3. Copy listener.ora and tnsname.ora to
E:\app\Administrator\product\instantclient_11_2 folder;
Ps: the above two files listener.ora and tnsname.ora Location:
E:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN
4. Configure environment variables
1) Add E:\app\Administrator\product\instantclient_11_2; to the path (if the path does not end with ";", add a ;, and then add the forehead path);
2) Create or modify the TNS_ADMIN variable, the variable value is
E:\app\Administrator\product\instantclient_11_2;
3) Create or modify the ORACLE_HOME variable, the variable value is
E:\app\Administrator\product\instantclient_11_2;
4) Create or modify the NLS_LANG variable, the variable value is SIMPLIFIED CHINESE_CHINA.ZHS16GBK
Here, The author recommends that you copy the above variable values ​​directly. The meaning here is the unified encoding format.
It can also be set to be consistent with the database side. The sql to query the character set information on the database side is:
select userenv('language') nls_lang fromdual; (you can query through sqlplus first)
5) Open PLSQL Developer and select Tools -> perference -> Connection, configure the OracleHome and OCI Library items
Oracle Home: E:\app\Administrator\product\instantclient_11_2
OCI Library: E:\app\Administrator\product\instantclient_11_2\oci.dll

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326561747&siteId=291194637