Skip to content

Instantly share code, notes, and snippets.

@inductor
Created September 18, 2018 06:50
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 inductor/e88f99ecd47615573220d32b0b3a6010 to your computer and use it in GitHub Desktop.
Save inductor/e88f99ecd47615573220d32b0b3a6010 to your computer and use it in GitHub Desktop.
h2o install on ubuntu 18.04
#!/bin/bash
## apt update && apt upgrade -y && apt autoremove -y
## やろうとしたらlockファイルがあって死んだのでlockファイルを消した
## rm -rf /var/lib/dpkg/lock
apt update && apt upgrade -y && apt autoremove -y
apt -y install locate git cmake build-essential checkinstall autoconf pkg-config libtool python-sphinx wget libcunit1-dev nettle-dev libyaml-dev libuv-dev libssl-dev zlib1g-dev
git clone https://github.com/tatsuhiro-t/wslay.git
git clone https://github.com/h2o/h2o.git
cd wslay/
autoreconf -i
automake
autoconf
./configure
make
make install
ls /usr/local/lib/
cd ../h2o/
cmake -DWITH_BUNDLED_SSL=on .
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment