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 @   五岳  阅读(789)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
回到顶部
点击右上角即可分享
微信分享提示