Created
September 18, 2018 06:50
-
-
Save inductor/e88f99ecd47615573220d32b0b3a6010 to your computer and use it in GitHub Desktop.
h2o install on ubuntu 18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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