不是apache进行ab测试
930 wget http://apache.fayea.com//apr/apr-1.5.2.tar.gz
930 wget http://apache.dataguru.cn//apr/apr-util-1.5.4.tar.gz
931 wget http://mirrors.hust.edu.cn/apache//httpd/httpd-2.4.12.tar.gz
932 ll
933 tar -zxvf apr-1.5.2.tar.gz
934 cd apr-1.5.2
935 ./configure
936 make
937 make install
938 cd ..
939 ll
940 tar -zxvf apr-util-1.5.4.tar.gz
941 cd apr-util-1.5.4
942 ./configure --with-apr=/usr/local/apr
943 make
944 make install
945 exit
946 cd /opt/server/
947 ll
948 tar -zxvf httpd-2.4.12.tar.gz
949 cd httpd-2.4.12
950
951 ./configure --prefix=/usr/local/apache2 --enable-dav --enable-so --enable-maintainer-mode --enable-rewrite --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr/bin/apu-1-config
952 make
953 make install
954 cd /usr/local/apache2
./ab -k -c 1000 -n 1000 http://www.baidu.com