Hello guys.
Today I'm going to describe how you can successfully install Apache JMeter on your Linux system.
Before install make sure you have installed Java 1.5 or newer version in your System.
Then you will need to download Apache JMeter.
http://jmeter.apache.org/download_jmeter.cgi
Download the zip file of the jmeter. (In my case I will be downloading apache-jmeter-2.7.zip)
Now open the terminal and follow given instructions.
type 'su' (without quoats. This will change your user mood into root)
Provide the root password.
Ok now you are the man..
Can you remember where you saved apache-jmeter-2.7.zip
If you don't make sure to check where you saved that file.
now type following code
cd /var/www/html
Now you have to copy apache-jmeter-2.7.zip to this directory.For that you need to know where you saved the zip file.
cp PATHOFZIPFILE ./
(in my case I did like
cp /home/djclans/Downloads/apache-jmeter-2.7.zip ./
Note :In terminal, codes are case sensitive. And there is a space between .....jmeter-2.7.zip and ./)
Next you have to unzip the archive. In order to do that you need unzip installed in your system. If you don't just type yum install unzip and it will be installed.
To unzip the archive,
unzip apache-jmeter-2.7.zip
After completing the unzip process go inside that folder and you will find bin
folder. Go inside that too.
cd apache-jmeter-2.7/bin
Now everything is ready........
Ok now lets fire it up...
sh jmeter
few seconds later GUI will pop up.
And now we are done..
See you later guys.....
Good post. I was looking for this for a long time. Thanx mate!!!
ReplyDeleteGreat. And you are welcome ...:D :D
DeleteGreat Post.. Keep writing
ReplyDeletewhy are you putting the jmeter source in cd /var/www/html
ReplyDeleteAwesome, 10x
ReplyDeleteAwesome, thanks aton :)
ReplyDeleteNice one!!!!
ReplyDeleteWhat is the purpose of var/www/html here? Just extract it, run sh bin/jmeter.sh and you are good to go
ReplyDeleteGood Post Thank you!.
ReplyDeletei am getting error on centos, my jmeter version is 3.1 on CENTOS OS. could any one through some light on this. see the error below...
ReplyDeleteNo X11 DISPLAY variable was set, but this program performed an operation which requires it.
Thanks in advance
SRK