nginx
下载
yum install nginx //1.使用yum安装
service nginx start //2.启动nginx
配置
使用nginx -t查看配置文件。
cat /etc/nginx/nginx.conf; //查看nginx配置文件
Webbech压力测试
下载
wget http://home.tiscali.cz/~cz210552/distfiles/webbench-1.5.tar.gz //1.下载
tar xvf webbench-1.5.tar.gz //2.解压
cd webbench-1.5
make && make install //3.编译
如果出现cannot create regular file ‘/usr/local/man/man1’: No such file or directory
解决:mkdir /usr/local/man && mkdir /usr/local/man/man1