Features of h2o_wizard
:
- Bleading Edge ;
- Compiled from scratch;
- Based on static libraries ;
- LibreSSL as SSL library ;
This script is provided AS IS & comes with ABSOLUTELY NO WARRANTY!
You need to install a c compiler, ninja
, cmake
, make
, automake
and libtool
.
Then, run this command:
bash <(curl -s https://gist.githubusercontent.com/concatime/6c79f33ca1a2846698e4dd9c46a92e69/raw/.bash)
And…, that’s it!
Well, if you want to use a custom version of clang, you can give an argument to the command, e.g. 4.0
.
On Ubuntu 16.04.2 (WSL), run:
sudo apt install clang-4.0 ninja-build make cmake automake libtool --yes --no-install-recommends
and you should give 4.0
as an argument to the main command.
To install dependencies on Fedora 26 (where curl
, unzip
, make
& pkg-config
are preinstalled), run:
dnf check-update || sudo dnf upgrade-minimal --assumeyes
sudo dnf install -by git-core clang cmake ninja-build libtool python-sphinx-doc --setopt=install_weak_deps=False
sudo dnf clean all
sudo systemctl start h2o
curl 127.0.0.1:8080
adduser --system --ingroup www-data --disabled-login --disabled-password --no-create-home --home /nonexistent --quiet h2o
H2O
WSLAY
- Mute output
- Resolve privileges’ errors (
sudo
) - Make it bulletproof against error-prone (
set -e
)