问题现象:性能测试时,使用的服务器配置了双网卡,windows客户机配置了四网卡,坑爹的配置,内外网的隔离,导致在使用jmeter进行分布式测试的时候总是连接失败。原因分析:Jmeter采用了rmi进行远程调用,在开启RMI服务时,如果服务端有多个网卡,它只是使用其中任意一个网卡,默认情况下,导致j...
分类:
其他好文 时间:
2014-08-26 22:43:26
阅读次数:
709
配置防火墙,开启80端口、3306端口:CentOS 7.0默认使用的是firewall作为防火墙关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firew.....
分类:
其他好文 时间:
2014-08-26 21:26:26
阅读次数:
266
在Java中,assert关键字是从JAVA SE 1.4 引入的,为了避免和老版本的Java代码中使用了assert关键字导致错误,Java在执行的时候默认是不启动断言检查的(这个时候,所有的断言语句都将忽略!),如果要开启断言检查,则需要用开关-enableassertions或-ea来开启。a...
分类:
编程语言 时间:
2014-08-26 21:11:46
阅读次数:
214
Mysql自带profiling性能分析工具 ? 1. show variables like ‘%profiling%‘;(查看profiling信息) ? ? 2. set profiling=1;(开启profiling) ? 3. 执行SQL查询? 例:select goods_name from ecs_goods where g...
分类:
数据库 时间:
2014-08-26 20:01:36
阅读次数:
234
CSM全名CompatibilitySupportModule即兼容性支持模块,是UEFI的一个特殊模块,对于不支持UEFI的系统提供兼容性支持。目前Windows8完全支持UEFI,Windows7的64位不完全支持UEFI。因此UEFIBIOS下安装Windows7必须开启CSM,多数电脑能自动或手动开启,少数电脑则强制关闭CSM。预装..
一. 安装包: 1. crash(通过yum安装) 2. kernel-debuginfo-2.6.32-358.el6.x86_64.rpm? 3. kernel-debuginfo-common-x86_64-2.6.32-358.el6.x86_64.rpm ? 二. 开启kdump服务:/etc/init.d/kdump start 注:通...
分类:
其他好文 时间:
2014-08-26 17:49:56
阅读次数:
364
publicstaticvoidport_check(stringip){booltcpListen=false;booludpListen=false;//设定端口状态标识位stringip_str=ip;System.Net.IPAddressmyIpAddress=IPAddress.Parse(ip_str);System.Net.IPEndPointmyIpEndPoint=newIPEndPoint(myIpAddress,80);try{System.Net.Sockets.T..
分类:
其他好文 时间:
2014-08-26 17:36:16
阅读次数:
595
1、win访问linux共享文件夹
--通过yum安装完samba后,开启smb服务
# yum install samba
# service smb start
-- 添加访问共享文件用户至samba数据库
# smbpasswd -a root ← 将系统用户 root 加入到 Samba 用户数据库
New SMB password: ← 输入该用户用于...
1、把下载的这个1.4.4版本上传到服务器tar zxvf ng。。。。cd nginx-1.4.4./configure make make install2、修改端口号vi /usr/local/nginx/conf/nginx.conf3、开启/usr/local/nginx/sbin/ngi...
分类:
其他好文 时间:
2014-08-26 17:05:06
阅读次数:
162
Mongodb的开启默认启动:$ ./mongodb默认数据保存路径:/data/db/默认端口:27017修改默认路径:--dbpath$ ./mongdb --dbpath /mongodb/把数据存储位置指向一个自己的目录/mongodb/修改默认端口:--port$ ./mongdb --p...
分类:
数据库 时间:
2014-08-26 16:57:46
阅读次数:
261