linux启动jmeter,执行./jmeter.sh报错解决方

2016-12-16  本文已影响0人  宇文臭臭

1.l-bash: ./jmeter.sh: Permission denied

解决办法:jmeter.sh的执行权限改改,是权限不够

chmod 777 jmeter.sh

2.An error occurred:

No X11 DISPLAY variable was set, but this program performed an operation which requires it.

步骤一:linux负载机环境下,切换到root用户,运行以下命令安装X11,该linux机器需能访问外网:

yum -y install xorg-x11-xauth

yum install xorg-x11-server-utils

yum install xorg-x11-server-Xnest

yum install libXtst

安装完成后再重新登录,提示/usr/bin/xauth:  creating new authority file /home/upload/.Xauthority

步骤二:本地机器安装Xming-6-9-0-31-setup.exe,安装成功后并运行。

步骤三:本地机器安装putty,putty进行如下配置,选择SSH—>X11,选中Enable X11 forwarding,X display location中填写:localhost:0。

上一篇下一篇

猜你喜欢

热点阅读