linux啓動jmeter,執行./jmeter.sh報錯解決方法

linux啓動jmeter,執行./jmeter.sh報錯解決方法


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,安裝成功後並運行。
步驟三:本地機器安裝puttyputty進行如下配置,選擇SSH—>X11,選中Enable X11 forwardingX display location中填寫:localhost:0

 


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章