sw-89# pwd /var/tmp/sjsms/app91 sw-89# ls sjsas_ee-9_1_01-solaris-sparc-ml.bin sw-89# chmod +x sjsas_ee-9_1_01-solaris-sparc-ml.bin sw-89# ./sjsas_ee-9_1_01-solaris-sparc-ml.bin -console 使用可能なディスク容量をチェックしています... Java(TM) 2 Runtime Environment をチェックしています... Java(TM) 2 Runtime Environment ファイルを抽出しています... インストールファイルを抽出しています... Java(TM) 2 Runtime Environment を起動しています... Java Accessibility Bridge for GNOME loaded. 実行中のプログラムは、Sun Java System Application Server with HADB のインストールプログラムです。サーバーのインス トールに適用される設定情報を指定してください。 このインストールプログラムは、情報を表示し、Sun Java System Application Server with HADB のインストール方法と設定方 法を指定するための 1 つまたは複数の選択内容から構成されます。 質問が表示されると、インストール手順は一時停止します。表示されている情報を読み終えたら、Enter キーを押して処理を続けてください。 < Enter キーを押すと続きを表示します > いくつかの質問では、詳細な情報を文字として入力する必要があります。このような質問では、カッコ [ ] 内にデフォルト値が示されることがあります。たとえば、次の質 問のデフォルトの答は「yes」です。 本当ですか ? [yes] デフォルトの答をそのまま適用するときは Enter キー (キーボードによっては Return キー) を押します。 別の値を指定するときは、コマンドプロンプトに値を入力し、Enter キーを押します。 < Enter キーを押すと続きを表示します > このプログラムは Sun Java System Application Server with HADB のインストールプログラムです。 < Enter キーを押すと続きを表示します > この製品をインストールする前に、この製品の使用に関するライセンスを取り決めたソフトウェアライセンス契約全体を読み、同意する必要があります。 < Enter キーを押すとソフトウェアライセンス契約が表示されます > Sun Microsystems, Inc. ("Sun") ENTITLEMENT for SOFTWARE Licensee/Company: Entity receiving Software. Effective Date: Date of delivery of the Software to You. Software: Sun Java System Application Server 9.1 Update 1 with HADB. License Term: Perpetual (subject to termination under the SLA). Licensed Unit: Software Copy. Licensed unit Count: Unlimited. Permitted Uses: You may reproduce and use the Software for Your own Individual, Commercial, or Research and Instructional Use, subject to and conditioned on Your compliance with the Additional Terms below. Additional Terms: 1. Software includes only the versions of the above products that are made initially available to You. Sun Microsystems, Inc. ("Sun") SOFTWARE LICENSE AGREEMENT READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING SOFTWARE ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" (OR "EXIT") BUTTON AT THE END OF THIS AGREEMENT. IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS ("MASTER TERMS") FOR YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-6 OF THIS AGREEMENT ("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE THE MASTER TERMS IN RELATION TO THIS SOFTWARE. 1. Definitions. (a) "Entitlement" means the collective set of applicable documents authorized by Sun evidencing your obligation to pay associated fees (if any) for the license, associated Services, and the authorized scope of use of Software under this Agreement. (b) "Licensed Unit" means the unit of measure by which your use of Software and/or Service is licensed, as described in your Entitlement. (c) "Permitted Use" means the licensed Software use(s) authorized in this Agreement as specified in your Entitlement. The Permitted Use for any bundled Sun software not specified in your Entitlement will be evaluation use as provided in Section 3. (d) "Service" means the service(s) that Sun or its delegate will provide, if any, as selected in your Entitlement and as further described in the applicable service listings at www.sun.com/service/servicelist. (e) "Software" means the Sun software described in your Entitlement. Also, certain software may be included for evaluation use under Section 3. (f) "You" and "Your" means the individual or legal entity specified in the Entitlement, or for evaluation purposes, the entity performing the evaluation. 2. License Grant and Entitlement. Subject to the terms of your Entitlement, Sun grants you a nonexclusive, nontransferable limited license to use Software for its Permitted Use for the license term. Your Entitlement will specify (a) Software licensed, (b) the Permitted Use, (c) the license term, and (d) the Licensed Units. Additionally, if your Entitlement includes Services, then it will also specify the (e) Service and (f) service term. If your rights to Software or Services are limited in duration and the date such rights begin is other than the purchase date, your Entitlement will provide that beginning date(s). The Entitlement may be delivered to you in various ways depending on the manner in which you obtain Software and Services, for example, the Entitlement may be provided in your receipt, invoice or your contract with Sun or authorized Sun reseller. It may also be in electronic format if you download Software. 3. Permitted Use. As selected in your Entitlement, one or more of the following Permitted Uses will apply to your use of Software. Unless you have an Entitlement that expressly permits it, you may not use Software for any of the other Permitted Uses. If you don't have an Entitlement, or if your Entitlement doesn't cover additional software delivered to you, then such software is for your Evaluation Use. (a) Evaluation Use. You may evaluate Software internally for a period of 90 days from your first use. (b) Research and Instructional Use. You may use Software internally to design, develop and test, and also to provide instruction on such uses. (c) Individual Use. You may use Software internally for personal, individual use. (d) Commercial Use. You may use Software internally for your own commercial purposes. (e) Service Provider Use. You may make Software functionality accessible (but not by providing Software itself or through outsourcing services) to your end users in an extranet deployment, but not to your affiliated companies or to government agencies. 4. Licensed Units. Your Permitted Use is limited to the number of Licensed Units stated in your Entitlement. If you require additional Licensed Units, you will need additional Entitlement(s). 5. Restrictions. (a) The copies of Software provided to you under this Agreement are licensed, not sold, to you by Sun. Sun reserves all rights not expressly granted. (b) You may make a single archival copy of Software, but otherwise may not copy, modify, or distribute Software. However if the Sun documentation accompanying Software lists specific portions of Software, such as header files, class libraries, reference source code, and/or redistributable files, that may be handled differently, you may do so only as provided in the Sun documentation. (c) You may not rent, lease, lend or encumber Software. (d) Unless enforcement is prohibited by applicable law, you may not decompile, or reverse engineer Software. (e) The terms and conditions of this Agreement will apply to any Software updates, provided to you at Sun's discretion, that replace and/or supplement the original Software, unless such update contains a separate license. (f) You may not publish or provide the results of any benchmark or comparison tests run on Software 6. Term and Termination. The license and service term are set forth in your Entitlement(s). Your rights under this Agreement will terminate immediately without notice from Sun if you materially breach it or take any action in derogation of Sun's and/or its licensors' rights to Software. Sun may terminate this Agreement should any Software become, or in Sun's reasonable opinion likely to become, the subject of a claim of intellectual property infringement or trade secret misappropriation. Upon termination, you will cease use of, and destroy, Software and confirm compliance in writing to Sun. Sections 1, 5, 6, 7, and 9-15 will survive termination of the Agreement. 7. Java Compatibility and Open Source. Software may contain Java technology. You may not create additional classes to, or modifications of, the Java technology, except under compatibility requirements available under a separate agreement available at www.java.net. Sun supports and benefits from the global community of open source developers, and thanks the community for its important contributions and open standards-based technology, which Sun has adopted into many of its products. Please note that portions of Software may be provided with notices and open source licenses from such communities and third parties that govern the use of those portions, and any licenses granted hereunder do not alter any rights and obligations you may have under such open source licenses, however, the disclaimer of warranty and limitation of liability provisions in this Agreement will apply to all Software in this distribution. 8. Limited Warranty. Sun warrants to you that for a period of 90 days from the date of purchase, as evidenced by a copy of the receipt, the media on which Software is furnished (if any) will be free of defects in materials and workmanship under normal use. Except for the foregoing, Software is provided "AS IS". Your exclusive remedy and Sun's entire liability under this limited warranty will be at Sun's option to replace Software media or refund the fee paid for Software. Some states do not allow limitations on certain implied warranties, so the above may not apply to you. This limited warranty gives you specific legal rights. You may have others, which vary from state to state. 9. Disclaimer of Warranty. UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. 10. Limitation of Liability. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Sun's liability to you, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by you for Software under this Agreement. The foregoing limitations will apply even if the above stated warranty fails of its essential purpose. Some states do not allow the exclusion of incidental or consequential damages, so some of the terms above may not be applicable to you. 11. Export Regulations. All Software, documents, technical data, and any other materials delivered under this Agreement are subject to U.S. export control laws and may be subject to export or import regulations in other countries. You agree to comply strictly with these laws and regulations and acknowledge that you have the responsibility to obtain any licenses to export, re-export, or import as may be required after delivery to you. 12. U.S. Government Restricted Rights. If Software is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), then the Government's rights in Software and accompanying documentation will be only as set forth in this Agreement; this is in accordance with 48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD acquisitions). 13. Governing Law. Any action related to this Agreement will be governed by California law and controlling U.S. federal law. No choice of law rules of any jurisdiction will apply. 14. Severability. If any provision of this Agreement is held to be unenforceable, this Agreement will remain in effect with the provision omitted, unless omission would frustrate the intent of the parties, in which case this Agreement will immediately terminate. 15. Integration. This Agreement, including any terms contained in your Entitlement, is the entire agreement between you and Sun relating to its subject matter. It supersedes all prior or contemporaneous oral or written communications, proposals, representations and warranties and prevails over any conflicting or additional terms of any quote, order, acknowledgment, or other communication between the parties relating to its subject matter during the term of this Agreement. No modification of this Agreement will be binding, unless in writing and signed by an authorized representative of each party. Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, California 95054 if you have questions. ソフトウェアライセンス契約全体のすべての条項を読み、それに同意する場合は、「yes」と入力してインストール処理を継続します。 ソフトウェアライセンス契約のすべての条項に同意することができない場合は、「no」と入力します。製品をインストールせずにインストールプログラムは終了されま す。 表示されたソフトウェアライセンス契約のすべての条項を読み、それに同意しますか [no] {"<" 戻る, "!" 終了}? Yes Sun Java System Application Server with HADB コンポーネントは次のディレクトリにインストールされます。このディレクト リを「インストールディレクトリ」と呼びます。このディレクトリを使用する場合は Enter キーを押します。別のディレクトリを使用するには、そのディレクトリの完全 パスを入力してから Enter キーを押します。 インストールディレクトリ [/opt/SUNWappserver] {"<" 戻る, "!" 終了}: "/opt/SUNWappserver" というディレクトリは存在しません。 新たに作成しますか、それとも別のディレクトリを選択しますか ? 1. ディレクトリを作成 2. 新規に選択し直す 該当する番号を入力してください。 [1] {"<" 戻る, "!" 終了} コンポーネントを選択してください。 ノードエージェントをインストールしますか [yes] {"<" 戻る, "!" 終了}? 高可用性データベースサーバーをインストールしますか [no] {"<" 戻る, "!" 終了}? ロードバランスプラグインをインストールしますか [no] {"<" 戻る, "!" 終了}? ドメイン管理サーバーをインストールしますか [yes] {"<" 戻る, "!" 終了}? サンプルアプリケーションをインストールしますか [yes] {"<" 戻る, "!" 終了}? Java の設定 Sun Java System Application Server は Java 2 SDK を必要とします。 Java 2 SDK 5.0 以降へのパスを指定してください。 1. Java 2 SDK (5.0) をインストールします 2. 既存の Java 2 SDK を再使用します 3. 終了 どの操作を行いますか [1] {"<" 戻る, "!" 終了}? 管理ユーザーのパスワードを入力し、必要に応じてその他の初期設定を変更してください。 管理ユーザー [admin] {"<" 戻る, "!" 終了}: 管理ユーザーパスワード (8 文字以上): パスワードの確認入力: マスターパスワードは SSL 証明書データベースのパスワードとして使用します。 マスターパスワード (8 文字以上): マスターパスワードの確認入力: 管理ポート [4848] {"<" 戻る, "!" 終了}: HTTP ポート [8080] {"<" 戻る, "!" 終了}: 80 HTTPS ポート [8181] {"<" 戻る, "!" 終了}: インストールオプションを選択してください。 Updatecenter クライアントを有効にしますか [yes] {"<" 戻る, "!" 終了}? アプリケーションサーバーの旧バージョンからアップグレードしますか [no] {"<" 戻る, "!" 終了}? ディスク容量を確認しています ... 製品 Sun Java System Application Server with HADB の次の項目がインストールされます。 製品: Sun Java System Application Server with HADB 位置: /opt/SUNWappserver 必要容量: 409.84 MB ------------------------------------------------ Java 2 SDK, Standard Edition 5.0 Uninstall Sun Java System Message Queue 4.1 Application Server Sample Applications High Availability Database Administration Client Startup インストール可能 1. 直ちにインストール 2. やり直す 3. インストールを終了 どの操作を行いますか [1] {"<" 戻る, "!" 終了}? インストールしています Sun Java System Application Server with HADB |-1%--------------25%-----------------50%-----------------75%--------------100%| インストールに成功しました。 次の手順: 1. 次の場所にある「Application Server 9.1 について」の初期ページにアクセスします: file:///opt/SUNWappserver/docs/ja/about.html 2. 次を実行してアプリケーションサーバーを起動します。 /opt/SUNWappserver/bin/asadmin start-domain --user admin domain1 3. 管理コンソールを起動します。 https://localhost:4848 4. サンプルアプリケーションにアクセスします。 http://localhost:80/samples/index.html インストールプログラムを終了するには、Enter/Return キーを押してください。 {"!" 終了} 一時ファイルを削除しています... sw-89# sw-89# /opt/SUNWappserver/bin/asadmin start-domain domain1 ドメイン domain1 を起動しています。お待ちください。 ログは /opt/SUNWappserver/domains/domain1/logs/server.log にリダイレクトされます。 管理ユーザー名を入力してください>admin 管理パスワードを入力してください> マスターパスワードを入力してください> 出力を /opt/SUNWappserver/domains/domain1/logs/server.log にリダイレクトしています ドメイン domain1 が起動しました。 ドメイン [domain1] はその設定で [Sun Java System Application Server 9.1_01 (build local)] を実行しています。ログは [/opt/SUNWappserver/domains] にあります。 管理コンソールは [https://localhost:4848] で使用できます。 "asadmin" コマンドにも同じポート [4848] を使用します。 ユーザーの Web アプリケーションは次の URL で使用できます: [http://localhost:80 https://localhost:8181 ]。 次の web-contexts を使用できます: [/web1 /__wstx-services ]。 標準の JMX クライアント (JConsole など) はドメイン管理のために JMXServiceURL: [service:jmx:rmi:///jndi/rmi://sw-89.japan.sun.com:8686/jmxrmi] に接続できます。 ドメインは少なくとも次のポートで接続を待機しています: [80 8181 4848 3700 3820 3920 8686 ]。 ドメインはアプリケーションサーバークラスタおよびその他のスタンドアロンインスタンスをサポートします。 sw-89#