- a Let's encrypt certificate using dehydrated.io
- lighttpd
- openssh with public key authentication for root
- diskless install, so the sd card is never written to
- unless you use lbu to commit changes
- installs updates on boot
- sends own ip address as email just in case it changes
./generate-apkovl.sh hostname domain.com.invalid [email protected] smtp.server.invalid path/to/ssh/keyfile.pub www/ staging
./write-sd-card.sh /path/to/mounted/sd/card hostname.apkovl.tar.gz
The web sites to serve must be placed in a single directory given as a parameter to generate-apkovl.sh. Each web site must be placed in a separate sub directory:
- www
- domain1.com.invalid
- htdocs
- index.html
- htdocs
- domain2.fi.invalid
- htdocs
- index.html
- htdocs
- domain1.com.invalid
One of the web sites should probably be the hostname.domain.com.invalid given as a parameter. www.hostname.domain.com.invalid is redirected automatically.
Lots.
- wget
- openssh
- bash
- tar
- gzip
- ...
- configurable timezone
- actual content for the website
- static ip support
- dynamic dns support
- initial/etc/resolv.conf
- initial/etc/network/interfaces