Skip to content

Instantly share code, notes, and snippets.

@rkmathi
Created August 12, 2016 00:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rkmathi/37ac6bc719cb26cdf5fff32a91358216 to your computer and use it in GitHub Desktop.
Save rkmathi/37ac6bc719cb26cdf5fff32a91358216 to your computer and use it in GitHub Desktop.
h2o ubuntu
apt-get install bison build-essential cmake dh-autoreconf libssl-dev pkg-config python-sphinx ruby-dev
# (additional)
apt-get install tmux libyaml-dev

cd /opt
git clone --depth 1 https://github.com/libuv/libuv.git
cd libuv && ./autogen.sh && ./configure --prefix=/usr/local && make && make install

cd /opt
git clone --depth 1 https://github.com/tatsuhiro-t/wslay.git
cd wslay && autoreconf -i && automake && autoconf && ./configure && make && make install

cd /opt
git clone --depth 1 https://github.com/h2o/h2o.git
cmake -DWITH_MRUBY=on && make
cd h2o && cmake . && make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment