Junjao

Programming, Software Engineering

ติดตั้ง apache บน Fedora พฤษภาคม 11, 2011

Filed under: Uncategorized — จั่น @ 11:47 am

เมื่อ download apache2.2.XX.tar.gz มาแล้ว  ให้แตกออกแล้วเข้าไปเพื่อ compile apache source ใหม่ดังนี้

เก็บ apache ที่ Compile แล้วไว้ที่  /exec/apache2  (ซึ่ง /exec/apache2 ก็คือ $APACHE_HOME)
# ./configure –prefix=/exec/apache2 –enable-rewrite –enable-proxy=http –enable-module=so –enable-ssl

#make

#make install

ทดสอบโดยการ Start

#cd /exec/apache2/bin

#./apachectl start

ตรวจสอบว่ามี process httpd ทำงานอยู่ในระบบ

#ps -aef|grep httpd

 

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.