现在的位置: 首页 > 综合 > 正文

windows 下安装oracle-xe

2018年03月30日 ⁄ 综合 ⁄ 共 1951字 ⁄ 字号 评论关闭
文章目录

Oracle 11g XE 是 Oracle 数据库的免费版本,支持标准版的大部分功能,11g XE 提供 Windows 和 Linux 版本。

做为免费的 Oracle 数据库版本,XE 的限制是:

  1. 最大数据库大小为 11 GB??
  2.  可使用的最大内存是 1G
  3. 一台机器上只能安装一个 XE 实例
  4. XE 只能使用单 CPU,无法在多CPU上进行分布处理
  5. windows版本只支持32位的系统 

安装过程

  1. 操作系统至少是 Windows XP
  2. 当前操作用户必须有管理员权限,且必须是本地用户,不能是域用户登陆
  3. 当前机器尚未安装 XE
  4. 下载 Oracle 11g XE 并解压,解压后的DISK1目录中包含了 setup.exe
  5. 双击启动安装程序,首先会显示一个协议信息,点击继续安装
    • 选择安装目录
    • 设置数据库密码
  6. 前面几步过后会显示一个安装概要信息,包含以下内容:
    • 侦听器端口: 1521
    • MTS 服务端口: 2030
    • HTTP 侦听端口: 8080

  7. 最后,要修改sqlnet.ora文件,否则无法登陆数据库
    • 打开【oracle-xe安装目录】\app\oracle\product\11.2.0\server\network\ADMIN\sqlnet.ora
    • 修改文件内容为下面的内容
      # 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 = (BEQ,NONE)
      

接下来看看 XE 在我们的系统中安装了什么

Windows服务

服务详细列表

    1. OracleServiceXE This is the actual database engine. 数据库引擎
    2. OracleXETNSListener This service is responsible for listening incoming connections and passing successful connections to the database engine. Note, that if this service is down, you won't be able to connect to the database remotely. 端口监听服务,负责处理远程登陆,如果这个服务down了,你将不能够登陆数据库
    3. OracleJobSchedulerXE This service is used when external jobs are run. By default it is disabled. If you plan to run external jobs (such as executables, batches etc), modify the account the service uses to use proper, low-privileged credentials
      and start the service.
    4. OracleXEClrAgent On Windows platforms Oracle offers CLR integration. Since a CLR operation is run using an?extproc?process, it's normally done using a dedicated (single threaded)extproc?for a single session. This may not be the optimal
      way to handle CLR calls. ClrAgent provides a multi-threaded mechanism so that a single?extproc?process may serve several CLR calls.
    5. OracleMTSRecoveryService This one is responsible of resolving in-doubt transactions when Oracle is participating in distributed transactions with Microsoft Transaction Server.?

 程序列表

在开始菜单中,你会发现 Oracle 新安装的程序

参考文章:

在 Windows 下安装 Oracle 11g XE (Express Edition)

http://www.oschina.net/question/12_27650

http://stackoverflow.com/questions/5405969/how-to-connect-to-newly-installed-oracle-xe-instance/10569503#10569503

抱歉!评论已关闭.