Oracle for Linux インストール HOWTO <author>Stephen Darlington, <tt/<stephen@zx81.org.uk>/ <date>$Id: Oracle-8-HOWTO.sgml,v 1.1 2000/07/13 14:36:27 nakano Exp $ <trans>酒井 英禎 <sake@istar.ca> <tdate>v1.12j May 22, 2000 <abstract> <!-- With this HOWTO, and a little luck, you will be able to get "Oracle8i Enterprise Edition for Linux" installed, create a database and connect to it from a remote machine. The main focus of this guide is RedHat Linux 6.0, although it should work more-or-less unchanged for any other recent distribution. --> わずかばかりの幸運とこの HOWTO によって、Oracle8i Enterprise Edition for Linux をインストールし、データベースを作成し、リモートマシン からそれに接続できるようになるはずです。 最近の他のディストリビューションに対しても おおよそ変更なしで適用できるはずですが、 このガイドの主な焦点は RedHat Linux 6.0 に当てられています。 (訳注:本HOWTO では Release 8.1.5 について取り扱います。なお R8.1.5 の Enterprise Edition は日本での出荷が見送られ、機能 を削減した Workgroup Server だけが出荷されています。ただし インストール手順は大差ありません) </abstract> <toc> <sect> <!-- Introduction --> はじめに <sect1> <!-- What's in here? --> この HOWTO の内容 <p> <!-- Linux is well known for being difficult and, generally, user hostile. Being a bit of a Unix fan I'm not sure whether I agree with that or not. Oracle is similar I guess. Initially it's difficult to get to grips with, but it's difficult to work with any other RDBMS when you're used to it. Combine the two, remember that 8i is only the second production release, and you realise that this isn't going to be straight-forward, even if you're familiar with both. I am, but I had problems. Many problems were my own stupidity or hubris, but I document them for completeness. --> Linux は難解で、一般にユーザにとっては近寄りがたいことで広く 知られています。ちょっとした Unix ファンの私としては、このことに 同意できるかどうかわかりませんが。 Oracle も同じようなものだと思います。はじめはとっつきにくいものの、 慣れてしまえば、他の RDBMS なんて使っていられなくなります。 この2つが一緒になるわけで、Oracle8i はまだ第 2 リリースだと いうことを思い出せば、たとえこの両方に詳しくても、一筋縄では いかないだろうと気づくでしょう。 私自身、この両方に詳しいつもりですが、それにもかかわらず、問題は起き ました。私自身の愚かさや思い上がりから生じた問題も多かったのですが、 完全を期すため、すべて書き記すことにしました。 <sect1> <!-- Who is this HOWTO for? --> この HOWTO は誰のためのもの? <p> <!-- First, this document is for people who want to install Oracle8i version 8.1.5 on Linux. It does not cover any earlier versions. If you want to install 8.0, I recommend you try <url name="Linux Journals guide" url="http://www2.linuxjournal.com/lj-issues/issue67/3572.html">, and if you want to install any of the previous versions you're going to have to use the SCO version and follow Paul Haigh's <url name="Oracle Database HOWTO" url="http://www.linuxdoc.org/HOWTO/Oracle-HOWTO.html">. If you're trying to install the 'right' version, here is a little of my back-ground. Clearly if yours is similar we're going to be on the same wave-length. --> このドキュメントは Linux 上の Oracle8i バージョン 8.1.5 をインストール したい人たちのためのものです。(訳注:<url name="Oracle Technet" url="http://technet.oracle.com"> に入会すると1つの開発ライセンスつき CD を 無料で送ってくれます。つまり1人の開発者が使用可能だが、自由に配布できない というものです) これより前のバージョンについてはいっさい取り扱っていません。 もし 8.0 をインストールしたいなら、 <url name="Linux Journals guide" url="http://www2.linuxjournal.com/lj-issues/issue67/3572.html">にトライ することをお勧めします。これ以前のバージョンをインストールしたいときには、 SCO 版を使わなくてはならないでしょう。そのときは、Paul Haigh の <url name="Oracle Database HOWTO" url="http://www.linuxdoc.org/HOWTO/Oracle-HOWTO.html"> の指示に従うこと。 「正しい」バージョンをインストールしようとしている人たちに、私の バックグランドを少し説明します。もし読者のバックグランドが似たものであるなら、 あきらかに私たちは波長がぴったりあうことになりますね。 <itemize> <item> <!-- I've used Unix before. In fact, it's probably my 'specialist' area. At university I picked up the rudiments of SunOS/Solaris and, since then, I've built on that and added HP-UX (about a year) and Linux (five years, but in my own time rather than commercially). I think if you're coming from a Windows or NT background, installing Oracle on Linux could be quite difficult. There are lots of concepts and terminology to pick up even before you get held up by the bugs. --> 私は Unix 経験者です。というより、おそらく私は Unix の 「専門家」といえるでしょう。大学で、SunOS/Solaris の初歩を覚えました。 それから、SunOS/Solaris を使い続け、HP-UX (約1年) と Linux (5年。でもこれは会社というより自分の時間で) が知識に付け加わりました。 Windows か NT のバックグランドから来ているなら、Oracle を Linux に インストールするのは、かなり難しいかもしれません。バグの前でお手上げ状態に なるまえに、まずたくさんの概念や専門用語を学ばなくてはならないのです。 <item> <!-- I've used Oracle before. I've installed and DBA'd versions 7.1 and 7.3, and have developed on 8.0 (all on Solaris). Fortunately, the Oracle installation procedure is getting easier. Unfortunately it's not very stable at the moment, at least not on Linux. The bottom line is, if you've not used Oracle before, this might not be a good product to start with unless you have a lot of time and patience. --> 私は Oracle 経験者です。DBA(データベース管理者) として、version 7.1 と 7.3 をインストールしたことがあるし、8.0 上でシステム開発したこともあります。 (これらはみな Solaris 上) 幸いなことに、Oracle のインストール手順は 簡単になってきています。あいにく、いまのところそれはあまり安定していません。 少なくとも Linux の上ではそうです。 要するに、もし Oracle を前に使ったことがないのなら、これは手始めとしては よい製品ではないかもしれないということです。よほど時間と根気でもないかぎり。 </itemize> <!-- I'm assuming that you have a certain amount of knowledge in this area. Even installing Oracle isn't a trivial exercise, so I don't intend writing a 'press this key now' type of guide. If you want this kind of 'dummies guide,' neither this HOWTO nor Oracle are probably the right thing for you. --> 読者がこの分野で一定量の知識を持っていることを前提にしています。 Oracle をインストールすることさえささいな課題ではないので、 「ではこのキーを押しましょう」という手のガイドブックを書くつもりは ありません。もしこの手の「サルでもわかるガイドブック」がほしいなら、 この HOWTO も Oracle もたぶんふさわしくないでしょうね。 <sect1> <!-- New versions of this document --> このドキュメントの新しいバージョン <p> <!-- Things move quickly in the world of Linux and Oracle, meaning that this document can quickly get out of date. If this document is more than a month or two old, I suggest you take a look at <url name="my web site" url="http://www.zx81.org.uk/computing/oracle/oracle-howto/"> for an update. --> Linux と Oracle の世界では、物事はめまぐるしく移り変わります。 このドキュメントもすぐ時代遅れになってしまうということです。 もしこのドキュメントが 1・2ヶ月以上古かったら、改訂版を <url name="私のウェブサイト" url="http://www.zx81.org.uk/computing/oracle/oracle-howto/"> で見てみることをお勧めします。 <sect1> <!-- Disclaimer --> 免責 <p> <!-- You get what you pay for. I offer no warranty of any kind, implied or otherwise. I'll help you where I can but legally you're on your own. --> 高いものには高いものなりの、安いものには安いものなりのことはあります。 <!--(cz)原著者いわく、「タダなのだから、サポートを期待しないでね」という 意味のことをちょっぴりユーモラスに言いたかったとのことです。でも、 一応原文になるべく忠実に訳してみました--> 私は、暗黙的であれ何であれ、いかなる種類の保証も提供しません。 できるかぎりの援助は惜しみませんが、法的には読者自身で責任をとってください。 <sect1> <!-- Credits and Thanks --> 謝辞 <p> <!-- This HOWTO has been written by Stephen Darlington. It couldn't have been created without the constant stream of questions and answers on Oracle Technet and the Usenet news-groups. So thanks to the people that keep posting and sorry that I can't credit you all individually! Thanks to the following people, in no particular order, for their contributions to this document: Ton Haver, Guy Cole, Iain Frerichs, Albert Braun, Steve Morando and Krill Kokoshka. I welcome any constructive feedback on this HOWTO and any general Linux or Oracle issues. Email me at <url url="mailto:stephen@zx81.org.uk" name="stephen@zx81.org.uk">. --> この HOWTO は Stephen Darlington によって記述されました。 Oracle Technet ニュースグループと Usenet ニュースグループでの、途切れる ことのない質問と答えの数々がなかったら、この HOWTO は作り出せなかった ことでしょう。投稿しつづけてくれている人たちに感謝します。すべての人たちを 個別に記すことができなくてすみません。 このドキュメントへの貢献に対して、次の人たちに感謝を述べます(順不同) −Ton Haver, Guy Cole, Iain Frerichs, Albert Braun, Steve Morando そして Krill Kokoshka. この HOWTO と Linux または Oracle に関する一般事項に関して、 建設的なご意見をお待ちしています。<url url="mailto:stephen@zx81.org.uk" name="stephen@zx81.org.uk">. にメールしてください。 <sect1> <!-- Licence --> ライセンス(Licence) <p> This document is copyright 2000 Stephen Darlington. You may use, disseminate and reproduce it freely, provided you: <itemize> <item>Do not omit or alter this copyright notice. <item>Do not omit or alter the version number and date. <item>Do not omit or alter the document's pointer to the current WWW version. <item>Clearly mark any condensed, altered or versions as such. </itemize> These restrictions are intended to protect potential readers from stale or mangled versions. If you think you have a good case for an exception, ask me. (This copyright notice has been lifted from Eric Raymond's Distribution HOWTO.) (訳注:読者の便宜のため日本語訳をしますが、原文の著作権表示が優先します) このドキュメントの著作権は Stephen Darlington が所有します。 <!--(cz)2000はどうやってもりこむ?--> 以下の条件を満たすかぎり、自由に使用、配布、再生産して構いません。 <itemize> <item>この著作権表示を省略または改変しないこと。 <item>バージョン番号および日付を省略または改変しないこと。 <item>現在の WWW 版へのドキュメント中のポインタを省略または 改変しないこと。 <item>あらゆる簡略版・改変版をそれとして明確に指し示すこと。 </itemize> こんな規定をもうけてあるのは、将来の読者を旧版や改悪版から守るためです。 妥当な理由があるので例外を認めてほしい、という方はご連絡ください。 (この著作権表示は Eric Raymond の Distribution HOWTO から拝借しました) <sect> <!-- Starting off --> はじめの一歩 <sect1> <!-- Overview --> 概観 <p> <!-- In this section, we'll set up Linux so that you're in a position to get Oracle8i from the CD that they sent you into your hard-disk. The Oracle installation process begins when you've built your PC, installed Linux, configured it and connected it to your network. --> この節では、送られてきた CD から Oracle8i を取り出して、 ハードディスクにインストールするところまでたどりつけるように Linux を設定します。 Oracle のインストールをする前に、まず PC を組み立て、Linux を インストールし、各種設定を行って、ネットワークに接続しておか ねばなりません。 <sect1> <!-- Prerequisites --> 前提条件 <p> <!-- I think that the most important part of the prerequisites is not to underestimate them and, as far as the software is concerned, not to differ unless you have to. My sad tale is as follows: --> 思うに、最も重要な前提条件は、前提条件それ自体を軽視しないこと、そして、 ソフトウェアに関するかぎり、必要がなければ、違うふうにやらないことです。 私の悲しいお話は以下の通り− <itemize> <item> <!-- My first and biggest mistake was to assume that Oracle were joking when they said that you need 128Mb of RAM. I've installed Oracle a couple of times on Sun servers with that much, why would I need more on a CISC machine? Believe Oracle not my gut. My machine with 32Mb of Ram ground on for less than half an hour before I realised that it was hopeless. --> 最初のそして最大の過ちは、Oracle が 128MB の RAM が必要だと言ったとき、 それを冗談だと思ったことです。それくらいのメモリを積んだ Sun サーバに 2度 Oracle をインストールしたことはあるものの、どうして CISC マシンに それ以上のメモリが必要なんだろう?私の勘ではなく、Oracle を信じること です。32MB の RAM の私のマシンと格闘すること 30 分足らず、望みがないことに 気づきました。 <item> <!-- When Oracle say that you need the Java Runtime Environment version 1.1.6, that's what they mean. Don't think 'newer versions will be less buggy' as the installer probably won't work. Summary: download Blackdown's JRE 1.1.6v5 as the documentation tells you. You'll end up doing that anyway. --> Oracle が Java Runtime Environment version 1.1.6 が必要だと言ったら、 まさにその通りのことを意味します。「新しいバージョンのほうがバグが 少ないだろう」とは考えないことです。インストーラはおそらくうまく 動かないからです。まとめ−ドキュメントの指示通り、Blackdown の JRE 1.1.6v5 をインストールしましょう。いずれにしろ、最後はそうするはめに なります。 </itemize> <!-- Oracle seem to have done most of their development on RedHat Linux. For a fuss-free installation, do the same. I've heard horror stories about trying to get it installed on other distributions. I used a fairly vanilla RH6 setup and had very few problems. I downloaded and installed the JRE version 1.1.6v5, added all the patches up to August 1999 and upgraded the kernel to 2.2.13, but that was in order to support my network card. I have no reason to suspect that Oracle won't work with the RedHat supplied 2.2.5 kernel. Note, the Oracle installer seems to be hard-coded to expect the JRE executable to be at <tt>/usr/local/jre/bin/jre</tt>. While this doesn't mean that you have to install it there (see below), it does mean that you can't get away with using the JDK. This is an important point so I'll repeat it: you must use the JRE, the Oracle installer won't work with the JDK! I performed the following steps to get a working copy of the JRE: --> Oracle は RedHat Linux の上で大部分の開発を行ったようです。 平穏なインストールのためには、同じ事をしましょう。他のディストリ ビューションにインストールしようとしたときのぞっとする話をいくつか 耳にしたことがあります。 ごくありふれた RH6 の設定を使ったところ、ほとんど問題は 起きませんでした。私は、JRE version 1.1.6v5 をダウンロード・ インストールし、1999年8月までのすべてのパッチを当てました。 さらにカーネルのバージョンを 2.2.13 に上げたのですが、 これは私のネットワークカードを使えるようにするためでした。 Oracle は RedHat 付属の 2.2.5 カーネルでもきっと動くはずです。 注意。Oracle のインストーラは JRE の実行ファイルが <tt>/usr/local/jre/bin/jre</tt> にあるという前提で実装されている ようです。だからと言ってそこに JRE をインストールしなければなら ないということではありませんが (下記参照) JDK で代用するわけには いきません。これは重要なポイントなので、もういちど言います。 −必ず JRE を使うことです。Oracle のインストーラは JDK とは一緒に 動きません! (訳注:JRE のダウンロードが必要なのは R8.1.5 だけです。 Linux 版でも R8.1.6 では CD の中にインストール用の JRE が含まれて いますし、R8.0.5 はインストーラが Java を使いません。R8.1.6 の試用版は Oracle Technet でダウンロード可能です) JRE の作業版を取得するために、次の手順を実行しました。 <enum> <item> <!-- Download the Java Runtime Environment from the <url name="Blackdown website" url="http://www.blackdown.org"> --> <url name="Blackdown のウェブサイト" url="http://www.blackdown.org"> から Java Runtime Environment をダウンロードする。 <item> <!-- Move to where you want to install the JRE: --> JRE をインストールしたい場所に移動する - <verb>cd /usr/local</verb> <item> <!-- Uncompress the archive: --> アーカイブを解凍する - <verb>bzip2 -d -c jre-1.1.6-v5-glibc-x86.tar.bz2 | tar xvf -</verb> <item> <!-- Create a symbolic link between where Oracle thinks it is and where it actually is: --> Oracle が想定する場所と実際の場所の間にシンボリックリンクを張る - <verb>ln -s jre116_v5 jre</verb> </enum> <!-- As for the hardware, once you get above a certain 'base' level Oracle should work on almost any hardware you get get Linux running on. My system, for reference, is an Intel Celeron 466Mhz with 128Mb memory, an 8Gb hard-disk and a DM9102 network card. This is not a machine for heavy database applications, but is perfectly sufficient for a small test or development system. --> ハードウェアに関していうと、一定の「基本」水準を越えてさえいれば、 Linux の動くたいていのハードウェアの上で Oracle は動くはずです。 参考までに、私のシステムは Intel Celeron 446 MHz に 128 MB のメモリ、 8 GB のハードディスク、そして DM9102 ネットワークカードです。 これは、重いデータベースアプリケーション用のマシンではないものの、 ちょっとしたテストや開発システム用には十分すぎるほどです。 <sect1> <!-- Linux setup --> Linux の設定 <sect2> <!-- Distribution Setup --> ディストリビューションの設定 <p> <!-- As mentioned in the previous section, Oracle do their development using RedHat 6.0, so for a hassle-free installation this is what you should probably use. But what options do you make and which of the vast number of packages need to be installed to make Oracle work? Firstly you need two to three times the amount of memory you have for your swap space. (You'll need around 200Mb of memory, real or virtual, just to run the installer!) Note that contrary to popular opinion, Linux swap partitions can be larger than 128Mb. The arrangements of your other partitions can also be important. Make sure that the Oracle software is on a different partition to your operating system, and make sure that the Oracle data-files are on yet another partition. The idea here is to make sure that your data-files do not get fragmented. (In a live environment, you're likely to have a number of disk with Oracle spread across them. There are a number of good books that you consult for more information on this.) As for the software, I took the easy option and installed just about everything. You certainly need all the 'base' packages, X Windows (the installation routine is a Java GUI) and the development tools regardless of whether you intend doing any coding or not. Compared to the size of Oracle and your databases a Linux distribution is tiny, probably less than a gigabyte. It's worth installing it all for an easy life! --> 前節で指摘した通り、Oracle は RedHat 6.0 を使って開発を行っている ので、穏便なインストールのためには、読者もおそらくこれを使ったほうが いいでしょう。 ところで、Oracle を動かすためには、どんなオプションを使い、膨大な数の パッケージの中でどれとどれをインストールしたらいいのでしょうか? まず、スワップ空間の2・3倍のメモリが必要です。(ただインストーラを 動かすだけでも、約 200MB の実また仮想メモリが必要になるでしょう!) 通説とは裏腹に、Linux のスワップパーティションは、128MB より大きく することができます。 他のパーティションのコンフィギュレーションもまた重要なことがあります。 必ず Oracle のソフトウェアは OS とは別のパーティションに入れ、Oracle の データファイルはさらに別のパーティションに入れるようにしてください。 これは、データファイルがフラグメント化しないようにするためです。 (実際の環境では、Oracle はいくつものディスクの上に散らばって存在する 可能性が高いものです。このことに関してさらに情報を得るためには、 よい本がいくつもあります) ソフトウェアに関しては、私は、安直なオプションを選び、ただほとんど すべてをインストールしました。必要なのは、確実にすべての 'base' パッケージ、X Windows (インストール・ルーティンは Java GUI)、そして コーディングするつもりのあるなしにかかわらず開発用ツールです。Oracle とデータベースの大きさに比べたら、Linux ディストリビューションは 微々たるもので、たぶん 1GB もないでしょう。楽するために、すべてを インストールする価値はあります! <sect2> <!-- Kernel parameters --> カーネルのパラメータ <p> <!-- The documentation suggests that you make changes to the Linux kernel so you can get more shared memory. Since this is so difficult in Linux (unlike most commercial Unix's you have to recompile the kernel), the approach I took was to go ahead with the installation anyway. The default RedHat Linux settings worked, although you may have to change them for a larger development or production system. Note that some people have had to recompile the kernel to get Oracle to work at all. I guess it must depend on the other software that you're running on the same machine. Follow the instructions in the Oracle documentation (on the installation CD in HTML format) and the <url name="Linux Kernel HOWTO" url="http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html"> to build your new kernel. --> Oracle のドキュメントは、より多くの共有メモリを得るために、 Linux カーネルに手を加えることを推奨しています。これは、Linux では非常に難しい (たいていの商用 Unix とちがって、カーネルを 再コンパイルしなければならない) ので、私の取ったアプローチは、 とにかくインストールをしてしまうことでした。RedHat Linux デフォルトの設定はうまくいきました。大規模な開発や仕事用のシステムの ためには設定を変更しなければならないかもしれませんが。 <!--(cz)"production system" については原著者に確認済--> そもそも Oracle を動かすためにカーネルを再コンパイルしなければ ならない人たちもいたことに注意してください。同じマシン上で 走らせている他のソフトウェアに依存している部分があると思います。 新しいカーネルを構築するには、Oracle のドキュメント (インストール CD 上の HTML ファイル) と <url name="Linux Kernel HOWTO" url="http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html"> の指示に従ってください。 <sect2> <!-- Users and groups --> ユーザとグループ <p> <!-- Using LinuxConf (or whatever other method you feel comfortable with), you need to add a new group called "dba" and a new user called "oracle", which should belong to your newly created "dba" group. You can make any other user a DBA by putting them in the DBA group. If you have several DBA's this is probably a good idea for auditing purposes. --> LinuxConf(あるいはお好みの任意の方法) を使って、"dba" グループと "oracle" ユーザを追加する必要があります。"oracle" ユーザは、新しく 作られた "dba" グループに所属させたほうがいいでしょう。 "dba" グループに入れることで、どんなユーザも DBA にすることができます。 複数の DBA がいるのなら、監査のために役立つかもしれません。 <sect1> <!-- Starting off questions and answers --> はじめの一歩 Q&A <sect2> <!-- Do I really need 128Mb RAM? --> 本当に 128MB の RAM が必要ですか? <p> <!-- I would recommend that you do use 128Mb of RAM or more. I think it would be difficult to get any serious work done with less. However, if you disable the Java option and set all the shared memory settings to be relatively small, there's no reason why it shouldn't work. I've heard success stories with 64Mb. You're probably not going to get away with 32Mb, though. There is a caveat. You may only need half of what Oracle recommends to run the thing, but to install it their number starts to make sense. I've heard reports of the installer using 150Mb of memory and I've seen it well over 120Mb myself. If you have 64Mb or less of memory, make sure you have lots of swap space and patience. An alternative that <it/should/ work is as follows (although I've not had chance to test it): install Oracle on another, bigger machine and copy across the <tt/$ORACLE_HOME/ directory. If you have all the same users and groups I can't see why if wouldn't work. --> 128MB 以上のメモリを使うこと強く勧めます。それ以下では、どんなまともな 仕事をさせるのも難しいでしょう。 しかしながら、もし Java オプションを外して、すべての共有メモリ設定を 比較的小さいものにすれば、動かない理由はありません。64MB でうまくいった という話を聞いたことがあります。たぶん 32MB では無理でしょうけど。 心に留めておくべきことがあります。Oracle が推奨するところの半分だけで、 ソフトウェアを走らせることはできるかもしれませんが、インストールするとき には、その数字は意味を持ってきます。インストーラが 150MB を使っている という報告を耳にしたことがありますし、私の場合は、優に 120MB を超えて いるのを見ました。もし 64MB 以下のメモリしかないなら、スワップ空間と根気を 忘れないようにしてください。 次の方法でもうまくいく<it/はず/です。(試す機会はまだないのですが) - Oracle を他のより大きなマシンにインストールして、<tt/$ORACLE_HOME/ ディレクトリにコピーします。もしユーザとグループがすべて同じなら、 動かないはずはないと思います。 (訳注: dba グループだけ作ってあれば上記の方法で問題ありません。 唯一の問題として、インストーラを使ってプロダクトの追加 をするときはどうするか?実は「前に何をインストールしたか」を インストーラが記述したテキストファイルがあるので、それも まとめてコピーすればよいはずです。しかしながら、少なくとも日本オラクル では上記の方法によるインストールをサポートしていません) <sect2> <!-- Does it work with RedHat 6.1? --> RedHat 6.1 で動きますか? <p> <!-- I'm still running 6.0 myself, so all I can say is that a number of people have claimed success with this configuration. At the time of writing, Oracle8i has been certified with RedHat 6.0 and "Certification for other distributions is currently in progress" (Oracle8i Patch FAQ). --> 私自身まだ 6.0 を走らせているので、言えることはこのコンフィギュレーションで 多くの人たちが成功したと主張していることだけです。 これを書いている時点では、Oracle8i は RedHat 6.0 上で動作保証されていて、 「他のディストリビューションにおける動作保証は現在進行中」とのことです。 (Oracle8i Patch FAQ) <sect2> <!-- Does it work with Debian/SuSE/Mandrake/some other distribution? --> Debian/SuSE/Mandrake/その他のディストリビューションで動きますか? <p> <!-- Oracle specify the Linux kernel version 2.2 or above and GLIBC version 2.1 with any window manager. In theory, any distribution that meets these requirements should work. In practice, Oracle may not support it and you may have more problems trying to complete the installation. Unless you have a very good reason to do otherwise I suggest you stick to RedHat 6.0 with all the patches you can get hold of. --> Oracle の定める仕様は Linux kernel version 2.2 以上で、GLIBC version 2.1 そして任意のウィンドウマネジャとなっています。理論上は、これらの要求仕様を 満たす任意のディストリビューションでうまくいくはずです。 実際には、Oracle はそれをサポートしないかもしれませんし、インストールを 完了させようとするときにより多くの問題にぶつかるかもしれません。他のことを するたいへんよい理由でもないかぎり、当てられるだけのパッチを当てた RedHat 6.0 に固執することを勧めます。 (訳注:R8.1.5 に関して、日本オラクルでは RedHat 6.0 英語版と TurboLinux Server 6.0 (日本語版)のみをサポート対象としています) <sect2> <!-- Does it work with development kernels? --> 開発系カーネル上で動きますか? <p> <!-- There's no obvious reason why it shouldn't work -\- I used 2.3.19 for a while because it supported my network card and the stable kernel at the time didn't -\- but unless there's a pressing need it's certainly safest to stay well clear. I switched back to the stable series as soon as the driver was included. --> 動かないというはっきりした理由はありません - 当時の安定系カーネルが、 私のネットワークカードをサポートしていない一方、2.3.19 はサポート していたので、それをすこしの間使いました - しかし差し迫った必要が ないかぎり、近寄らないのがいちばん安全なのは確かです。ドライバが 安定系シリーズに盛り込まれるようになるやいなや、私はカーネルをもとに 戻しました。 <sect> <!-- The installer --> インストーラ <sect1> <!-- How? --> どうやって? <p> <!-- Generally, following the documentation is a good idea. It's not that bad and you'll get much better support from Oracle if you have. (I ended up breaking things -\- and knowing it would -\- by following the documentation for Oracle Applications. It was the only way to get decent support.) This document is going to give an overview, but you should still have their documentation available. --> 一般的に、Oracle のドキュメントに従うのがいいでしょう。悪くない出来 ですし、それに従っておけば、ずっとましなサポートを Oracle から受ける ことができます。 <!--(cz)原著者確認済--> (Oracle Applications のドキュメントに従って - そうなるんじゃないかと わかっていたものの - 物事をぶち壊して終わったことがありました。それが まともなサポートを受ける唯一の方法だったのです) 私のドキュメントでは概略を説明しますが、Oracle のドキュメントも依然 手元におく必要があります。 <sect1> <!-- What do I tell the installation program? --> インストールプログラムの質問にどう答えるか? <p> <!-- As part of the installation Oracle will ask a number of questions. Generally they're not too difficult but let's see what I entered and why. --> インストール作業の一部として、Oracle は数多くの質問をたずねてきます。 一般に、そんなに難しいものではありませんが、私の入力とその理由を 見てみましょう。 <enum> <item> <!-- Run the installation program (<tt/runInstaller/) as user 'oracle'. --> インストールプログラム(runInstaller)を 'oracle' ユーザとして 走らせます。 <item> <!-- It should show a title screen. Click 'Next.' --> タイトルスクリーンが出てくるはずです。'Next'をクリック。 <item> <!-- It should ask you to enter the source directory of the installation files ('jar' file) and your Oracle installation directory. You should be able to leave the former alone. The Oracle home directory is where you want to install the software. According to the installation documentation is should be somewhere on <tt>/u01</tt>, but I ignored that and put it in <tt>/home/oracle</tt>. Oracles advice, in this respect, is usually worth following. Click 'Next' when you've entered the details. --> インストール用のファイル('jar'ファイル) のソースディレクトリと Oracle インストール用ディレクトリを入力するように指示されます。 前者は特に指定しなくても大丈夫でしょう。後者の Oracle ホームディレクトリ (ORACLE_HOME)とは、ソフトウェアをインストールする場所のことです。 インストール作業ドキュメントによれば、それは /u01 の下のどこかということですが、 私はそれを無視して /home/oracle に設定しました。本当は Oracle の アドバイスに従って、異なったデータベースファイルは異なったディスクに 分散して置いたほうがいいのですが。 <!--(cz)これは意訳ですが、原著者に確認済みです--> 詳細項目を入力したら 'Next' をクリックします。 <item> <!-- Now it should ask you for the DBA group. This is the Unix group you created in the last section and is probably 'dba'. Enter the details and click 'Next.' --> それから DBA グループについてたずねてきます。これは、前節で作成した Unix グループで、おそらく 'dba' です。詳細を入力して、'Next' を クリックします。 <item> <!-- This time it wants you to log in as 'root' and run <tt>/tmp/OraInstall/orainstRoot.sh</tt>. Do as it says. (You may have to run <tt/pdksh/ or <tt/bash/ in the 'Bourne compatibility mode' to get it to complete successfully.) When you're done click 'Retry.' --> 今度は 'root' としてログインし、<tt>/tmp/OraInstall/orainstRoot.sh</tt> を走らせる必要があります。指示の通りにやりましょう。(<tt/pdksh/ や <tt/bash/ を使って成功裏にこのスクリプトを終了させるには、「B シェル互換モード」 で走らせる必要があるかもしれません) 終わったら 'Retry' をクリックします。 <item> <!-- You're now given the option of what to install. Your best bet here is 'Oracle Enterprise Edition,' as this includes just about everything (table 3.1 in the Oracle documentation tells you exactly what it installs). Make sure the right radio button is selected and click 'Next.' --> 次に何をインストールするか選ぶことができます。ほとんどすべてを含んで いる 'Oracle Enterprise Edition' を選ぶのがベストです。 (Oracle のドキュメントの表 3.1 から、何をインストールするのかわかります) 右のラジオボタンを選択していることを確認して、'Next' をクリックします。 <item> <!-- It should now allow you to choose what you install with much finer granularity. Unless you're particularly constrained by disk space or know exactly what you need, I'd recommend leaving it exactly as it is and clicking 'Next.' The Universal Installer won't let you make any silly choices so don't worry too much if you unselect something. You can always add it back in later. --> ここでは、ずっと細かく何をインストールするか選べます。ディスク容量の 制限が特にきついとか、必要なものがはっきりわかっているとかでなければ、 そのままにして、'Next'をクリックしたほうがいいでしょう。Universal Installer は愚かな選択を許しませんので、何かのチェックを外しても あまり心配する必要はありません。いつでも元に戻って追加することができます。 <item> <!-- For any products that you've asked it to install, the installer will allow you to change where it puts them. Again, only if you have a good reason to should you change it. Click 'Next' when you're done. --> インストールするように指示した任意の製品について、どこに入れるか 変更することができます。ここでも、変更するのは、しっかりした理由の あるときだけにしてください。終わったら 'Next'をクリック。 <item> <!-- It now goes away and installs all the pieces of software you asked it to. This will probably take quite a while and will use far more memory than is reasonable. --> ウィンドウが消えて、指示したすべてのソフトウェアがインストール されます。これには、たぶんしばらく時間がかかり、思うよりずっと メモリを消費するでしょう。 <item> <!-- It should ask you if you want to create a database. I recommend you select 'No' here unless you have lots of memory or patience. The reason for this is that it seems to fire up another Java Virtual Machine and X Windows. Unfortunately two JVM's plus the Oracle back-end don't really fit into 128Mb. If you want to persevere jump to the next section and come back here when you're done. (People have commented that it doesn't actually work if you try to build a database at this point.) --> データベースを作成するか聞いてきます。よほどメモリや根気が ないかぎり、ここでは 'No'を選んでおきましょう。というのは、これが、 別の Java バーチャルマシンと X Window を起動するようなのです。 あいにく、2つの JVM プラス Oracle バックエンド (訳注:Oracle インスタンスの ことと思われる) というのは、とても 128MB には収まりません。もしこの方針を 貫徹するのなら、いったん次節に進み、終わったらここに戻ってきてください。 (多くの人たちがこの時点でデータベースを作ると実際にはうまくいかないと コメントしています) <item> <!-- The installer should now ask you about the network protocols that you want Oracle to support. The boxes all came up blank for me. I don't know what's supposed to be in there, but I clicked 'Next' and found that everything worked. --> Oracle にサポートさせたいネットワークプロトコルを聞いてきます。 私の場合、入力フィールドは全部空欄でした。 何を記入すべきかわかりませんが、 'Next'をクリックしてすべてうまくいきました。 (訳注:TCP 用のネットワークアダプタがデフォルトでインストールされる ので、その画面が空欄でも問題はありません) <item> <!-- All the hard stuff is complete now. All the products you want should be installed and are ready to go. Congratulations. --> これで大変なところは終わりです。指示した製品はすべてインストールが終わり、 準備完了です。おめでとう。 </enum> <sect1> <!-- Installing the patch --> パッチのインストール <p> <!-- Unfortunately, the CD that Oracle sent you was probably version 8.1.5.0.0. As with almost all first releases there are problems with that version (problems include empty files, so they're quite serious) and a patch, to version 8.1.5.0.2 is essential. You'll certainly need it to progress to the "Configuration" section of this HOWTO. The patch described here is a cumulative patch, i.e., it includes all the files required to move from version 8.1.5.0.0 to 8.1.5.0.2. The file you need is on <url name="the Oracle web site" url="http://technet.oracle.com/support/tech/linux/files/linux_815patches.gz"> and is relatively easy to install. --> あいにく、Oracle から送られてきた CD はたぶんバージョン 8.1.5.0.0 でしょう。他のソフトウェアの最初のリリースがたいていそうで あるように、このバージョンにも問題があり、(問題は空ファイル がらみなので、かなり深刻です) バージョン 8.1.5.0.2 へバージョンを上げる ためのパッチが不可欠です。この HOWTO の「コンフィギュレーション」の 節に進むには、確実に必要になってきます。ここに記述されたパッチは、 累積パッチです。つまり、8.1.5.0.0 から 8.1.5.0.2 へ移行するのに必要な ファイルをすべて含んでいるということです。 必要なファイルは <url name="Oracle のウェブサイト" url="http://technet.oracle.com/support/tech/linux/files/linux_815patches.gz">にあり、 インストールするのは比較的簡単です。 (訳注:日本で出荷されている R8.1.5には R8.1.5.0.1 のパッチが付属しています) <enum> <item> <!-- This is probably the first of many patches, so create a directory called "patches" somewhere convenient (mine is in <tt/$ORACLE_HOME/). --> これを手始めとしてたくさんのパッチを当てることになるでしょうから、 どこか便利なところに "patches" というディレクトリを作っておきましょう (私の場合 <tt/$ORACLE_HOME/)。 <item> <!-- Download the file into it. --> パッチファイルをダウンロードしてそこに置きます。 <item> <!-- Create somewhere to put the files: --> 一時ファイルのための場所を確保します。 <verb>mkdir /tmp/orapatch cd /tmp/orapatch</verb> <item> <!-- Uncompress the file: --> パッチファイルを解凍します。 <verb>tar zvxf $ORACLE_HOME/patches/linux815patches.gz</verb> <item> <!-- Run the shell script that's now in the current directory: --> カレントディレクトリにできたシェルスクリプトを実行します。 <verb>./linux_815patches.sh</verb> </enum> <!-- Note that it's important not to uncompress the file in the current directory. The patch installer checks that the correct number of files are present and fails if there are not the right number. Of course, if it finds the patch archive it finds too many files! --> くれぐれも、カレントディレクトリ上で、パッチファイルを解凍 しないようにしてください。パッチのインストーラは存在する ファイルの数が正しいか確認し、もしそうでないと失敗します。 当然、パッチのアーカイブファイルを見つけ出すと、ファイルの数が 多すぎることになってしまいます! <sect1> <!-- Setting up your environment --> 環境設定 <p> <!-- Add the following lines to your ".profile" (or whatever the equivalent is for your shell): --> ".profile"(またはふだん使うシェルでそれに相当するもの) に次の行を加えてください。 <verb> . oraenv export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib </verb> <!-- Quite why the Oracle installer doesn't do this I have no idea. If you see "<tt/[: integer expression expected before -lt/" the next time you log in, it's because 'oraenv' is expecting your ULIMIT to be an integer rather than the default 'unlimited.' I've seen no ill effects by ignoring the error, but you can fix it by setting the ULIMIT to something finite. --> なぜ Oracle のインストーラがこれをやらないのかは謎です。 次にログインするときに、"<tt/[: integer expression expected before -lt/" というメッセージを見たら、それは 'oraenv' は ULIMITの中に デフォルトの 'unlimited' ではなく整数を求めていたからです。 このエラーを無視しても悪影響はありませんが、 任意の有限数を ULIMIT に設定することで、出ないように することができます。 <sect1> <!-- Installations questions and answers --> インストール Q&A <sect2> <!-- The installation program exits with 'CreateOUIProcess()' --> インストールプログラムが 'CreateOUIProcess()' と言って終了してしまいます。 <p> <!-- Firstly, make sure that you're running the right version of the JVM. I don't know what Oracle do with their software, but it's very dependent on the version you use. Secondly, it might help if, instead of running <tt/runInstaller/ from the root of the CD, you move into <tt>install/linux</tt> and run the <tt/runInst.sh/ shell script instead. This problem seems more common on RedHat 6.1 than 6.0 and could be something to do with a newer C library. I've also heard reports that if you have the wrong version of Gnome's usual window manager, Enlightenment, you might get this problem. Upgrade or switch to another environment such as KDE or Fvwm2. --> まず正しいバージョンの JVM を走らせているか確認してください。 Oracle が彼らのソフトウェアに対して何をしているのかはわかりませんが、 使用するバージョンに深く依存しています。 次に、CD のルートディレクトリから <tt/runInstaller/ を走らせる代わりに、 <tt>install/linux</tt> に移動して シェルスクリプト <tt/runInst.sh/ を走らせると うまくいくかもしれません。 この問題は、RedHat 6.0 より 6.1 でよくあるようで、新しい C ライブラリに 関係しているのかもしれません。 また、Gnome の通常のウィンドウマネジャ Enlightenment でバージョンが違うと この問題が発生する可能性があると聞いたことがあります。バージョンを上げるか、 KDE や Fvwm2 といった他の環境に切り替えてみてください。 (訳注:これは RedHat 6.0 に関する問題です。対応したパッチが RedHat からダウンロード 可能になっています) <sect2> <!-- The installer just flashes on the screen and then vanishes --> インストーラがスクリーン上でただ点滅して、その後消えてしまいます。 <p> <!-- This is not an uncommon occurrence. Usually it means that you're running an old version of Enlightenment. Upgrading or switching to another environment should fix the problem. A similar problem is the installation program vanishing at some later point in the process, often around 80% of the way through. The consensus seems to be that Oracle ran out of memory. You should increase the amount of swap space your machine has, anything over 200Mb should be sufficient. --> これは珍しいことではありません。通常、これは古いバージョンの Enlightenment を走らせているということを意味しています。バージョンを上げ たり他の環境に切り替えたりすることで、この問題を解決することができるはず です。 これと似たような問題ですが、もっと先の段階でインストールプログラムが 消えてしまうこともあります。インストールが8割がた終了したあたりで起こること の多い現象です。どうやらメモリが不足しているらしいというのが大方の見方です。 マシンのスワップの量を増やしてみるといいでしょう。200MB より多ければ十分な はずです。 <sect2> <!-- Strange Java errors when I start the installation program? --> イントールプログラムを起動したとき、奇妙な Java のエラーが発生します。 <p> <!-- Which version of the Java Virtual Machine are you using? People have claimed success with other versions, but most of the problems that I had disappeared when I downgraded to JRE 1.1.6v5, the one that Oracle recommends in their documentation. Two other things that are worth mentioning: make sure you use the JRE and not the JDK and, secondly, you should be using "green" threads. Unless you've set THREADS_FLAG to 'native' you almost certainly have the correct setting. --> どのバージョンの Java バーチャルマシンを使っていますか?多くの人たちが 他のバージョンでの成功を主張しているものの、私の場合、大部分の問題が 解決したのは、Oracle がドキュメントで推奨している JRE 1.1.6v5 に バージョンを下げたときでした。 指摘する価値のあることをあと2つ - 必ず JDK ではなく JRE を使うこと、 もう1つは、"green" スレッドを使うべきだということです。 THREADS_FLAG を 'native' と設定しないかぎりは、ほぼ確実に設定は正しいはずです。 <sect2> <!-- The installation program 'Segmentation Fault's --> インストールプログラムで 'Segmentation Fault'と言われます。 <!--(cz)最後の s は何を意味する?--> <p> <!-- You do have GLIBC 2.1 don't you? --> ちゃんと GLIBC 2.1 を使ってますよね? <sect2> <!-- Problems loading shared libraries --> 共有ライブラリをロードするときの問題。 <p> <!-- The error message that I'm talking about looks a bit like this: <verb/error in loading shared libraries: libclntsh.so.8.0: cannot open shared object file: No such file or directory/ This is the same as NT complaining that it can't find a DLL. It's very easy to fix. Simply add the following line to the end of your ".profile" if you're using a Bourne-like shell (ask a local guru if you don't know): <verb>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib</verb> Or use the following line if you're using a CSH-like shell: <verb>setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH $ORACLE_HOME/lib"</verb> I don't use the C-Shell, so independent verification of this command would be appreciated. --> 問題のエラーメッセージはこんな感じです - <verb/error in loading shared libraries: libclntsh.so.8.0: cannot open shared object file: No such file or directory/ これは、NT が DLL を見つけられないと文句を言っているのと同じです。 直すのはとても簡単です。もし B シェル風のシェルを使っているなら、 ".profile" の最後に次行を単純に追加します。 (何のことかわからなければ、身近の詳しい人に質問してみてください) <verb>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib</verb> また、C シェル風のシェルでは次行を使います。 <verb>setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH$ORACLE_HOME/lib"</verb> 私は C シェルを使わないので、実際にこのコマンドを確認していただけると ありがたいです。 <sect2> <!-- Pro*C doesn't work --> Pro*C が動きません <p> <!-- The answer to this took quite a bit of tracking down, although the answer <it/is/ on the Oracle web site if you look hard enough. The default configuration of Pro*C doesn't know where to find all its libraries, so you need to tell it. After installation <tt>$ORACLE_HOME/precomp/admin/pcscfg.cfg</tt> is empty, but it needs to contain the following: <verb>sys_include=(/home/oracle/precomp/public, /usr/include, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/, /usr/include, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include, /usr/include) include=(/home/oracle/precomp/public) include=(/home/oracle/rdbms/demo) include=(/home/oracle/network/public) include=(/home/oracle/plsql/public) ltype=short</verb> (The first four lines above, from <tt/sys_include/ to <tt/include)/ should all be on the same line in the file.) The Oracle documentation doesn't mention this, but you also need to edit <tt>$ORACLE_HOME/precomp/lib/env_precomp.mk</tt>. On the line that defines <tt/CCPSYSINCLUDE/, put the following: <verb>CCPSYSINCLUDE=sys_include='($(ORACLE_HOME)/precomp/public, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include, /usr/include/g++-2, /usr/include)'</verb> This works for RedHat 6.0, but may need tweaking for other distributions or later versions of RH. --> 答えにたどり着くまでしばらく問題を追跡してみる必要がありました。 もっとも一生懸命さがせば Oracle のウェブサイト<it/自体/に答えはあるのですが。 デフォルトのコンフィギュレーションでは、Pro*C はどこにすべてのライブラリが あるのか知らないので、教えてあげる必要があります。インストールした後 <tt>$ORACLE_HOME/precomp/admin/pcscfg.cfg</tt> は空ですが、次の項目を 記入する必要があります。 <verb> sys_include=(/home/oracle/precomp/public, /usr/include, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/, /usr/include, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include, /usr/include) include=(/home/oracle/precomp/public) include=(/home/oracle/rdbms/demo) include=(/home/oracle/network/public) include=(/home/oracle/plsql/public) ltype=short </verb> (<tt/sys_include/ から <tt/include)/ までの最初の4行はファイルの 中ですべて同じ行に置くこと) Oracle のドキュメントは触れていないのですが、 <tt>$ORACLE_HOME/precomp/lib/env_precomp.mk</tt> も修正の必要が あります。<tt/CCPSYSINCLUDE/ を定義している行で、次のようにします。 <verb> CCPSYSINCLUDE=sys_include='($(ORACLE_HOME)/precomp/public, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include, /usr/include/g++-2, /usr/include)' </verb> RedHat 6.0 ならこれでいいのですが、他のディストリビューションや RedHat の新しいバージョンではすこしひねりが必要かもしれません。 <sect2> <!-- I installed the patch but it made things worse! --> パッチを当てたものの、ますます事態が悪化しました! <p> <!-- This is tricky, barely documented by Oracle and common across all their products and installation programs. It's about time they did something about it! Often what happens is as follows: you install Oracle Enterprise Edition and, as Oracle tells you, you dash off and install all the available patches. Then you decide you need the pre-compilers and install Oracle Programmer from the same CD. Before you installed Pro*C your database worked, and now it doesn't. The problem is that the versions of the pre-compilers that you installed were not patched and some of the Oracle server code relies on the fixes; Oracle's installer is so stupid that it will overwrite newer version of the same code. The solution is not pretty. Since you can't extract an individual file >from the CD you need to install the whole thing again, this time adding Oracle Programmer before the patch. --> これは、Oracle のドキュメントにほとんど書かれていないものの、 すべての製品やインストールプログラムに共通するやっかいな問題です。 この件に関しては、いいかげん Oracle に手を打ってもらわないと! よく起こるのは次のようなことです - Oracle Enterprise Edition を インストールします。そして、Oracle の言う通り、そのままこんどは 手元にあるパッチをインストールします。それから、プリコンパイラが 必要だと決断して、同じ CD から Oracle Programmer をインストールします。 Pro*C をインストールする前はデータベースは動いていたのに、いまはもう 動きません。 問題は、インストールしたバージョンのプリコンパイラにはパッチが当たって おらず、Oracle サーバのコードの一部はその修正部分に依存している、という点に あります - Oracle のインストーラは愚かにも同じコードの新しいバージョンを 上書きしてしまうのです。 解決法はぱっとしません。CD から一つ一つのファイルを抜き出すことが できないので、全体をインストールしなおす必要があります。今度は、パッチの前に Oracle Programmer を追加するようにします。 <sect> <!-- Creating a database --> データベースの作成 <sect1> <!-- Overview --> 概観 <p> <!-- Hopefully you followed the advice from the previous section and didn't create a database. For most people, I can probably outline the process in a couple of words: "Run 'dbassist'." Unless this is the first time you've ever run Oracle, none of the questions should really phase you. For completeness, I'll document what I did but I'd best say what I was aiming for first. Bottom line: this is neither a production system nor a 'serious' (i.e., several people, full time) development box. I installed 8i to play around and see what was new or different from 8 and older versions. This means that when 'dbassist' offered an easy option I took it. And when it suggested using a different disk, or at least a different partition, I declined. My <tt/$ORACLE_HOME/ is <tt>/home/oracle</tt>. All the data files and software are in there, all on one partition. --> まだデータベースを作成しないようにという前節のアドバイスに 従っていただけたでしょうか? 多くの人々にとって、データベースの作成は次の言葉に要約できる かもしれません - 「'dbassist'を実行せよ」 Oracle を走らせるのが 初めてでなければ、'dbassist' が聞いてくる質問には難なく答えら れるはずです。 完全を期すために、私のやったことをドキュメントに残しますが、 まずは私の目指していたものを述べるのがベストだと思います。 要約 - これは仕事用のシステムでも「本格的な」(複数ユーザの、 または、常時使用の) 開発用ボックスでもないのです。私が 8i を インストールしたのは、8 以前のバージョンに比べてどこが新しい のか、あるいはどこが違っているのか、実際にいじくりまわしながら 調べるためなのです。 そういうわけで、なるべく 'dbassist' の安易なオプションを選びました。 別のディスク、またはせめて別のパーティションを使用することを 推奨されましたが、そうしませんでした。私の <tt/$ORACLE_HOME/ は <tt>/home/oracle</tt> です。すべてのデータファイルとソフトウェアは まとまってそこにあり、1 つのパーティションの上に載っています。 <sect1> <!-- Step-by-step guide --> ステップバイステップガイド <p> <enum> <item> <!-- Bring up a command prompt and type: --> コマンドプロンプトで下のようにタイプします。 <verb>dbassist</verb> <item> <!-- My machine tells me that "JNLS Exception: oracle.ntpg.jnls.JNLSException. Unable to find any National Character Sets." According to Oracles 8i Patch FAQ, this is a known problem (884001) and can safely be ignored. --> 私のマシンは "JNLS Exception: oracle.ntpg.jnls.JNLSException. Unable to find any National Character Sets." と言ってきます。 Oracle8i パッチマニュアルによると、これは既知の問題 (884001) なので無視して大丈夫です。 <item> <!-- Select the "Create a database" radio button and press "Next" --> "Create a database" ラジオボタンを選択し、"Next" を押します。 <item> <!-- There are two options: Typical and Custom. If you knew exactly what you were doing you probably wouldn't be reading this and could comfortably select Custom. I'm not going to cover that. Instead I'll assume you select "Typical" and press "Next" --> ここで2つのオプションがあります。通常(Typical)とカスタム(Custom)です。 dbassist の操作がきちんとわかるぐらいなら、こんなところを読んではいない でしょうし、カスタムを選んでも楽勝でしょう。それはここでは取り扱いません。 代わりに、"Typical" を選択し "Next" を押したものとします。 (訳注: 日本語メッセージをインストールする場合は Custom を選択する必要があります。製品選択画面のところで右上の Language ボタンをクリックし、Japanese を追加してください) <item> <!-- Next it asks whether you want to copy the database from your CD or to create the data files. Whenever I tried the first option, Oracle couldn't find my CD player (you just installed from it!). So I recommend choosing the second option. It's not difficult, it probably just takes longer --> 次に CD からデータベースをコピーするかデータファイルを作成するか 聞いてきます。私が、最初のオプションを試したときは、 Oracle は CD プレーヤを見つけることに常に失敗していました。 (たった今そこからインストールしたばかりなのに!) ですので、 2番目のオプションをお勧めします。別に難しいわけではなく、 少し余計に時間がかかるだけでしょう <item> <!-- It's probably safe to select 'Hybrid' when it asks you what environment the database will operate in --> データベースを走らせる環境を聞かれたとき、'Hybrid' を選択するのが おそらく無難でしょう。 <!--(cz)原著者に確認済み--> <item> <!-- Now it asks you how many users will be using your database at any given time. I put five. --> 今度は常時何人のユーザがデータベースを利用するか聞いてきます。 私は 5 と入れました。 <item> <!-- Next it asks you what products you want to install in your new database. Again, you know what you want better than me! --> 次に新しいデータベースにどの製品を入れるか聞いてきます。 ここでも、自分が何を入れたいのかなんて私より読者の皆さんのほう がよくわかっていますよね! <item> <!-- Oracle needs a "Global Database Name" and a "SID" now. The database name is like a fully qualified domain name (but different). If you're the Oracle guru you'll know what to put, if not your organisation might have some conventions. I called mine 'dev1' (both the SID and database name). --> ここで、Oracle は 「グローバルデータベース名」 と "SID" を必要とします。 このデータベース名は、フルドメイン名のようなものです。 (しかし別物です) Oracle の達人なら何を入れるべきかわかるでしょうが、 そうでない場合、読者の会社にはなんらかの命名規則があるかもしれません。 私の場合は、'dev1' としました。(SID とデータベース名の両方に対して) <item> <!-- Now, do you want to create the database 'now' or should you let it save the information to a shell script? With 128Mb of RAM I found the former option painful. I created the shell script, quit out of X and anything else using a lot of memory and then ran the script. Much more snappy. --> さて、データベースを*いま*ここで作成しますか?それとも必要な情報を シェルスクリプトに保存させたほうがいいでしょうか?128MB の RAM では、 前者のオプションは苦痛だということがわかりました。私はシェルスクリプトを 作成し、X などメモリを大量に消費するものをすべて終了させて、そのスクリプトを 走らせました。そっちのほうがずっと手際がいいです。 <item> <!-- I didn't notice this in any of the documentation, but your database won't work properly without it! The database that 'dbassist' creates is fine, but by default the user rollback segments are left off-line. (Read: non-system users can't perform any operation that requires transactions.) Type: <verb>cd $ORACLE_HOME/dbs</verb> You now need to edit a file called "init<SID>.ora" ("initdev1.ora" in my case). About half-way down the file is a commented out line looking something like this: <verb># rollback_segments = (r01, r02, r03, r04)</verb> Uncomment this line (remove the hash), save the file and you're done. --> ドキュメントのどこにも見つからなかったのですが、これなしには データベースはまともに動きません! 'dbassist' が作成するデータベース自体は いいのですが、デフォルトでユーザロールバックセグメントがオフラインに なっています。(注釈 - 非システムユーザはトランザクションを必要とする 操作を実行できません) 以下のようにタイプします。 <verb>cd $ORACLE_HOME/dbs</verb> ここで、"init<SID>.ora" という名前のファイルを編集する必要が あります。 (私の場合 "initdev1.ora" でした) ファイルの真ん中あたりで、こんな感じの行がコメントアウトされています。 <verb># rollback_segments = (r01, r02, r03, r04)</verb> この行のコメントを外して(シャープ記号を取り除く) ファイルを保存すれば 終わりです。 <item> <!-- This is a kind of meta-step. You have a database and you should be able to start it up, but you probably don't know what any of the system passwords are! There are two that you need to know. The first is the SYSTEM password. This defaults to '<tt/MANAGER/'. (It seems to be conventional to put Oracle passwords in uppercase. In fact passwords are not case sensitive.) I recommend you change it straight away by typing <tt/password/ at the SQL*Plus prompt. (For people expecting an <tt/ALTER USER/ command, this is new to the version of SQL*Plus supplied with 8i.) The other password that you need to know is the one for SYS. It defaults to '<tt/CHANGE_ON_INSTALL/' and you should do exactly what it says! --> これはメタステップとでも呼ぶべきものです。データベースがあって起動 できるはずだとしても、おそらくパスワードシステムについては何も知り ませんよね!知っておくべきことが2つあります。1つは SYSTEM のパスワード です。デフォルトは '<tt/MANAGER/' になっています。 (Oracle のパスワードは 大文字にするのが習わしのようです。実際には、大文字小文字の違いは認識 されません) SQL*Plus のプロンプトで <tt/password/ と タイプして、すぐにパスワードを変更することをお勧めします。 (<tt/ALTER USER/ コマンドじゃないかと思う人もいるでしょうが、これは 8i 付属バージョンの SQL*Plus の新コマンドです) 他に知る必要があるのは、 SYS のパスワードです。このデフォルトは '<tt/CHANGE_ON_INSTALL/' で、 その名の通りインストールしたらすぐに変更しましょう! <item> <!-- Final step. This one gets rid of the annoying 'no profile' warnings you get when you log into SQL*Plus. Log into SQL*Plus as user 'system' (<tt>sqlplus system/<password></tt>). Then type: <verb>@?/sqlplus/admin/pupbld.sql</verb> The question-mark is an alias for the <tt/$ORACLE_HOME/ directory. --> 最後のステップです。これは、SQL*Plus へのログイン時の うっとうしい 'no profile' 警告を取り除きます。'system' ユーザとして ログインしてください。(<tt>sqlplus system/<password></tt>) それから次のようにタイプします。 <verb>@?/sqlplus/admin/pupbld.sql</verb> 疑問符は <tt/$ORACLE_HOME/ ディレクトリのエイリアスです。 </enum> <!-- And that's it. You should now have an operational database that you can log into using SQL*Plus. --> これで終わりです。これで、SQL*Plus を使ってログインできて、 すぐに使えるデータベースができているはずです。 <sect1> <!-- Questions and answers --> Q&A <sect2> <!-- Is it really that easy? --> 本当にそんなに簡単なんですか? <p> <!-- Yes and no. If you're just playing around, building a database for yourself to learn the new features of 8i, then 'yes.' The database the above instructions will build is complete and will work fine. However, if you know anything about Oracle, you will quickly realise that the default configuration is appallingly bad. If you're making a serious, production system I recommend you use the "Custom" option. Even for my toy system I did some tweaking. I increased the sizes of most of the table-spaces and changed them so that they didn't grow automatically (I hate software when it tries to be too clever). --> 答えはイエスでありノーでもあります。ただ遊んだり、8i の新しい特徴を 学ぶため、自分自身用にデータベースを構築するなら、答えはイエスです。 上の指示に従ってできるデータベースは完全で、うまく動作します。 しかし、Oracle について知識があるなら、デフォルトのコンフィギュレーションは あきれるほどひどいものだとすぐに気づくでしょう。もし本格的な仕事用の システムを作っているなら、"Custom" オプションを使ったほうがいいでしょう。 私のお遊びのシステムに対してさえ、いくらかひねりを入れました。大部分の テーブルスペースのサイズを増やし、かつそれが自動的に増えないようにしました。 (利口ぶるソフトウェアは嫌いです) <sect2> <!-- Is it really necessary to put all the files on different disks? --> 本当にすべてのファイルを別々のディスクに入れる必要がありますか? <p> <!-- No and it will work fine if you don't, but I don't recommend putting all your files on the same disk nevertheless. Spreading the files over a number of disks, even it's just the data files on one and the rollback segments on another, will have a significant performance advantage. Read an Oracle DBA book if you need further information. --> 必要はありません。そうしなくても動作します。しかし、そうだとしても、 すべてのファイルを同じディスクに入れるのは勧めません。 ファイルをいくつかのディスクに分散して置くと、たとえデータファイルと ロールバックセグメントを別々にするだけでも、著しいパフォーマンス上の 利点があります。詳しくは、Oracle DBA book を読んでください。 <sect2> <!-- I can't start dbassist --> dbassist を起動できません <p> <!-- Caused by several zero-length files in the initial installation. Following the patch procedure will fix this problem. --> 最初にインストールした時にいくつかある長さ 0 のファイルが原因です。 パッチを当てると問題は解決します。 <sect2> <!-- I get "ORA-01034: ORACLE not available" <p> To cut a long story short, your <tt/$ORACLE_SID/ is probably set incorrectly or not at all. Make sure it's set to the same value you gave 'dbassist' and that it's value is exported (i.e., <tt/export ORACLE_SID/ in any Bourne compatible shell). --> "ORA-01034: ORACLE not available" と言われます <p> 簡単に言うと、おそらく、<tt/$ORACLE_SID/ が正しく設定されていないか、 あるいはまったく設定されていないか、です。'dbassist' で与えたものと 同じ値に設定されていて、かつエクスポートされていることを確認して ください。 (つまり B シェル互換シェルでは、export <tt/ORACLE_SID/) <sect2> <!-- I get "ORA-01012: Not logged in" <p> This is a very common error, and there are a number of different things that cause it. Firstly you'll want to make sure that you're not creating a Shared Server configuration (sometimes known as MTS). Create a database using Dedicated Server and convert it later. If that's not it, check your <tt/NLS_LANG/ environment variable. The easiest option is to unset it. If you really want to use it, make sure that you have it exactly right. Make sure you don't transpose any '1's (one's) for 'l's (the twelfth letter of the alphabet)! --> "ORA-01012: Not logged in" と言われます <p> これはとてもありふれたエラーで、いろいろな原因があります。 まず、共有サーバ構成 (MTS と呼ばれることもある) ではないことを確認して みたほうがいいでしょう。専用サーバ構成を使ってデータベースを作成し、 後でそれを変換します。 (訳注:共有サーバ構成では、は一つのサーバープロセスが複数のユーザー セッションの処理を受け持つのに対し、専用サーバー構成では、ユーザー のセッション1つに対して Oracle のサーバープロセスが一つ 生成されます) これが原因でなければ、NLS_LANG 環境変数をチェックします。一番簡単なのは、 それを unset することです。もし本当に使いたいなら、必ず完璧に正しく設定します。 1 (いち) と l (エル) を取り違えないように気をつけてください! (訳注:EUC 使用の日本語環境では japanese_japan.ja16euc を使います。 ただし環境変数 ORA_NLS33 も正しく設定しないと日本語メッセージは使えません) <sect> <!-- Configuration --> コンフィギュレーション <sect1> <!-- Overview --> 概観 <p> <!-- Congratulations, you have Oracle running on your Linux box. You have created a database and can connect to it using SQL*Plus. Of course, this is not the end of it. Ideally, you'd be able to connect to it as another Unix user or from a completely different machine. That is what this section is for. --> おめでとう。読者の Linux マシンに Oracle が走るようになりました。 データベースもできていますし、SQL*Plus を使用すれば、データベースに 接続できます。 もちろん、これで終わりというわけではありません。理想を言えば、 別の Unix ユーザやまったく異なったマシンからデータベースに接続できると いいですね。この節ではそれに関して述べます。 <sect1> <!-- Connecting as another user --> 別ユーザとして接続する <p> <!-- Some of the details in this section are a little sketchy as this is not a configuration that I personally use. However, performing one of the following steps should work: <itemize> <item><verb>. oraenv</verb> if you run a Bourne-like shell (like Bash or pdksh) <item><verb>source coraenv</verb> if you prefer the C-Shell </itemize> When running "oraenv" I get an error if I use 'bash', the default Linux shell. It seems not to cause any problems so don't worry. You can always use 'pdksh' if it <it/does/ worry you. --> これは私が個人的に使っているコンフィギュレーションではないので、この節の 詳細についてはいくらかおおざっぱな記述もあります。しかし、次の手順のうち の一つを実行することでうまくいくはずです。 <itemize> <item>B シェル風のシェル (Bash や pdksh) を 走らせているなら<verb>. oraenv</verb> <item>C シェルが好きなら<verb>source coraenv</verb> </itemize> 私の環境では、"oraenv" を走らせているとき、Linux のデフォルトの シェルである 'bash' を使うとエラーが出ます。何も問題は引き起こ していないようなので、心配無用です。もし<it/どうしても不安/ なら、'pdksh' を使えばいいでしょう。 <sect1> <!-- Connecting from another machine <p> I remember this being very complex with earlier versions of Oracle, but just seemed to work here. I'm sure that must mean that I did something wrong, forgot something I did or that there's a massive security hole. This is what I remember doing: <enum> <item>Logging into Linux as user 'oracle' <item>Make sure that "oraenv" has been executed (i.e., your <tt/$ORACLE_HOME/ is set correctly) <item>Type: <verb>lsnrctl start</verb> </enum> On your client machine all you need to do now is point it at the right machine and database instance. If you want more control over the process, the "Net8 Configuration Assistant" ('netec') should be able to help. --> 別のマシンから接続する <p> 初期のバージョンの Oracle では非常に複雑だったと記憶しているものの、 ここではうまく動いているように見えました。確かなのは、これは、私が何か まちがったことをしたか、やったことを忘れてしまったか、あるいは巨大な セキュリティホールがあるか、ということです。 私がやったと記憶しているのは - <enum> <item>Linux の 'oracle' ユーザとしてログイン <item>"oraenv" が実行済みであることを確認する (つまり、<tt/$ORACLE_HOME/ が正しく 設定されているということ) <item>次のようにタイプ - <verb>lsnrctl start</verb> </enum> クライアントマシンでする必要があるのは、マシンとデータベース インスタンスを正しく指定することだけです。 プロセスをもっと細かく制御したい場合には、Net8 Configuration Assistant ('netec') が役立つはずです。 <sect1> <!-- Connecting to another machine <p> This used to be very difficult in many earlier version of Oracle, involving editing many text files, most of which had an fantastically complex syntax. But in 8i, if you've got your JVM working, then all you need is the "Net8 Easy Config" program. Follow these steps to allow your machine to connect to a database on another machine: <enum> <item>Start "Net8 Easy Config" by typing <tt/netec/ at the command prompt while logged in as 'oracle.' <item>After a short delay while Java gets its act together, the welcome screen appears. It should be asking what you want to do. Leave the radio buttons on the left alone (the default is 'create') and enter the name of the database in the text box. Click 'Next' when you're done. <item>Select one of the protocols it offers. Unless you know differently, this should probably be 'TCP/IP' which is the default. Press 'Next.' <item>Enter the hostname (or IP address) of the remote machine. The port number probably doesn't need changing. Press 'Next.' <item>Select the type of database (8i or other) using the radio buttons and enter the name in the appropriate text box. Press 'Next.' <item>You can now test that the information you've enter makes sense to Oracle. I found that 'netec' has a tendency to crash if some of the details are wrong. Press 'Next' when you're sure that it all works. You can keep pressing the 'Back' button to go back and correct any information. <item>If you're happy with all the information you've entered, you can press the 'Finish' button and that's it! </enum> If you want more control over the process, you may need to use the "Net8 Assistant" -\- a big window with many confusing options -\- which can be started with the <tt/netasst/ command. --> 別のマシンへ接続する <p> 多くの初期のバージョンの Oracle では、これは非常に難しいことでした。 たくさんのテキストファイルを編集しなければならないのですが、その多くは 驚くほど複雑な構文を持っていました。 しかし 8i では、JVM が走っているかぎり、必要なのは Net8 Easy Config プログラムだけです。別のマシンのデータベースに読者のマシンを接続させる ためには、次の手順に従ってください。 <enum> <item>oracle としてログインしている間に、コマンドプロンプトで netec と タイプして "Net8 Easy Config" を起動します。 <item>Java の初期化をしばらく待った後、welcome 画面が現れます。そこで何を するか聞かれるはずです。左のラジオボタンはそのままにして(デフォルトは create) テキストボックスにデータベース名を入力します。終わったら 'Next' をクリック。 <item>提供されるプロトコルのうち1つを選択します。特別なことでもないかぎり、 デフォルトの 'TCP/IP' でいいでしょう。'Next' を押します。 <item>リモートマシンのホスト名 (または IP アドレス)を入力します。 ポート番号はおそらく変更する必要はありません。'Next' を押します。 <item>ラジオボタンを使ってデータベースの種類(8i またはその他) を選択し、 適当なテキストボックスにその名前を入力します。'Next' を押します。 <item>ここで、入力した情報が Oracle にとって意味をなすかテストできます。 もし詳細に間違いがあると、'netec' はクラッシュしやすいことに気づき ました。すべて大丈夫だと確信できたら、'Next' を押します。'Back' ボタンを 押し続けて元に戻り、どんな情報も訂正することができます。 <item>入力した情報にすべて満足いったら、'Finish' を押してください。 これで終わりです! </enum> プロセスに対して細かい制御を加えるなら、"Net8 Assistant" を使う必要が あるかもしれません。"Net8 Assistant" - 紛らわしいオプションがたくさん ある大きなウィンドウ - は netasst コマンドで起動できます。 <sect1> <!-- Questions and answers --> Q&A <sect2> <!-- I can't start 'netasst' <p> The problem is with a couple of zero-length files. Installing the patch should fix this problem. --> netasst が起動できません。 <p> この問題は2つの長さ0のファイルと関係しています。 パッチをインストールすれば解決するはずです。 <sect> <!-- Final Words --> 結びの言葉 <sect1> <!-- Useful Software <p> Now that you've managed to get Oracle installed, you'll want to try and use it. Although it's possible to do everything from your server PC, it's generally best to user the client-server facilities and use another machine to access your database. Naturally Oracle have a large collection of, largely, pretty good client software, however there's not much for Linux at this time. Of the Oracle software, I recommend getting hold of the following: --> 役に立つソフトウェア <p> なんとか Oracle をインストールできたので、試しに使ってみたいと 思っていることでしょう。サーバの PC で何でもできますが、一般的には、 クライアントサーバの機能を使用して、他のマシンからデータベースに アクセスするのがベストでしょう。 当然、Oracle には、おしなべてかなりよいクライアントソフトウェアが たくさんありますが、この時点では Linux 用はあまりありません。Oracle の ソフトウェアのなかでは、次のものを入手することを勧めます。 <!-- <itemize> <item>Oracle Enterprise Manager. It's much easier not to have to remember all those obscure ALTER USER and ALTER SYSTEM commands. <item>Oracle WebDB. It can be quite difficult to install, but it can allow people to build impressive web-sites without knowing any HTML. </itemize> But most of the best software comes from other places... <itemize> <item>Tool for Oracle Application Development (T.O.A.D.). This used to be free but is now owned by <url url="http://www.quest.com" name="Quest Software">. You can download a free version (if you're prepared to do it every couple of months) or you can pay for it. It's significantly more expensive than free but is not bad value. <item>SQLNavigator. Also by <url url="http://www.quest.com" name="Quest Software">. I've not really used it but it's been highly recommended by all who have. <item><url url="http://www.kkitts.com/orac-dba/" name="Orac">. A nice, configurable DBA-tool. </itemize> --> <itemize> <item>Oracle Enterprise Manager. わかりづらい ALTER USER とか ALTER SYSTEM コマンドを覚えるよりずっと簡単です。 <item>Oracle WebDB. インストールするのはかなり難しいものの、 HTML を知らなくても見栄えのするウェブサイトを構築できます。 </itemize> しかし最高のソフトウェアは、大部分、他のところからやってきます・・・。 <itemize> <item>Tool for Oracle Application Development (T.O.A.D.). これはかつてはフリーでしたが、いまは <url url="http://www.quest.com" name="Quest Software"> が所有しています。 (もし2ヶ月ごとにダウン ロードする気があるなら) フリーバージョンをダウンロードしてもいいし、 あるいはお金を払ってもいいでしょう。無料のものと比べれば高いといえますが、 それだけの価値があります。 <item>SQLNavigator. これも <url url="http://www.quest.com" name="Quest Software"> によるものです。実は、私は使ったことがないの ですが、使った人たちはみんな強く勧めると言っています。 <item><url url="http://www.kkitts.com/orac-dba/" name="Orac">. コンフィギュレーション可能なよい DBA ツールです。 </itemize> <sect1><!-- Useful Books <p> I seem to get most of my Oracle information from colleagues and books. I'm not able to give away my colleagues, but the books I recommend are as follows: --> 役に立つ本 <p> 私は同僚と本から Oracle に関する情報の大部分を入手した気がします。 同僚をおすそ分けするわけにはいきませんが、私がお勧めする本は次の通りです。 <itemize> <item><#if output=html><url url="http://www.amazon.com/exec/obidos/ASIN/1565922379/zx81orguk00" name="Oracle Performance Tuning,"></#if> <#unless output=html>"Oracle Performance Tuning,"</#unless> Mark Gurry and Peter Corrigan, O'Reilly and Associates, ISBN 1-56592-237-9. <item><#if output=html><url url="http://www.amazon.com/exec/obidos/ASIN/1565922689/zx81orguk00" name="Oracle Design,"></#if> <#unless output=html>"Oracle Design,"</#unless> Dave Ensor and Ian Stevenson, O'Reilly and Associates, ISBN 1-56592-268-9. <item><#if output=html><url url="http://www.amazon.com/exec/obidos/ASIN/1565923359/zx81orguk00" name="PL/SQL Programming,"></#if> <#unless output=html>"PL/SQL Programming,"</#unless> "PL/SQL Programming," Steven Feuerstein, O'Reilly and Associates, ISBN 1-56592-335-9. <item><#if output=html><url url="http://www.amazon.com/exec/obidos/ASIN/1565923758/zx81orguk00" name="PL/SQL Built-in Packages,"></#if> <#unless output=html>"PL/SQL Built-in Packages,"</#unless> "PL/SQL Built-in Packages," Steven Feuerstein, O'Reilly and Associates, ISBN 1-56592-375-8. </itemize> <!-- You'll note a bit of an <url url="http://www.ora.com" name="O'Reilly"> theme there. I've not found a bad O'Reilly book yet. Similarly, I've never found a <it>good</it> Oracle Press book. --> <url url="http://www.ora.com" name="O'Reilly"> の本ばかりだと気づくと思います。<!--(cz)この訳は正しい?--> 私はまだ O'Reilly でダメな本を見たことがありません。同様に、Oracle Press で<it>いい本</it>を見たこともありません。 <sect1> <!-- Useful Internet resources <p> There's a lot of useful stuff on the web. <itemize> <item><url name="Oracle Technet" url="http://technet.oracle.com">. This is Oracle's public and free support website. Lot's of very useful information there. <item><url name="Oracle Metalink" url="http://support.oracle.com">. Oracle's private (you need a support contract) support website. Only slightly more useful than Technet! <item><url name="Oracle Fans" url="http://www.orafans.com">. Editorials and support forums. No official connection to Oracle (so the information there is less biased!). <item><url name="OraFaq" url="http://www.orafaq.org">. A site full of questions and answers regarding Oracle on all platforms. <item>Oracle Linux mailing list (Send a mail to <url url="mailto:ListGuru@fatcity.com" name="ListGuru@fatcity.com"> with the words 'SUBSCRIBE ORACLE-LINUX-L' in the body. <item>And don't forget <url name="my website" url="http://www.zx81.org.uk">! </itemize> --> インターネット上の役に立つリソース <p> ウェブには役に立つものがたくさんあります。 <itemize> <item><url name="Oracle Technet" url="http://technet.oracle.com">. Oracle の無料サポートのある公開ウェブサイト。 非常に役立つ情報がたくさんあります。 <item><url name="Oracle Metalink" url="http://support.oracle.com">. Oracle の非公開 (サポート契約を結ぶ必要が ある)サポートウェブサイト。Technet より役立つものの違いはわずかでしかありません。 <item><url name="Oracle Fans" url="http://www.orafans.com">. 論説とサポートのフォーラム群。Oracle とは公式のつながりはありません。 (従って情報に偏りが少ないです) <item><item><url name="OraFaq" url="http://www.orafaq.org">. すべてのプラットホーム の Oracle についてQ&Aを満載。 <item>Oracle Linux メーリングリスト( <url url="mailto:ListGuru@fatcity.com" name="ListGuru@fatcity.com"> に 'SUBSCRIBE ORACLE-LINUX-L' と本文に書いてメールを送る) (訳注:日本では、o4l ML (Oracle for Linux ML) が有名です。 日本オラクルが主催している ML ではありません。主に Linux 版 Oracle の話題が 議論されています。登録手順はo4l-ctl@blue.gr.jp へ subscribe Taro Yamada (名前は適当に変えてください) とだけ書いたメールを送れば OK です) <item>あと<url name="私のウェブサイト" url="http://www.zx81.org.uk">も忘れないように! </itemize> </article>