Sunday, 17 August 2014

Installing Apache Benchmark and Wireshark

Installing Apache Benchmark Tool

Apache Benchmark is a benchmarking tool which can be used to stress the serve by generating Http requests to server.
ubuntu@euca-10-1-3-53:~$ sudo apt-get install apache2-utils


Installing Wireshark

Wireshark is a monitoring tool which will monitor different network attributes. Here we are using to monitor incoming Http requests to static website which is running on localhost.
ubuntu@euca-10-1-3-53:~$ sudo apt-get install wireshark
ubuntu@euca-10-1-3-53:~$ sudo groupadd wireshark
ubuntu@euca-10-1-3-53:~$ sudo usermod -a -G wireshark ubuntu
ubuntu@euca-10-1-3-53:~$ sudo chgrp wireshark /usr/bin/dumpcap
ubuntu@euca-10-1-3-53:~$ sudo chmod 750 /usr/bin/dumpcap
ubuntu@euca-10-1-3-53:~$ sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
ubuntu@euca-10-1-3-53:~$ sudo getcap /usr/bin/dumpcap
ubuntu@euca-10-1-3-53:~$ sudo dpkg-reconfigure wireshark-common


No comments:

Post a Comment