To install JMeter on A Linux Server you must first install Java
You must be root, so
sudo bash or sudo su –
List all available packages in the yum repository
To list specific packages
yum list | grep java
Install Java package
yum install java-1.8.0-openjdk-src.x86_64
or for headless Java (for use in non-GUI environment)
yum install java-1.8.0-openjdk-headless.x86_64
You can download the JMeter from the Apache JMeter Download Page.
In the section entitled “Apache JMeter 3.3 (Requires Java 8)” download the file named “apache-jmeter-3.3.tgz” under the list of Binaries.
Go to the directory where apache-jmeter-3.3.tgz has been downloaded and extract the file contents:
tar -xf apache-jmeter-3.0.tgz
Go to the JMeter directory:
Then run JMeter
Note: Make sure that you have a JRE/JDK correctly installed and the JAVA_HOME environment variable is set.