linux下Webbench的安装及使用

来源:互联网 发布:mac如何解压rar文件 编辑:程序博客网 时间:2024/06/06 02:27

     webbench 是一个小巧的web性能压力测试工具,在CentOs7版本下linux环境中安装webbench中出现了常见的小问题,今天总结一下让以后使用开始使用webbench的童鞋能顺利的完成安装!


    开始我是在linux中打开webbench的官网http://home.tiscali.cz/~cz210552/webbench.html


      将文件下载到我的文件夹中


  下载文件后开始解压(ps:我先进入的root):

[pamela1@localhost 下载]$ su
Password:
[root@localhost 下载]# sudo tar zxvf webbench-1.5.tar.gz
webbench-1.5/
webbench-1.5/webbench.1
webbench-1.5/socket.c
webbench-1.5/webbench.c
webbench-1.5/Makefile
webbench-1.5/debian/
webbench-1.5/debian/rules
webbench-1.5/debian/dirs
webbench-1.5/debian/copyright
webbench-1.5/debian/control
webbench-1.5/debian/changelog
webbench-1.5/COPYRIGHT
webbench-1.5/ChangeLog

    解压好后在目录中可看到:




  开始编译安装




     安装是如果出现    “install: cannot create regular file `/usr/local/man/man1': No such file or directory”这个错误

解决办法就是手动建立这个文件夹:cd /usr/local/
                                                         mkdir man
    解决后使用命令webbench -help



     就可以成功使用了!