个人工具

“UbuntuHelp:Oracle9i”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
第6行: 第6行:
 
Do the preparation steps for Oracle on Linux as described in the installation documentation.  Up to the point where the installer is about to be run.
 
Do the preparation steps for Oracle on Linux as described in the installation documentation.  Up to the point where the installer is about to be run.
 
Install the compiler and basic libraries:
 
Install the compiler and basic libraries:
<pre><nowiki> sudo aptitude install build-essential
+
<pre><nowiki>
 +
sudo aptitude install build-essential
 
</nowiki></pre>
 
</nowiki></pre>
[[UbuntuWiki:Repositories|Enable the universe repository]] and:
+
[[UbuntuHelp:Repositories|Enable the universe repository]] and:
<pre><nowiki> sudo aptitude install libstdc++2.10-glibc2.2
+
<pre><nowiki>
 +
sudo aptitude install libstdc++2.10-glibc2.2
 
</nowiki></pre>
 
</nowiki></pre>
 
The 9i installer seeks an older version of libstdc++ so create a link:
 
The 9i installer seeks an older version of libstdc++ so create a link:
<pre><nowiki> sudo ln -s /usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
+
<pre><nowiki>
 +
sudo ln -s /usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
 
</nowiki></pre>
 
</nowiki></pre>
 
Obtain p3006854_9204_LINUX.zip from [https://metalink.oracle.com Oracle Metalink] (Patch 3006854):
 
Obtain p3006854_9204_LINUX.zip from [https://metalink.oracle.com Oracle Metalink] (Patch 3006854):
<pre><nowiki> unzip p3006854_9204_LINUX.zip
+
<pre><nowiki>
 +
unzip p3006854_9204_LINUX.zip
 
cd 3006854
 
cd 3006854
 
sudo sh rhel3_pre_install.sh
 
sudo sh rhel3_pre_install.sh
 
</nowiki></pre>
 
</nowiki></pre>
 
The 9i installer expects awk to be in /bin so:
 
The 9i installer expects awk to be in /bin so:
<pre><nowiki> sudo ln -s /usr/bin/awk /bin/awk
+
<pre><nowiki>
 +
sudo ln -s /usr/bin/awk /bin/awk
 
</nowiki></pre>
 
</nowiki></pre>
 
Change to the Disk1 directory (of the unpacked install archives) and start the installer (as your 'oracle' user):
 
Change to the Disk1 directory (of the unpacked install archives) and start the installer (as your 'oracle' user):
<pre><nowiki>./runInstaller
+
<pre><nowiki>
 +
./runInstaller
 
</nowiki></pre>
 
</nowiki></pre>
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年5月12日 (二) 18:18的最新版本

Oracle9i on Ubuntu 5.10 (Breezy) and 6.06 LTS (Dapper)

Note: Access to Oracle's Metalink site is required Obtain the (monolithic) Oracle9i install archives and unpack them. Do the preparation steps for Oracle on Linux as described in the installation documentation. Up to the point where the installer is about to be run. Install the compiler and basic libraries:

 sudo aptitude install build-essential

Enable the universe repository and:

 sudo aptitude install libstdc++2.10-glibc2.2

The 9i installer seeks an older version of libstdc++ so create a link:

 sudo ln -s /usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2

Obtain p3006854_9204_LINUX.zip from Oracle Metalink (Patch 3006854):

 unzip p3006854_9204_LINUX.zip
cd 3006854
sudo sh rhel3_pre_install.sh

The 9i installer expects awk to be in /bin so:

 sudo ln -s /usr/bin/awk /bin/awk

Change to the Disk1 directory (of the unpacked install archives) and start the installer (as your 'oracle' user):

./runInstaller