安装JMeter
安装Java8
-
下载安装包解压缩
sudo tar -zxvf jdk-8u321-linux-x64.tar.gz
-
修改环境变量
sudo gedit /etc/profile
#set oracle jdk environment export JAVA_HOME=/home/ccc/jdk1.8.0_321 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH
-
生效环境变量
source /etc/profile
-
查看版本
java -version
java version "1.8.0_321" Java(TM) SE Runtime Environment (build 1.8.0_321-b07) Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)
安装JMeter
- 下载JMeter
https://mirrors.tuna.tsinghua.edu.cn/apache/jmeter/binaries/ - 解压缩
s