วันพุธที่ 6 มิถุนายน พ.ศ. 2555

Install Apache on Linux


Download apache from http://httpd.apache.org/download.cgi



  • copy "httpd-2.4.2.tar.gz" to /tmp
  • and into /tmp with cd /tmp
  • extract file  "httpd-2.4.2.tar.gz " with tar -zxvf httpd-2.4.2.tar.gz
  • cd httpd-2.4.2/ *open httpd-2.4.2 folder
  • ./configure  --prefix=/usr/local/apache2
  • make
  • make install
  • restart apache -> /usr/local/apache2/bin/apachectl start
  • check apache version ->/usr/local/apache/bin/httpd -v





ไม่มีความคิดเห็น:

แสดงความคิดเห็น