WebSphere Application Server Community Edition をインストールする

Quick start

http://publib.boulder.ibm.com/wasce/V2.1.0/en/quick-start.html

download

https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&source=wsced

インストレーションバンドルの選択

Application サーバー のみと、IBM の Java SDK がバンドルされたパッケージがある。

JDKばバンドルされたパッケージの場合、Windows と Unix系に加え、アーキテクチャ別のパッケージになっている。

was_install01

Unix系のサーバーのみパッケージをダウンロード

Server for Unix
wasce_setup-2.1.1.5-unix.bin  (85 MB)

JDKは、Oracleのものをインストールする

download

http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html

インストール

  1. # mv jdk-6u25-linux-i586.bin /opt/
  2. # cd /opt/
  3. # chmod +x jdk-6u25-linux-i586.bin
  4. # ./jdk-6u25-linux-i586.bin
  5. # vi /etc/profile.d/java.sh
  6. export JAVA_HOME=/opt/jdk1.6.0_25
  7. export PATH=$JAVA_HOME/bin:$PATH
  8. # source /etc/profile.d/java.sh
  9. # alternatives --install /usr/bin/java java /opt/jdk1.6.0_25/bin/java 2
  10. # alternatives --config java
  11.  
  12. There is 1 program that provides 'java'.
  13.  
  14. Selection Command
  15. -----------------------------------------------
  16. *+ 1 /opt/jdk1.6.0_25/bin/java
  17.  
  18. Enter to keep the current selection[+], or type selection number:

アプリケーションサーバーのインストール

実行権限を付与

  1. # chmod +x wasce_setup-2.1.1.5-unix.bin

インストール開始(GUIから)

  1. # ./wasce_setup-2.1.1.5-unix.bin
  2. Preparing to install...

インストーラが起動

was_install03

ライセンスに同意しつつ、インストール先はデフォルトとしておく

was_install04

サマリーが表示された後、インストール開始

was_install05

インストール完了

起動確認

サーバーの8080ポートを開く

was_install06

  1. # cd /opt/IBM/WebSphere/AppServerCommunityEdition/bin
  2. # ./startup.sh
  3. Using GERONIMO_HOME: /opt/IBM/WebSphere/AppServerCommunityEdition
  4. Using GERONIMO_TMPDIR: var/temp
  5. Using JRE_HOME: /opt/jdk1.6.0_25/jre
  6. Using GERONIMO_OUT: /opt/IBM/WebSphere/AppServerCommunityEdition/var/log/server.out
  7.  
  8. Geronimo started in background. PID: 13746

http://192.168.10.77:8080

 

was_install07

管理コンソールにログイン

デフォルトのユーザーIDとパスワードは、system manager

was_install08

was_install09

シャットダウン

とりあえずここもsystem/manager でシャットダウン

  1. # ./shutdown.sh
  2. Using GERONIMO_HOME: /opt/IBM/WebSphere/AppServerCommunityEdition
  3. Using GERONIMO_TMPDIR: var/temp
  4. Using JRE_HOME: /opt/jdk1.6.0_25/jre
  5. Username: system
  6. Password: *******
  7. Locating server on localhost:1099... Server found.
  8. Server shutdown started
  9. Server shutdown completed

今日のところはここまで。

Follow me!

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です