Linux httpd源碼編譯安裝,linuxhttpd源碼編譯

來源:互聯網
上載者:User

Linux httpd源碼編譯安裝,linuxhttpd源碼編譯

# wget http://apache.fayea.com/httpd/httpd-2.2.31.tar.bz2去官網下載源碼包
# mv httpd-2.2.31.tar.bz2  /usr/local/src/為方便管理源碼包 統一放在一個檔案下
# tar -jxvf httpd-2.2.31.tar.bz2# cd httpd-2.2.31# lsABOUT_APACHE   config.log     httpd.mak       Makefile       READMEacinclude.m4   config.nice    httpd.spec      Makefile.in    README.platformsApache.dsw     config.status  include         Makefile.win   README-win32.txtbuild          configure      INSTALL         modules        ROADMAPBuildAll.dsp   configure.in   InstallBin.dsp  modules.c      serverBuildBin.dsp   docs           LAYOUT          modules.lo     srclibbuildconf      emacs-style    libhttpd.dep    modules.o      supportbuildmark.o    httpd          libhttpd.dsp    NOTICE         testCHANGES        httpd.dep      libhttpd.mak    NWGNUmakefile  VERSIONINGconfig.layout  httpd.dsp      LICENSE         os
#vim INSTALL#vim README查看源碼包的安裝和說明文檔
# ./configure --prefix=/usr/local/apache安裝源碼包 源碼包統一安裝在一個檔案下 如local
# echo $?0安裝完成後 輸出下 得到0 則成功
#make開始編譯源碼包 可以讓電腦看得懂的語言

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.