2015年8月4日 星期二

ActiveMQ 開發記錄:安裝篇


ActiveMQ官網介紹:http://activemq.apache.org/

安裝基本需求
Hardware:
  • 60 MB of free disk space for the ActiveMQ binary distribution.
  • 200 MB of free disk space for the ActiveMQ source or developer's distributions.
Operating Systems:
  • Windows: Windows XP SP2, Windows 2000.
  • Unix: Ubuntu Linux, Powerdog Linux, MacOS, AIX, HP-UX, Solaris, or any Unix platform that supports Java.
Environment:
  • Java Developer Kit (JDK) 1.6.x or greater for deployment and 1.6.x (Java 6) for compiling/building.
  • The JAVA_HOME environment variable must be set to the directory where the JDK is installed, e.g., c:\Program Files\jdk.1.6.0_xx_xx.
  • Maven 3.0 or greater (required when installing source or developer's releases).
  • JARs that will be used must be added to the classpath.

因是跑在java環境下的程式,需事先安裝java套件
安裝JDK:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html


ActiveMQ安裝檔下載:http://activemq.apache.org/activemq-5111-release.html
將下載的檔案解壓縮放置C:/根目錄底下

開啟命令提示字元視窗,進入安裝檔目錄,因系統64位元的,所以進入win64目錄。
輸入 activemq 執行


 執行完成,可以看到進入的網址,http://0.0.0.0:8161,這可以透過設定Config修改。


輸入網址http://localhost:8161/ ,看到如下頁面,就代表安裝完成。


點選『Manage ActiveMQ broker』進入管理台。預設登入帳密admin/admin


進入管理畫面。


系統設定檔路徑:C:\apache-activemq-5.11.1\conf\activemq.xml
參考網址http://activemq.apache.org/using-activemq-5.html



沒有留言:

張貼留言