亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長(zhǎng)資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    總結(jié)CentOS下Apache安裝

    下面由centos教程欄目給大家總結(jié)CentOS下Apache安裝,希望對(duì)需要的朋友有所幫助!

    總結(jié)CentOS下Apache安裝

    CentOS下Apache安裝總結(jié)

    環(huán)境(Environment)

    操作系統(tǒng):CentOS 6.8
    服務(wù)器:Apache 2.4.29
    其他關(guān)鍵依賴(lài)庫(kù):apr 1.6.3、apr-util 1.6.1、pcre-8.41

    命令(Command)

    • 解壓命令
    命令格式 命令說(shuō)明 命令參數(shù)解釋
    tar zxvf [dir1] -C [dir2] 將dir1下的文件解壓到dir2指定的目錄下 無(wú)
    rpm -qa [software-name] 查詢(xún)指定的軟件 無(wú)
    rpm -e –nodeps [software-full-name] 卸載指定名稱(chēng)的軟件 –nodeps:不做軟件之間的依賴(lài)檢查
    ./configure –prefix=[dir] –with-[lib] 無(wú) –prefix:指定安裝目錄–with-[lib]:依賴(lài)(個(gè)人理解)
    • Apache安裝
    • 編譯安裝(make install)

    問(wèn)題(problem)

    發(fā)生時(shí)間 錯(cuò)誤內(nèi)容 解決方案(個(gè)人) 解決方案(網(wǎng)絡(luò)) 權(quán)重
    Apache 安裝時(shí) error:Cannot use an external APR with the bundled APR-util 對(duì)apr-util重新進(jìn)行編譯安裝 Google
    Apache 安裝時(shí) error:Did not find pcre-config script at [dir] 將pcre2替換為pcre,然后進(jìn)行編譯安裝 Google
    pcre安裝時(shí) error: You need a C++ Compiler for C++ Support Google yum install -y gcc gcc-c++
    Apache 安裝時(shí) error:pcre-config for libpcre not found 在./configure 配置時(shí)使用–with-pcre=[dir]指定pcre安裝目錄 重新安裝或者第一次安裝pcre
    Apache 安裝時(shí) error:no acceptable C complier found in $PATH Google yum -y install gcc
    apr-util 安裝時(shí) (一部分錯(cuò)誤提示)error:'apr_xml_parser' has no memebr named 'xp' Google yum install expat-devel
    Apache 安裝時(shí) (一部分錯(cuò)誤提示)error:openssl version is too old Google yum install openssl-develyum update openssl

    第一次編寫(xiě)這種總結(jié),如有不對(duì)之處,歡迎dalao指出(給dalao遞女裝)。

    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)