zoukankan      html  css  js  c++  java
  • linux安装jmeter

     将jmeter安装包下载下来(部分linux版本),配置环境变量

    jmeter下载地址:链接: https://pan.baidu.com/s/1_6-FmU6XjQH71Ngyh2Sx-A    提取码: iifj

    解压到当前目录:unzip filename.zip

     配置环境变量

    (1)编辑/etc/profile文件,加入以下配置

    export JMETER_HOME=/root/jmeter     【jmeter是解压后的安装包目录,由于这里上文目录是后期补的截图,所以忽略上下文jmeter目录不一致】
    export CLASSPATH=$JMETER_HOME/lib/ext/ApacheJMeter_core.jar:$JMETER_HOME/lib/jorphan.jar:$CLASSPATH
    export PATH=$JMETER_HOME/bin:$PATH:$HOME/bin

    (2)source /etc/profile,重新加载配置文件

    (3)修改jmeter的文件权限

    (4)查看jmeter是否安装好 jmeter -v

    [root@iZbp1806b7evqhscsjwptyZ home]# vi /etc/profile
    [root@iZbp1806b7evqhscsjwptyZ home]# source /etc/profile
    [root@iZbp1806b7evqhscsjwptyZ home]# jmeter -v
    -bash: /home/java/apache-jmeter-4.0/bin/jmeter: Permission denied
    [root@iZbp1806b7evqhscsjwptyZ home]# chmod 777 /home/java/apache-jmeter-4.0/bin/jmeter
    [root@iZbp1806b7evqhscsjwptyZ home]# jmeter -v
    Feb 21, 2019 9:26:09 PM java.util.prefs.FileSystemPreferences$1 run
    INFO: Created user preferences directory.
        _    ____   _    ____ _   _ _____       _ __  __ _____ _____ _____ ____
       /   |  _  /   / ___| | | | ____|     | |  /  | ____|_   _| ____|  _ 
      / _  | |_) / _ | |   | |_| |  _|    _  | | |/| |  _|   | | |  _| | |_) |
     / ___ |  __/ ___  |___|  _  | |___  | |_| | |  | | |___  | | | |___|  _ <
    /_/   \_\_| /_/   \_\____|_| |_|_____|  \___/|_|  |_|_____| |_| |_____|_| \_ 4.0 r1823414
    
    Copyright (c) 1999-2018 The Apache Software Foundation
    
    [root@iZbp1806b7evqhscsjwptyZ home]#   
    

      

  • 相关阅读:
    Bootstrap-select 动态绑定值
    Centos 下载
    设置图片大小和旋转
    aolication全局传递参数
    Activity静态变量传递参数
    Activity传递参数
    Activity横屏后声明周期的变化
    Intent隐式意图
    Intent显示意图的四种跳转
    SharedPreferences简单的应用
  • 原文地址:https://www.cnblogs.com/dieyaxianju/p/10415455.html
Copyright © 2011-2022 走看看