歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> 學習Linux

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

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

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
# ls
ABOUT_APACHE   config.log     httpd.mak       Makefile       README
acinclude.m4   config.nice    httpd.spec      Makefile.in    README.platforms
Apache.dsw     config.status  include         Makefile.win   README-win32.txt
build          configure      INSTALL         modules        ROADMAP
BuildAll.dsp   configure.in   InstallBin.dsp  modules.c      server
BuildBin.dsp   docs           LAYOUT          modules.lo     srclib
buildconf      emacs-style    libhttpd.dep    modules.o      support
buildmark.o    httpd          libhttpd.dsp    NOTICE         test
CHANGES        httpd.dep      libhttpd.mak    NWGNUmakefile  VERSIONING
config.layout  httpd.dsp      LICENSE         os
#vim INSTALL
#vim README
查看源碼包的安裝和說明文檔
# ./configure --prefix=/usr/local/apache
安裝源碼包 源碼包統一安裝在一個文件下 如local
# echo $?
0
安裝完成後 輸出下 得到0 則成功
#make
開始編譯源碼包 可以讓計算機看得懂的語言

 

http://xxxxxx/Linuxjc/1175798.html TechArticle

Copyright © Linux教程網 All Rights Reserved