Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fnzv/f375fe897ec935b1f3dd284edb6d7c85 to your computer and use it in GitHub Desktop.
Save fnzv/f375fe897ec935b1f3dd284edb6d7c85 to your computer and use it in GitHub Desktop.
Building h2load (of nghttp2) on Ubuntu 16.04
#! /bin/bash
# https://nghttp2.org/documentation/h2load-howto.html
sudo apt-get update
sudo apt-get install -y g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev libc-ares-dev libjemalloc-dev cython python3-dev python-setuptools libjemalloc-dev libspdylay-dev
git clone https://github.com/nghttp2/nghttp2.git && cd nghttp2 && autoreconf -i && automake && autoconf && ./configure --enable-app && make && make install
./src/h2load --help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment