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

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

    • 分享

      Centos6.5上安裝Asterisk13記錄

       浪子小新 2016-07-23

      今天在阿里云上申請(qǐng)了個(gè)免費(fèi)的服務(wù)器,操作系統(tǒng)選擇了Centos6.5。嘗試安裝 Asterisk13,幾經(jīng)周折,終于成功。記錄如下。

      1 安裝前的準(zhǔn)備?

      經(jīng)確認(rèn)(rpm -q bison-devel),

      以下組件沒有安裝,用yum 命令逐一安裝

      yum install bison-devel

      yum install ncurses-devel

      yum install zlib-devel

      yum install openssl-devel(???)

      yum install gnutls-devel

      yum install gcc-c++

      yum install mysql-devel?

      2 關(guān)閉/SELINUX?

      sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config?

      3 configure 過程中遇到的問題

       具體安裝過程,網(wǎng)上說明很多,僅僅記錄中間遇到的問題及解決辦法?

      1) configure 過程中,提示 uuid support not found (this typically means the libjansson development package is missing):?

      解決辦法:

      yum -y install uuid-devel

      yum -y install libuuid libuuid-devel

      2)configure 過程中,提示: JSON support not found

      解決:

      下載:jansson-2.5.tar.gz

      tar -zxf jansson-2.5.tar.gz

      cd jansson*

      ./configure --prefix=/usr/ && make clean && make && make install && ldconfig

      3 configure 過程中提示:'libxml2'development package,

      configure: *** The Asterisk menuselect tool requires the 'libxml2' development package.

      configure: *** Please install the 'libxml2' development package.

      下載libxml2-2.6.32.tar.gz:http://download./down.php?id=28493&ResourceID=6095&site=1

      解壓:tar -zxf libxml2-2.6.32.tar.gz?

      編譯、安裝

      4). configure: error: *** Asterisk now uses SQLite3 for the internal Asterisk database.

      解決辦法:

      下載sqlite-3.3.5.tar.gz:http://download./down.php?id=19777&ResourceID=9862&site=1

      解壓:tar -zxf sqlite-3.3.5.tar.gz?

      編譯、安裝?

      至此,可以 configure通過,然后 make,make install, make samples 即可完成安裝。

      4  安裝后,Asterisk不能啟動(dòng)的問題

      1)OpenSSL問題?

      安裝后,用 asterisk命令啟動(dòng),結(jié)果報(bào)錯(cuò):

      asterisk: error while loading shared libraries: libasteriskssl.so.1: cannot open shared object file: No such file or directory

      以及,asterisk: error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory?

      原來,是自己安裝的動(dòng)態(tài)鏈接庫文件的路徑不對(duì),默認(rèn)安裝的/usr/local/lib目錄下了,了,(可在系統(tǒng)根目下,用 find -name libasteriskssl* 命令搜索文件所在位置)。

      用ln命令將需要的so文件鏈接到/usr/lib或者/lib這兩個(gè)默認(rèn)的目錄下邊

      ln -s /usr/local/lib/*.so /usr/lib

      ln -s /usr/local/lib/*.so.4 /usr/lib?

      ln -s /usr/local/lib/*.so.1 /usr/lib?

      然后重新載入:ldconfig 即可!

       

      2)關(guān)于OpenSSL漏洞?的問題

      centos 系統(tǒng)默認(rèn)的OpenSSL 版本是 1.0.1e,不知道是否已經(jīng)修復(fù)了漏洞。?

      OpenSSL 暴露的Heartbleed 心臟流血漏洞極大地影響了網(wǎng)絡(luò)安全。眾所周知,

      Asterisk使用了OpenSSL來對(duì)信令進(jìn)行安全加密,支持的模塊包括對(duì)SIP協(xié)議,XMPP,AMI和ARI。

      如果用戶在Asterisk中使用了TLS,并且OpenSSL的版本如果是有漏洞的版本,請(qǐng)用戶及時(shí)更新OpenSSL版本。有漏洞的版本從OpenSSL1.0.1 到1.0。如果用戶使用了以上的版本。?

      為保險(xiǎn)起見,安裝之后,將其升級(jí)到最新版本OpenSSL 1.0.1p。升級(jí)過程參見:

      linux /centos 中OpenSSL升級(jí)方法詳解

      3) 提示缺少動(dòng)態(tài)連接庫的解決辦法

      啟動(dòng)asterisk時(shí),提示缺少動(dòng)態(tài)連接庫 *.so--cannot open shared object file: No such file or directory 之類的解決辦法參見:?

      http://www.cnblogs.com/smartvessel/archive/2011/01/21/1940868.html

       4)相關(guān)文件?

      安裝過程中,需要的幾個(gè)文件,已經(jīng)分享,可從這里下載:

      http://pan.baidu.com/s/1gdtuBuF?

       

       

       

       

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

        0條評(píng)論

        發(fā)表

        請(qǐng)遵守用戶 評(píng)論公約

        類似文章 更多