Installing Siege Stress Tester on a CentOS Server

Installing Siege Stress Tester on a CentOS Server



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.”



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

I would for example go with siege-3.1.4

cd /opt
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
make && make install

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

siege -v


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

siege -c30 -t50s
siege -c30 -t1M

Hope that this helps :)



The Real-Time Data Platform for Developers

Buy me a coffeeBuy me a coffee