Bootstrap

安装和使用JMeter

安装JMeter


安装Java8

  1. 下载安装包解压缩
    sudo tar -zxvf jdk-8u321-linux-x64.tar.gz

  2. 修改环境变量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  
    
  3. 生效环境变量source /etc/profile

  4. 查看版本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

  1. 下载JMeter
    https://mirrors.tuna.tsinghua.edu.cn/apache/jmeter/binaries/
  2. 解压缩
    s
;