Nginx服务测试时的一些配置:wireshark、常用搜索URL格式、关闭防火墙、siege

wrieshark

  sudo yum install wireshark-gnome

  sudo wireshar

  (以root启动,否则看不到网卡)

网站URL格式

  以查询lumia为例

  google  http://www.google.com/search?q=lumia

  baidu    http://www.baidu.com/s?wd=lumia

  tb     http://s.taobao.com/search?q=lumia

      亚马逊   http://www.amazon.cn/s/keywords=lumia

  当当    http://search.dangdang.com/?key=lumia

 

  试了下京东,发现http://search.jd.com/Search?keyword=lumia会被跳转到http://www.jd.com/?se=deny,懒得找原因了,略过。

 

http://blog.csdn.net/sabalol/article/details/9286073

关闭防火墙

sudo systemctl stop firewalld.service
sudo systemctl disable firewalld.service

 

关闭SELinux

sudo vi /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#

enforcing - SELinux security policy is enforced.

 

permissive - SELinux prints warnings instead of enforcing.

 

disabled - SELinux is fully disabled.

 
SELINUX= disabled # change

# SELINUXTYPE= type of policy in use. Possible values are:
#
 

targeted - Only targeted network daemons are protected.

 

strict - Full SELinux protection.

 
SELINUXTYPE=targeted

 

TOP输出

http://www.51testing.com/?uid-188314-action-viewspace-itemid-814905

Siege测试(最大用户数300)

 

http://www.chedong.com/blog/archives/000033.html

posted @ 2013-10-02 11:39  五岳  阅读(786)  评论(0编辑  收藏  举报
回到顶部