乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      ActiveMQ

       KILLKISS 2016-04-05
      安裝環(huán)境:linux rhe
      activemq版本:5.8.0
      1.從http://activemq./download.html地址下載apache-activemq-5.8.0-bin.tar.gz包
      2.解壓縮到指定的目錄
      Shell代碼  收藏代碼
      1. tar zxvf apache-activemq-5.8.0-bin.tar.gz -C /usr/local  
      解壓縮后會在/usr/local下生成apache-activemq-5.8.0目錄,其中bin目錄下就是activeMQ的執(zhí)行腳本存在的位置了。
      3.如果啟動腳本無法執(zhí)行,我們需要修改一下權(quán)限
      Shell代碼  收藏代碼
      1. cd /usr/local/apache-activemq-5.8.0/bin  
      2. chmod 775 activemq  
      4.設置activeMQ配置環(huán)境.activemqrc
      Shell代碼  收藏代碼
      1. bin/activemq setup ~/.activemqrc  
      5.啟動activeMQ
      在activemq主目錄鍵入如下命令: 
      Shell代碼  收藏代碼
      1. bin/activemq start  
      然后會看到控制臺日志輸出如下:
      Shell代碼  收藏代碼
      1. INFO: Loading '/home/chenzhou/.activemqrc'  
      2. INFO: Using java '/usr/java/jdk1.6.0_03/bin/java'  
      3. INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details  
      4. INFO: pidfile created : '/usr/local/apache-activemq-5.8.0/data/activemq-localhost.localdomain.pid' (pid '18567')  
      我們也可以把日志輸出到指定的日志文件中
      Shell代碼  收藏代碼
      1. bin/activemq start > /tmp/smlog  2>&1 &  
      然后日志就輸出到/tmp/smlog文件中了
      注意:官方文檔中標明了如果按上述的方式啟動后,如果我們把linux終端窗口關(guān)閉的話,則服務也會停止
      具體如下:
      不過,我嘗試了一下關(guān)閉xshell終端,貌似服務依然正在,沒有退出。
      不過為了保險起見,我們在啟動時最好還是加上nohup參數(shù)
      啟動命令如下:
      Xshell代碼  收藏代碼
      1. nohup bin/activemq start  
      或者:
      Shell代碼  收藏代碼
      1. nohup bin/activemq start > /tmp/smlog 2>&1 &  
      查看啟動情況:
      通過端口查詢,activeMQ默認配置下啟動會啟動8161和61616兩個端口,其中8161是mq自帶的管理后臺的端口,61616是mq服務默認端口:
      Shell代碼  收藏代碼
      1. netstat -ntlp|grep 8161  
      2. netstat -an|grep 61616  
      訪問activeMQ管理界面,http://ip:8161/admin,如果是本機就是http://localhost:8161/admin

        本站是提供個人知識管理的網(wǎng)絡存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
        轉(zhuǎn)藏 分享 獻花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多