特殊:Badtitle/NS100:Oracle10gDapper:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第58行: | 第58行: | ||
I make this install only on a 32 bit version of Ubuntu Server Dapper and Oracle. | I make this install only on a 32 bit version of Ubuntu Server Dapper and Oracle. | ||
== See also == | == See also == | ||
[[UbuntuHelp: | [[UbuntuHelp:Oracle10g]] - general notes and important prerequisites for running Oracle on Ubuntu | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 16:44的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Oracle10gDapper }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/af | • {{#if: UbuntuHelp:Oracle10gDapper|Afrikaans| [[::Oracle10gDapper/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/ar | • {{#if: UbuntuHelp:Oracle10gDapper|العربية| [[::Oracle10gDapper/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/az | • {{#if: UbuntuHelp:Oracle10gDapper|azərbaycanca| [[::Oracle10gDapper/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/bcc | • {{#if: UbuntuHelp:Oracle10gDapper|جهلسری بلوچی| [[::Oracle10gDapper/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/bg | • {{#if: UbuntuHelp:Oracle10gDapper|български| [[::Oracle10gDapper/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/br | • {{#if: UbuntuHelp:Oracle10gDapper|brezhoneg| [[::Oracle10gDapper/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/ca | • {{#if: UbuntuHelp:Oracle10gDapper|català| [[::Oracle10gDapper/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/cs | • {{#if: UbuntuHelp:Oracle10gDapper|čeština| [[::Oracle10gDapper/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/de | • {{#if: UbuntuHelp:Oracle10gDapper|Deutsch| [[::Oracle10gDapper/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/el | • {{#if: UbuntuHelp:Oracle10gDapper|Ελληνικά| [[::Oracle10gDapper/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/es | • {{#if: UbuntuHelp:Oracle10gDapper|español| [[::Oracle10gDapper/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/fa | • {{#if: UbuntuHelp:Oracle10gDapper|فارسی| [[::Oracle10gDapper/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/fi | • {{#if: UbuntuHelp:Oracle10gDapper|suomi| [[::Oracle10gDapper/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/fr | • {{#if: UbuntuHelp:Oracle10gDapper|français| [[::Oracle10gDapper/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/gu | • {{#if: UbuntuHelp:Oracle10gDapper|ગુજરાતી| [[::Oracle10gDapper/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/he | • {{#if: UbuntuHelp:Oracle10gDapper|עברית| [[::Oracle10gDapper/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/hu | • {{#if: UbuntuHelp:Oracle10gDapper|magyar| [[::Oracle10gDapper/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/id | • {{#if: UbuntuHelp:Oracle10gDapper|Bahasa Indonesia| [[::Oracle10gDapper/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/it | • {{#if: UbuntuHelp:Oracle10gDapper|italiano| [[::Oracle10gDapper/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/ja | • {{#if: UbuntuHelp:Oracle10gDapper|日本語| [[::Oracle10gDapper/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/ko | • {{#if: UbuntuHelp:Oracle10gDapper|한국어| [[::Oracle10gDapper/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/ksh | • {{#if: UbuntuHelp:Oracle10gDapper|Ripoarisch| [[::Oracle10gDapper/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/mr | • {{#if: UbuntuHelp:Oracle10gDapper|मराठी| [[::Oracle10gDapper/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/ms | • {{#if: UbuntuHelp:Oracle10gDapper|Bahasa Melayu| [[::Oracle10gDapper/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/nl | • {{#if: UbuntuHelp:Oracle10gDapper|Nederlands| [[::Oracle10gDapper/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/no | • {{#if: UbuntuHelp:Oracle10gDapper|norsk| [[::Oracle10gDapper/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/oc | • {{#if: UbuntuHelp:Oracle10gDapper|occitan| [[::Oracle10gDapper/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/pl | • {{#if: UbuntuHelp:Oracle10gDapper|polski| [[::Oracle10gDapper/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/pt | • {{#if: UbuntuHelp:Oracle10gDapper|português| [[::Oracle10gDapper/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/ro | • {{#if: UbuntuHelp:Oracle10gDapper|română| [[::Oracle10gDapper/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/ru | • {{#if: UbuntuHelp:Oracle10gDapper|русский| [[::Oracle10gDapper/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/si | • {{#if: UbuntuHelp:Oracle10gDapper|සිංහල| [[::Oracle10gDapper/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/sq | • {{#if: UbuntuHelp:Oracle10gDapper|shqip| [[::Oracle10gDapper/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/sr | • {{#if: UbuntuHelp:Oracle10gDapper|српски / srpski| [[::Oracle10gDapper/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/sv | • {{#if: UbuntuHelp:Oracle10gDapper|svenska| [[::Oracle10gDapper/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/th | • {{#if: UbuntuHelp:Oracle10gDapper|ไทย| [[::Oracle10gDapper/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/tr | • {{#if: UbuntuHelp:Oracle10gDapper|Türkçe| [[::Oracle10gDapper/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/vi | • {{#if: UbuntuHelp:Oracle10gDapper|Tiếng Việt| [[::Oracle10gDapper/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/yue | • {{#if: UbuntuHelp:Oracle10gDapper|粵語| [[::Oracle10gDapper/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/zh | • {{#if: UbuntuHelp:Oracle10gDapper|中文| [[::Oracle10gDapper/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/zh-hans | • {{#if: UbuntuHelp:Oracle10gDapper|中文(简体)| [[::Oracle10gDapper/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Oracle10gDapper | UbuntuHelp:Oracle10gDapper | {{#if: | :}}Oracle10gDapper}}/zh-hant | • {{#if: UbuntuHelp:Oracle10gDapper|中文(繁體)| [[::Oracle10gDapper/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Oracle10gDapper|:Oracle10gDapper|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Oracle10gDapper/zh | | {{#ifexist: Oracle10gDapper/zh | | {{#ifeq: {{#titleparts:Oracle10gDapper|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Oracle10gDapper|1|-1|}} | zh | | }}
Oracle Express Edition 10g R2 / on Ubuntu Dapper 6.06 LTS
Oracle Express Edition 10g R2 is the small "free" version from Oracle (see http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html) and download the "oracle-xe-universal_10.2.0.1-0_i386.deb" Debian / Ubuntu package It's really easy to install under a fresh standard Drapper Server (6.06 LTS). You don't need to to create the usual oracle users or to modify the sysctr.conf file. This is all done by the package.
Requirements
Systems requirements
As usual, Oracle needs a lot of resources, with a minumum for the server of 512 MBytes of Ram and 1024 MBytes of Swap and 1.5 Gbytes of free disk space. This requirements are checked by the install package. As the amount of swap isn't the default value for a fresh install, be aware of that. A workaround for that is described in http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html
Needed libraries
Only one additional lib and one tool are needed:
- libaio1 - kernel aio access library
- bc - The GNU bc arbitrary precision calculator language
apt-get install libaio bc
Installation
Ok, now the really funny part for all guys who have already installed an Oracle server....
dpkg -i oracle-xe-universal_10.2.0.1-0_i386.deb
Configuration
You have to execute
/etc/init.d/oracle-xe configure
This script will ask you for the initial SYS and SYSTEM password, The TCP ports of the Oracle listener and Oracle Application Server. In most cases you should use the standard ports recommended by the script. Now for creating users / schema / ... you have a nice http interface to do it :
http://localhost:8080/apex/
No more need of java. If, like me, you install this Oracle database on a server without a graphic X server, you may need to use a SSH port forwarding
ssh -L 8080:localhost:8080 user@IP_of_your_server
Installing with apt-get
As an alternative method to install Oracle XE 10g in Ubuntu Dapper, Oracle made a repository so you can use apt-get instead of dpkg. Just add this line to /etc/apt/sources.list file:
deb http://oss.oracle.com/debian unstable main non-free
And run:
apt-get update
Note: you might need to run the following command if you get a GPG error:
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | apt-key add -
There are 3 packages to select from:
- oracle-xe - Oracle Database 10g Express Western European Edition
- oracle-xe-client - Oracle Client 10g Express Edition
- oracle-xe-universal - Oracle Database 10g Express Universal Edition
Disclamer
I make this install only on a 32 bit version of Ubuntu Server Dapper and Oracle.
See also
UbuntuHelp:Oracle10g - general notes and important prerequisites for running Oracle on Ubuntu