安装jmeter-5.3
#wget https://mirrors.tuna.tsinghua.edu.cn/apache//jmeter/binaries/apache-jmeter-5.3.zip
解压路径
#mkdir -pv /data/jmeter
#mv apache-jmeter-5.3.zip /data/
#cd /data/
#unzip apache-jmeter-5.3.zip
#ln -sv apache-jmeter-5.3 jmeter
配置环境变量
#vim /etc/profile.d/jmeter.sh
export JMETER_HOME=/root/SoftWare/Jmeter/apache-jmeter-5.1.1
export PATH=${JMETER_HOME}/bin:$PATH
export DISPLAY=:0.0
#chmod +x /etc/profile.d/jmeter.sh
#source /etc/profile.d/jmeter.sh
#echo $PATH
/data/jmeter/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bdapps/hadoop/bin:/bdapps/hadoop/sbin:/root/bin
查看jmeter版本
jmeter --version
报错
“Unrecognized VM option 'MaxMetaspaceSize=256m'”
#解决方法
#yum search java
#yum -y install java-1.8.0*
# apt install -y openjdk-8*
5.0以后需要jdk1.8以上的版本