ORACLE 安装心得
程序员文章站
2022-07-14 16:58:02
...
一、删除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) ) )
推荐阅读
-
Autodesk SketchBook Pro 2016怎么安装?SketchBook Pro 2016破解安装教程
-
CINEMA 4D怎么安装?CINEMA 4D R13中文汉化安装教程(附快捷键大全)
-
图文详解python安装Scrapy框架步骤
-
python从入门到精通 windows安装python图文教程
-
Anaconda下安装mysql-python的包实例
-
python多线程编程中的join函数使用心得
-
ThinkPHP使用心得分享-上传类UploadFile的使用
-
windows xp下安装pear
-
基于windows下pip安装python模块时报错总结
-
Anaconda 离线安装 python 包的操作方法