`
javasalatu
  • 浏览: 724668 次
  • 性别: Icon_minigender_2
  • 来自: 北京
博客专栏
96df99eb-e89d-3228-9c8e-967fc745ec52
程序员的自我经营之道
浏览量:7710
文章分类
社区版块
存档分类
最新评论

Ubuntu10.10安装oracle 指南。

 
阅读更多
E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。
huzi@huzi-desktop:~$ sudo apt-get install oracle-xe
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
oracle-xe
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 221MB 的软件包。
解压缩后会消耗掉 405MB 的额外空间。
获取:1 http://oss.oracle.com/debian/ unstable/non-free oracle-xe i386 10.2.0.1-1.1 [221MB]
96% [1 oracle-xe 213MB/221MB 96%] 33.0kB/s 3分 56秒^[[96% [1 oracle-xe 213MB/221MB 96%] 33.0kB/s 3分 55秒^[[96% [1 oracle-xe 213MB/221MB 96%] 33.0kB/s 3分 51秒^[[96% [1 oracle-xe 213MB/221MB 96%] 46.2kB/s 2分 44秒^[[96% [1 oracle-xe 213MB/221MB 96%] 46.2kB/s 2分 43秒^[[下载 221MB,耗时 1小时 27分 25秒 (42.1kB/s)
选中了曾被取消选择的软件包 oracle-xe。
(正在读取数据库 ... 系统当前共安装有 127702 个文件和目录。)
正在解压缩 oracle-xe (从 .../oracle-xe_10.2.0.1-1.1_i386.deb) ...
This system does not meet the minimum requirements for swap space. Based on
the amount of physical memory available on the system, Oracle Database 10g
Express Edition requires 1024 MB of swap space. This system has 860 MB
of swap space. Configure more swap space on the system and retry the installation.
dpkg:处理 /var/cache/apt/archives/oracle-xe_10.2.0.1-1.1_i386.deb (--unpack)时出错:
子进程 新的 pre-installation 脚本 返回了错误号 1
在处理时有错误发生:
/var/cache/apt/archives/oracle-xe_10.2.0.1-1.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
huzi@huzi-desktop:~$ sudo apt-get install oracle-xe
[sudo] password for huzi:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
oracle-xe
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 0B/221MB 的软件包。
解压缩后会消耗掉 405MB 的额外空间。
(正在读取数据库 ... 系统当前共安装有 127702 个文件和目录。)
正在解压缩 oracle-xe (从 .../oracle-xe_10.2.0.1-1.1_i386.deb) ...
This system does not meet the minimum requirements for swap space. Based on
the amount of physical memory available on the system, Oracle Database 10g
Express Edition requires 1024 MB of swap space. This system has 860 MB
of swap space. Configure more swap space on the system and retry the installation.
dpkg:处理 /var/cache/apt/archives/oracle-xe_10.2.0.1-1.1_i386.deb (--unpack)时出错:
子进程 新的 pre-installation 脚本 返回了错误号 1
在处理时有错误发生:
/var/cache/apt/archives/oracle-xe_10.2.0.1-1.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
huzi@huzi-desktop:~$ sudo apt-get install oracle-xe
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
oracle-xe
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 0B/221MB 的软件包。
解压缩后会消耗掉 405MB 的额外空间。
(正在读取数据库 ... 系统当前共安装有 127702 个文件和目录。)
正在解压缩 oracle-xe (从 .../oracle-xe_10.2.0.1-1.1_i386.deb) ...
正在处理用于 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 (10.2.0.1-1.1) ...
update-rc.d: warning: /etc/init.d/oracle-xe missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
/etc/init.d/oracle-xe: line 68: /etc/init.d/functions: No such file or directory
Oracle Database 10g Express Edition is not configured. You must run
'/etc/init.d/oracle-xe configure' as the root user to configure the database.
Executing Post-install steps...
-e You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.

huzi@huzi-desktop:~$ /etc/init.d/oracle-xe configure
You must be root to run the configure script. Login as root and then run the
configure script.
huzi@huzi-desktop:~$ su /etc/init.d/oracle-xe configure
未知 id:/etc/init.d/oracle-xe
huzi@huzi-desktop:~$ sudo /etc/init.d/oracle-xe configure
/etc/init.d/oracle-xe: line 68: /etc/init.d/functions: No such file or directory

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:
Password can't be null. Enter password:
Password can't be null. Enter password:
Confirm the password:

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

Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
/etc/init.d/oracle-xe: line 177: /etc/sysconfig/oracle-xe: No such file or directory
To access the Database Home Page go to "http://127.0.0.1:8080/apex"
huzi@huzi-desktop:~$

//密码输入的和登录ubuntu密码一样。


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics