Installing Siege Stress Tester on a CentOS Server

Installing Siege Stress Tester on a CentOS Server

 

ABOUT SIEGE

Siege is an http load testing and benchmarking utility. It was designed to let web developers measure their code under duress, to see how it will stand up to load on the internet. Siege supports basic authentication, cookies, HTTP, HTTPS and FTP protocols. It lets its user hit a server with a configurable number of simulated clients. Those clients place the server “under siege.”

Source

Installation

First we would need to get the source files. Here's a link to the current siege repo:

http://download.joedog.org/siege/

I would for example go with siege-3.1.4

cd /opt
wget http://download.joedog.org/siege/siege-3.1.4.tar.gz
tar -zxvf siege-3.1.4.tar.gz

Once we have the files ready, cd into the folder and compile:

cd /opt/siege-3.1.4
./configure
make && make install

This is pretty much it, you can check if Siege is working by running this command here:

siege -v

Examples

Here are a couple of example commands that you could run in order to make sure that the installation was successful:

siege -c30 -t50s  yourdomain.com
siege -c30 -t1M  www.yourdomain.com

Hope that this helps :)

 

Coffee For Me
Recent Posts
Proxies Demystified
Proxies Demystified
2019-11-05 09:31:05