ORACLE 安装心得
程序员文章站
2022-07-14 16:58:14
...
一、删除oracle 9i
- 删除注册表
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
- 删除oracle服务
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ORACLE下的所有服务
- 删除事件日志
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application
- 删除环境变量Path, oracle_home
- 删除开始菜单中的oracle
- 删除安装window2000硬盘分区中所有的Program Files\Oracle目录
- 重启Window2000,所有服务自动停止
删除Oracle主目录,服务停止后,可以删除全部Oracle数据库文件
二 安装ORACLE11G。
(9I装了一个月美装成,环境是XP SP2,老是不能创建和启动数据库实例,弹出的错误提示窗口的内容是空的,我无奈了,只好装11G的了,9i这么年代久远的东西应该没有考虑装在XP上吧,看网上的很多都是装在WINDOWS 2000上)。
装完之后,重写listener.ora,sqlnet.ora,tnsnames.ora(需要注意的一点是最好把计算机名改成IP地址 )
sqlnet.ora
# sqlnet.ora Network Configuration File: D:\app\liguocai\product\11.1.0\db_1\network\admin\sqlnet.ora # Generated by Oracle configuration tools. # This file is actually generated by netca. But if customers choose to # install "Software Only", this file wont exist and without the native # authentication, they will not be able to connect to the database on NT. SQLNET.AUTHENTICATION_SERVICES= (NONE) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
listener.ora
# listener.ora Network Configuration File: D:\app\liguocai\product\11.1.0\db_1\NETWORK\ADMIN\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = D:\app\liguocai\product\11.1.0\db_1) (PROGRAM = extproc) ) (SID_DESC = (GLOBAL_DBNAME = orcl) (ORACLE_HOME = D:\app\liguocai\product\11.1.0\db_1) (SID_NAME = orcl) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) )
tnsname.ora
# TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora # Generated by Oracle configuration tools. EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) ) local_orcl= (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (CONNECT_DATA = (SID = ORCL) ) )
推荐阅读
-
为PHP安装imagick时出现Cannot locate header file MagickWand.h错误的解决方法
-
centos7下安装rabbitmq9.0
-
Minitab18 中文破解安装图文教程(附官方原版+破解补丁)
-
C#简单访问SQLite数据库的方法(安装,连接,查询等)
-
Adobe FrameMaker 2017 v14.0激活安装破解教程(附注册机)
-
Python使用cx_Freeze库生成msi格式安装文件的方法
-
android监听安装和卸载示例
-
DEV C++在win7系统中安装以及遇到的一些问题解决
-
zabbix安装与配置
-
CentOS7 下nginx与PHP的安装与配置