在Linux下安装httpd服务器

1. 解包:
tar zxvf httpd-2.2.20.tar.gz -C /usr/src/
2. 编译前的配置 :
cd /usr/src/httpd-2.2.20
./configure --prefix=/usr/local/apache
3. 编译并安装:
make && make install
4. 启动httpd服务:
/usr/local/apache/bin/apachectl start
 
编译:将高级语言转换为机器语言(二进制文件),由编译器来完成;
Linux平台的默认编译器是:gcc/gcc -c++
 
 
将windows文件上传到Linux的/usr/local/src目录下
安装软件
 
 
 
 
 
 
 
 
 
 
 
 
原文地址:https://www.cnblogs.com/5945yang/p/10267388.html