- 博客(0)
- 资源 (38)
- 收藏
- 关注
手把手教你禁用笔记本电脑的自带键盘
有的小伙伴的笔记本电脑的键盘可能在某一天一不注意抽了下风,然后就一直抽风了,一个劲地往电脑上输入数据,严重影响我们对电脑的使用。一个很好的解决方法是买一块外接键盘,然后把自带的键盘给禁用掉(也就是不让自带的键盘工作,因为直接拿不下来嘛,当然只能退而求其次,将其禁用了)。
2023-07-10
解决DPI-1047: 64-bit Oracle Client library cannot be loaded报错
1、使用python链接oracle能够正常使用,使用一段时间后莫名其妙的的报错
【DPI-1047: 64-bit Oracle Client library cannot be loaded: "D:\app\xyg\product\11.2.0\client_1\bin\oci...】
2、网上找了很多教程,没能解决,后面靠自己把问题解决,接下来讲一下如何解决。
解决方案:
1、重新下载instantclient 64位
2、放在在一下目录,配置环境变量,可以参考我的配置目录。
3、instantclient_11_2.rar解压,放置在C盘
4、环境变量path配置:c:\\instantclient_11_2
2023-02-12
各种用例设计方法_例子
各种用例设计方法_例子,如判定表案例(判定表)、正交分析法-1因子4状态,2因子3状态,1因子2状态、状态转换法2、流程分析法、因果图3、边界值分析法、等价类
2017-12-21
rsh软件(LoadRunner监控Linux)
LoadRunner监控Linux
rstat协议允许网络上的用户获得同一网络上各机器的性能参数。
需要下载3个包:
(1)rsh-0.17-14.i386.rpm
(2)rsh-server-0.17-14.i386.rpm
(3)rpc.rstatd-4.0.1.tar.gz
一、安装rsh
查看是否安装并卸载rsh
[root@localhost /]# rpm –qa |grep rsh --查看是否安装rsh
[root@localhost /]# rpm –e + 版本号 --卸载该版本
安装rsh,rsh-server
[root@localhost /]# rpm –ivh rsh-0.17-14.i386.rpm
[root@localhost /]# rpm –ivh rsh-server-0.17-14.i386.rpm
二、安装rstatd
下载并安装rstatd,下载地址:http://sourceforge.net/projects/rstatd,上传至/usr/local
查看是否安装,一般来说Linux都没有安装
[root@localhost /]# find / -name rpc.rstatd
安装rstatd
[root@localhost /]# tar -xzvf rpc.rstatd-4.0.1.tar.gz
[root@localhost /]# cd rpc.rstatd-4.0.1
[root@localhost /]# ./configure
[root@localhost /]# make
[root@localhost /]# make install
三、安装完成后配置rstatd目标守护进程xinetd,配置文件于/etc/xinet.d目录下
修改/etc/xinetd.d目录下面的3个conf(rogin,rsh,rexec)中的disable均设置为no
[root@localhost /]# cd /etc/xinetd.d --进入到/etc/xinetd.conf目录中
[root@localhost /]# vi rlogin --编辑disable=no,保存
[root@localhost /]# vi rsh --编辑disable=no,保存
[root@localhost /]# vi rexec --编辑disable=no,保存
四、启动rpc.rstatd
[root@localhost /]# rpc.rstatd --启动rpc.rstatd进程
[root@localhost /]# rpcinfo -p --执行此命令检查rpc服务的状态
如果未出现上图的rstatd说明没有安装成功,需要重复以上步骤。
到这里为止,LR监控Linux必要的服务都已安装好了。
五、关闭防火墙
[root@localhost /]# service iptables stop
六、利用LR中的Controller监控Linux资源
在Controller中,将System Resource Graphs中的Unix resources拖到右侧的资源监控区域。
鼠标右键选择Add Measurements,添加被监控Linux的IP地址x.x.x.x,选择需要监控的性能指标,确认。
七、遇到的问题
1. LoadRunner监控Linux资源时弹出如下错误:
Monitor name :UNIX Resources. Cannot initialize the monitoring on 192.168.52.189. Error while creating the RPC client. Ensure that the machine can be connected and that it runs the rstat daemon (use rpcinfo utility for this
2013-10-11
perl-DBI-1.40-5.i386.rpm
perl-DBI-1.40-5.i386.rpm 安装包Failed: dependencies perl(dbi) 的解决方法
2011-06-02
json-jar,commons-beanutils-core-1.7.0
json-jar还有它的一些依赖包commons-beanutils-core-1.7.0,commons-collections-3.2.1等等
2011-03-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人