1. 程式人生 > >ActiveMQ部署

ActiveMQ部署

下載apache-activemq-5.15******.tar.gz   安裝 tar   xf     apache-activemq-5.15******.tar.gz     -C    / mv    apache-activemq-5.15******        activemq cd /app/activemq/conf 編輯配置檔案,設定賬戶,日誌路徑等   vim  log4j.properties  自定義日誌目錄 log4j.appender.logfile.file=/****/activemq/activemq.log log4j.appender.audit.file=/*****/activemq/audit.log   vim  credentials.properties  設定程式連線賬戶 activemq.username=szrsystem activemq.password=szr2016 guest.password=password   vim  jetty-realm.properties  設定管理介面賬戶
admin: [email protected], admin user: [email protected], user     cd     /activemq/bin ./activemq    start netstat    -anpt  |   grep  61616 如果開啟了防火牆,需要放行8161(web管理頁面埠)  61616(服務監控埠)  兩個埠 開啟web介面訪問http://IP:8161/admin即可,賬戶admin   密碼
[email protected]
  程式連線賬戶為szrsystem,口令為szr2016