linux 編譯式安裝apache

來源:互聯網
上載者:User

標籤:oca   utf8   lin   logs   com   頁面   figure   系統   類庫   

apache的安裝需要兩個組件,APR對於Tomcat最大的作用就是socket調度

 

組件下載解壓完成

,講兩個組件解壓包移動到apache的類庫檔案夾內

註:如果系統內建了apr和apr-util可以不用額外下載,如果需要升級的情況,可按如下操作

# 編譯和安裝 apr 1.2cd srclib/apr./configure --prefix=/usr/local/apr-httpd/makemake install# 編譯和安裝 apr-util 1.2cd ../apr-util./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/makemake install# 配置 httpdcd ../.././configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/

 

下面需要下載一個PCRE(這是一個正則的依賴)依賴包

支援utf8

 PCRE安裝結束,開始apache的編譯安裝

安裝完成,進入測驗

報錯可以暫時不用去管

直接用瀏覽器進入ip:80連接埠訪問,發現無法開啟頁面

開啟防火牆80連接埠

重新啟動防火牆

至此apache安裝成功

 

linux 編譯式安裝apache

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.