Linux下apache安装脚
来源:互联网 发布:godaddy的数据库 编辑:程序博客网 时间:2024/04/30 21:09
apache (httpd):
保存为httpd-setup.txt
在linux下执行: cat httpd-setup.txt |col -b > httpd-setup.sh
#--------------------------------------------------------------------------------------
#!/bin/sh
echo "########## Extract...... ####################"
tar -zxvf httpd-2.2.6.tar.gz
sleep 3
echo "########## Install...... ####################"
cd httpd-2.2.6
./configure /
--prefix=/usr/local/httpd /
--enable-module=so /
--enable-deflate=shared /
--enable-expires=shared /
--enable-rewrite=shared /
--enable-cache /
--enable-file-cache /
--enable-mem-cache /
--enable-disk-cache /
--enable-static-support /
--enable-static-htpasswd /
--enable-static-htdigest /
--enable-static-rotatelogs /
--enable-static-logresolve /
--enable-static-htdbm /
--enable-static-ab /
--enable-static-checkgid /
--disable-cgid /
--disable-cgi /
--disable-userdir /
--with-mpm=worker /
--enable-authn-dbm=shared /
--enable-authn-anon=shared /
--enable-authn-dbd=shared /
--enable-auth-basic=shared /
make
make install
sleep 3
echo "########## Install Succeed ####################"
#--------------------------------------------------------------------------------------
保存为httpd-setup.txt
在linux下执行: cat httpd-setup.txt |col -b > httpd-setup.sh
#--------------------------------------------------------------------------------------
#!/bin/sh
echo "########## Extract...... ####################"
tar -zxvf httpd-2.2.6.tar.gz
sleep 3
echo "########## Install...... ####################"
cd httpd-2.2.6
./configure /
--prefix=/usr/local/httpd /
--enable-module=so /
--enable-deflate=shared /
--enable-expires=shared /
--enable-rewrite=shared /
--enable-cache /
--enable-file-cache /
--enable-mem-cache /
--enable-disk-cache /
--enable-static-support /
--enable-static-htpasswd /
--enable-static-htdigest /
--enable-static-rotatelogs /
--enable-static-logresolve /
--enable-static-htdbm /
--enable-static-ab /
--enable-static-checkgid /
--disable-cgid /
--disable-cgi /
--disable-userdir /
--with-mpm=worker /
--enable-authn-dbm=shared /
--enable-authn-anon=shared /
--enable-authn-dbd=shared /
--enable-auth-basic=shared /
make
make install
sleep 3
echo "########## Install Succeed ####################"
#--------------------------------------------------------------------------------------
- Linux下apache安装脚
- linux下安装apache
- apache安装linux下
- Linux下安装Apache
- Linux下安装apache
- linux下安装apache
- Linux下安装apache
- Linux下安装apache
- Linux下Apache安装
- linux下安装apache
- linux下apache安装
- linux下apache安装
- Linux下安装apache
- Linux下安装Apache
- linux下安装apache
- Linux下安装Apache
- linux下安装apache
- linux下apache安装
- 基于I386的Linux2.4.18的进程切换分析
- jsp+sql server 2000连接出现异常
- 基于I386的Linux2.4.18进程创建的分析和实践
- matlab 算数/关系运算符
- VB.net、C#我现在想说
- Linux下apache安装脚
- matlab 坐标变换/时间和日期
- 第七次作业
- matlab 基本数学函数(2)
- 第七次作业(2)
- Helix Server
- matlab 傅立叶变换函数
- Linux下php安装脚本
- c# 委托的学习日记