Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Centos6.5 installs jmeter stress testing tool

2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

1. Install JDK

# wget http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-x64.tar.gz

# tar zxf jdk-8u111-linux-x64.tar.gz-C / usr/local/

# vim / etc/profile / / New JAVA environment variable

Export JAVA_HOME=/usr/local/jdk

Export JRE_HOME=/usr/local/jdk/jre

Export PATH=$JAVA_HOME/bin:$PATH

Export CLASSPATH=./:/usr/local/jdk/lib:/usr/local/jdk/jre/lib

Save and exit!

# java-version / / Test whether JAVA is installed successfully

Java version "1.8.045"

Java (TM) SE Runtime Environment (build 1.8.0_45-b14)

Java HotSpot (TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

2. Download apache-jmeter

# wget http://apache.fayea.com//jmeter/binaries/apache-jmeter-3.0.tgz

# tar zxf apache-jmeter-3.0.tgz-C / data/

# vim / etc/profile / / add jmeter to the environment variable

Export JMETER=/data/jmeter

Export CLASSPATH=$JMETER/lib/ext/ApacheJMeter_core.jar:$JMETER/lib/jorphan.jar:$JMETER/lib/logkit-2.0.jar:$CLASSPATH

Export PATH=$JMETER/bin/:$PATH

Save and exit!

# source / etc/profile

# jmeter-v / / Test whether jmeter can be used

Writing log file to: / data/jmeter.log

_ _ _

/\ | _ / / _ | _ |\ / | _

/ _\ | | _) / _\ | | _ | | _ |\ / | | _ | | | _) |

/ _\ | _ _ / _\ | _ | _ _ | | _ _

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report