Installing x0 From source

Build-time Dependencies

Runtime-time Dependencies

Installing x0

git clone git://github.com/trapni/x0.git
cd x0
cmake -DCMAKE_BUILD_PREFIX=$HOME/local
make && sudo make install

First run!

There is an instant mode, where you can run x0d in a configuration-less mode to just serve a single domain with its document root on one port with a very basic setup predefined:

$HOME/local/bin/x0d --instant=`pwd`,8080

However, a more elaborate startup might look like this:

$HOME/local/bin/x0d --splash \
    --no-fork --config=$HOME/local/etc/x0/x0d.conf \
    --log-level=warn --log-file=$HOME/local/var/log/x0/x0d.log
comments powered by Disqus