`
yunzhu
  • 浏览: 1145588 次
  • 性别: Icon_minigender_1
  • 来自: 南京
博客专栏
B2b19957-cda7-3a9e-83a0-418743feb0ca
监控应用服务器
浏览量:109922
2e8be8be-e51f-346c-bcdd-12623c9aa820
Web前端开发
浏览量:119764
Bfa5df64-a623-34b9-85b8-ef3ce2aed758
经典异常的解决
浏览量:204624
社区版块
存档分类
最新评论

在Ubuntu-11.4上安装体验版Oracle 10g

阅读更多

简介:

演示在Ubuntu-11.4环境上安装体验版Oracle 10g的全过程。

文中用红色字体标出全过程所有需要执行的命令,很少的说。

 

说明:

Ubuntu版本:11.4

Oracle版本:体验版10.2.0.1-1.0

Oracle安装文件:oracle-xe-universal_10.2.0.1-1.0_i386.deb

 

参考资料:Ubuntu上Oracle10g安装指南


一、修改Swap分区大小
chenfeng@chenfeng-VirtualBox:~/MySoft$ sudo dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
如果内存大小或Swap分区大小达不到要求,安装都会失败,并提示,
要增大内存必须通过虚拟机来设置,而增大Swap分区大小则通过一下步骤实现:

第一步,当然是建立一个img文件,大小为512M,需要1024的话就把count=500000改成1000000,这样我们才能访问它。
root@chenfeng-VirtualBox:/# dd if=/dev/zero of=swap.img bs=1024 count=1000000
记录了1000000+0 的读入
记录了1000000+0 的写出
1024000000字节(1.0 GB)已复制,18.6654 秒,54.9 MB/秒

第二步,当然是对它进行格式化,不要担心,格式化的只是这个文件,不用sudo。
root@chenfeng-VirtualBox:/# mkswap swap.img
mkswap: swap.img: warning: don't erase bootbits sectors
        on whole disk. Use -f to force.
Setting up swapspace version 1, size = 999996 KiB
no label, UUID=7b4f0631-8402-4c7d-9ef4-ad47e84a6287
root@chenfeng-VirtualBox:/# mkswap -f swap.img
Setting up swapspace version 1, size = 999996 KiB
no label, UUID=68fd2d90-30ff-4472-a19b-5c0b25046faa

第三步,当然是激活它,使它可用。
root@chenfeng-VirtualBox:/# sudo swapon swap.img

第四步,查看交换分区大小
root@chenfeng-VirtualBox:/# free -m
             total       used       free     shared    buffers     cached
Mem:           960        914         46          0          9        692
-/+ buffers/cache:        211        749
Swap:         1486          0       1486


二、安装依赖的软件包libaio、libaio1等
chenfeng@chenfeng-VirtualBox:~/MySoft$ sudo dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
[sudo] password for chenfeng:
(正在读取数据库 ... 系统当前共安装有 130796 个文件和目录。)
正在解压缩 oracle-xe-universal (从 oracle-xe-universal_10.2.0.1-1.0_i386.deb) ...
dpkg:依赖关系问题使得 oracle-xe-universal 的配置工作不能继续:
oracle-xe-universal 依赖于 libaio (>= 0.3.96) | libaio1 (>= 0.3.96);然而:
  未安装软件包 libaio。
  未安装软件包 libaio1。
dpkg:处理 oracle-xe-universal (--install)时出错:
依赖关系问题 - 仍未被配置
正在处理用于 bamfdaemon 的触发器...
Rebuilding /usr/share/applications/bamf.index...
正在处理用于 desktop-file-utils 的触发器...
正在处理用于 python-gmenu 的触发器...
Rebuilding /usr/share/applications/desktop.zh_CN.utf8.cache...
正在处理用于 man-db 的触发器...
正在处理用于 ureadahead 的触发器...
ureadahead will be reprofiled on next reboot
正在处理用于 python-support 的触发器...
在处理时有错误发生:
oracle-xe-universal

chenfeng@chenfeng-VirtualBox:~/MySoft$ sudo apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树     
正在读取状态信息... 完成     
正在更正依赖关系... 完成
将会安装下列额外的软件包:
  libaio1
下列【新】软件包将被安装:
  libaio1
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 249 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 6,150 B 的软件包。
解压缩后会消耗掉 81.9 kB 的额外空间。
您希望继续执行吗?[Y/n]Y
获取:1 http://cn.archive.ubuntu.com/ubuntu/ natty/main libaio1 i386 0.3.107-7ubuntu2 [6,150 B]
下载 6,150 B,耗时 2秒 (2,989 B/s)
选中了曾被取消选择的软件包 libaio1。
(正在读取数据库 ... 系统当前共安装有 133390 个文件和目录。)
正在解压缩 libaio1 (从 .../libaio1_0.3.107-7ubuntu2_i386.deb) ...
正在设置 libaio1 (0.3.107-7ubuntu2) ...
正在设置 oracle-xe-universal (10.2.0.1-1.0) ...
update-rc.d: warning: /etc/init.d/oracle-xe missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Executing Post-install steps...
-e You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place

三、安装
chenfeng@chenfeng-VirtualBox:~/MySoft$ sudo dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
(正在读取数据库 ... 系统当前共安装有 133397 个文件和目录。)
正预备替换 oracle-xe-universal 10.2.0.1-1.0 (使用 oracle-xe-universal_10.2.0.1-1.0_i386.deb) ...
正在解压缩将用于更替的包文件 oracle-xe-universal ...
正在设置 oracle-xe-universal (10.2.0.1-1.0) ...
update-rc.d: warning: /etc/init.d/oracle-xe missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Executing Post-install steps...
-e You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.

正在处理用于 bamfdaemon 的触发器...
Rebuilding /usr/share/applications/bamf.index...
正在处理用于 desktop-file-utils 的触发器...
正在处理用于 python-gmenu 的触发器...
Rebuilding /usr/share/applications/desktop.zh_CN.utf8.cache...
正在处理用于 man-db 的触发器...
正在处理用于 ureadahead 的触发器...
正在处理用于 python-support 的触发器...

四、配置
chenfeng@chenfeng-VirtualBox:~/MySoft$ sudo /etc/init.d/oracle-xe configure

Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition.  The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts.  Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of
different passwords for each database account.  This can be done after
initial configuration:
Confirm the password:

Passwords do not match.  Enter the password:
Confirm the password:

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y

Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"

 

OK~   安装完毕!

分享到:
评论

相关推荐

    ubuntu下安装oracle10g

    在Ubuntu 8.04系统上安装Oracle 10g是一项技术性较强的任务,涉及到操作系统配置、依赖安装、用户权限管理以及数据库实例的创建等多个环节。以下是对整个过程的详细阐述: 1. **系统需求与准备**:首先,确保你的...

    Oracle 11g for ubuntu 安装教程

    Oracle 11g 是一个功能强大的关系数据库管理系统,但是其在 Ubuntu 下的安装却存在一定的难度。以下是 Oracle 11g for ubuntu 安装教程的知识点总结: 安装前提条件 * Ubuntu 8.04 desktop (32 位) 操作系统 * ...

    Ubuntu 10.10安装Oracle 10g

    本文档提供了一套详细的指南,用于在 Ubuntu 10.10 操作系统上安装 Oracle 10g 数据库。该文档由长春工业大学软件职业技术学院的李阳撰写,针对的是那些希望在 Ubuntu 平台上部署 Oracle 10g 的用户。 #### 二、...

    UBUNTU安装ORACLE11G

    在ubuntu上安装oracle11g,其中有些小细节,不注意是会出问题的,当时我费了不少力的。

    Ubuntu_10安装Oracle_10g手记

    根据给定的文件信息,我们可以总结出在Ubuntu 9.10系统上安装Oracle 10g的关键步骤和注意事项,尽管标题与描述提及的是Ubuntu 10,但内容实际涉及的是Ubuntu 9.10。以下是详细的安装指南: ### 安装前的系统准备 ...

    U盘安装Ubuntu教程+Ubuntu系统安装oracle10g教程

    Ubuntu系统安装oracle10g教程图文教程 制作U盘ubuntu启动工具universal-usb-installer.exe 包含所需ubuntu10.04迅雷下载种子 oracle for linux 下载链接 缺失文件compat-libstdc++-33-3.2.3-47.3.i386.rpm

    ubuntu-16.04.3镜像种子

    标题中的“ubuntu-16.04.3镜像种子”指的是Ubuntu操作系统的第四个点更新版本,即16.04.3 LTS (长期支持版) 的安装镜像文件,通常用于创建或升级Ubuntu系统。这个镜像是以种子(torrent)的形式提供的,这是一种P2P...

    Ubuntu8.04_server安装oracle10g

    在 Ubuntu 8.04 Server 上安装 Oracle 10g 是一项技术性较强的任务,需要遵循一系列详细的步骤。以下是安装过程中的关键知识点: 1. **环境准备**: - Ubuntu 平台:Ubuntu 8.04 Server 是一个基于 Debian 的 ...

    ubuntu-14.04.3-desktop-amd64.iso.zip

    总结起来,"ubuntu-14.04.3-desktop-amd64.iso.zip"是一个包含Ubuntu 14.04.3 LTS桌面版的ISO镜像文件的压缩包,适合用于安装在64位系统上,它提供了一个稳定的桌面环境和长期的技术支持。用户需要解压后使用该ISO...

    ubuntu16下安装oracle11g

    在安装Oracle11g之前,您可能会遇到虚拟机与宿主机之间无法共享文件的问题。这是因为Vmware Tools未安装或已经损坏。解决这个问题的步骤包括: - 在VMware中安装VMware Tools,通过菜单“VM”-&gt;“Install VMWare ...

    ubuntu9.10 安装oracle10G

    【Ubuntu9.10 安装Oracle10G】是一个关于在Ubuntu 9.10操作系统上安装Oracle数据库10g的实践教程。这个过程包括了多个步骤,确保系统满足安装Oracle所需的基本要求,并对系统进行必要的配置。 首先,安装过程中涉及...

    TensorRT-8.2.5.1.Windows10.x86_64.cuda-11.4.cudnn8.2.zip

    NVIDIA官网资源TensorRT 8.2 GA Update 4,请仔细核对版本 TensorRT-8.2.5.1.Windows10.x86_64.cuda-11.4.cudnn8.2.zip

    ubuntu-20.04-desktop-amd64

    ubuntu-20.04-desktop-amd64(百度网盘) (ISO)(百度网盘)(百度网盘)

    Ubuntu 16.04(Ubuntu 16.04安装Oracle 11g及配置环境pdf)

    在本文中,我们将深入探讨如何在Ubuntu 16.04操作系统上安装Oracle 11g数据库,并进行必要的环境配置。Ubuntu 16.04是Linux发行版中的一款稳定且广泛使用的版本,而Oracle 11g是企业级的关系型数据库管理系统,适合...

    ubuntu-14.04.1-desktop-amd64.iso.zip

    在这个特定的案例中,"ubuntu-14.04.1-desktop-amd64.iso"是Ubuntu 14.04.1桌面版的64位ISO文件,用户可以使用它来创建DVD或者USB启动媒体,从而在计算机上安装或试用Ubuntu系统。 ISO文件通常需要使用解压工具才能...

    在Ubuntu Server(804,904)上安装Oracle 10g企业版

    ### 在Ubuntu Server(804,904)上安装Oracle 10g企业版 #### 安装准备与环境配置 本指南旨在为希望在Ubuntu Server 8.04或9.04版本上安装Oracle 10g企业版数据库的用户提供了详细的步骤和注意事项。Ubuntu Server...

    ubuntu-14.04.5-desktop-i386.iso.torrent

    ubuntu-14.04.5-desktop-i386 版本的 迅雷 下载 torrent

    ubuntu-14.04.5-desktop-amd64.iso.zip

    综上所述,"ubuntu-14.04.5-desktop-amd64.iso.zip"是一个包含了Ubuntu 14.04.5 LTS桌面版的64位ISO镜像文件的压缩包,提供了一种安全可靠的方式获取并安装这个操作系统。对于那些想要尝试或使用Ubuntu的用户,这是...

    ubuntu-18.04.6下载

    标题“Ubuntu 18.04.6 下载”指的是Ubuntu操作系统的第6个修订版,版本号为18.04,代号为Bionic Beaver。...通过下载并使用“ubuntu-18.04.6-desktop-amd64.iso”文件,用户可以体验到开源世界带来的强大功能和灵活性。

    debian、ubuntu、凝思磐石系统oracle11g安装包,内置安装脚本

    总结起来,这个压缩包为在Debian、Ubuntu和凝思磐石系统上安装Oracle 11g提供了便利。内置的安装脚本不仅简化了安装流程,还支持自动恢复数据库,这对于开发者和运维人员来说是一个高效且实用的工具。然而,在实际...

Global site tag (gtag.js) - Google Analytics