How to install weighttp in Ubuntu?

weighttp

a lightweight and simple webserver benchmarking tool.

To install weighttp in ubuntu we need to install libev (It is libev not libdev) using the following command

sudo apt-get install libev4 libev-dev

or we can install libev for any linux and unix oses  from source using the following set of commands

wget http://dist.schmorp.de/libev/libev-4.11.tar.gz
tar xvf libev-4.11.tar.gz
cd libev-4.11
sudo ./configure
sudo make
sudo make install

Get the source code of weighttp from the github using the following command.

git clone https://github.com/lighttpd/weighttp.git

cd weighttp
./waf configure
./waf build
sudo ./waf install

to uninstall
sudo ./waf uninstall

To run weighttp use the following command
weighttp

Reference

https://github.com/lighttpd/weighttp

Advertisements

About hack4geek

The quieter you become the more you are able to hear
This entry was posted in Linux, webserver and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s