Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



65 Commits

Repository files navigation

LAPP - Web Stack (PostgreSQL)

The LAPP stack is an open source web platform that can be used to run dynamic web sites and servers. It is considered by many to be a powerful alternative to the more popular LAMP stack and includes Linux, Apache, PostgreSQL (instead of MySQL) and PHP, Python and Perl.

This appliance includes all the standard features in TurnKey Core, and on top of that:

  • SSL support out of the box.
  • PHP, Python and Perl support for Apache2 and PostgreSQL.
  • PHP development helpers:

    • composer installed globally (/usr/local/bin/composer) from upstream.
    • turnkey-composer convenience wrapper script - runs composer as the 'www-data' (webserver) user account.
    • php-cli: command-line interpreter.
  • Adminer administration frontend for PostgreSQL (listening on port 12322 - uses SSL).
  • Webmin modules for configuring Apache2, PHP and PostgreSQL.
  • PostgreSQL listening on localhost (security)
  • PostgreSQL password encryption enabled by default (security).
  • The postgres user is trusted when connecting over local unix sockets (convenience).
  • Postfix MTA (bound to localhost) to allow sending of email from web applications (e.g., password recovery).
  • Webmin modules for configuring Apache2, PHP, PostgreSQL and Postfix.

A separate appliance is available for the LAMP stack (featuring MySQL instead of PostgreSQL).

Credentials (passwords set at first boot)

  • Webmin, SSH: username root
  • PostgreSQL, Adminer: username postgres