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.


LAPP stack

Core Features:

  • Base distribution: TurnKey 12.1 based on Debian 6.0.7 (Squeeze), TurnKey 13 based on Debian 7.1 (Wheezy)
  • Smart backups (TKLBAM): automated backup and restore, with system migration capabilities
  • Secure and easy to maintain: auto-updated daily with latest security patches
  • Dynamic DNS (hubdns): associates your IP with a custom domain or the free *.tklapp.com domain
  • Logical Volume Management (LVM): instead of installing to a fixed size partition, a Logical Volume is first created by default, and this may later be expanded, even across multiple physical devices
  • AJAX web shell (shellinabox) - secure command line access from any web browser
  • Web management interface (Webmin)
    • Listens on port 12321 (uses SSL)
    • Mac OS X themed
    • Network modules
      • Firewall configuration (with example configuration)
      • Network configuration
    • System modules
      • Backup and migration (TKLBAM)
      • Configure time, date and timezone
      • Configure users and groups
      • Manage software packages
      • Change passwords
      • System logs
    • Tool modules
      • Text editor
      • Shell commands
      • Simple file upload/download
      • File manager (needs support for Java in browser)
      • Custom commands
    • Hardware modules
      • Partitions on local disks
      • Logical volume management
  • Simple configuration console (confconsole)
    • Displays basic usage information
    • Configure networking
  • First boot initialization
    • Prompt user for passwords
    • Regenerates SSL and SSH cryptographic keys
    • Installs latest security updates, unless user chooses to defer this for later
    • Uses GeoIP to automatically configure closest APT package archive for maximum network performance
  • Command line power tools
    • Smart, programmable bash shell completion: helps you get more done with fewer keystrokes.
    • Support for $HOME/.bashrc.d shell hooks
    • Persistent environment variables (see $HOME/.bashrc.d/penv):
penv-set pydoc /usr/share/doc/python2.6/html
exit

# later...
cd $pydoc
  • Automatic time synchronization with NTP

webmin

Distribution Features:

  • SSL support out of the box.
  • PHP, Python and Perl support for Apache2 and PostgreSQL.
  • PHPPgAdmin 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).

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, phpPgAdmin: username postgres
  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

Nginx PHP FastCGI Server

Nginx is a web server, load balancer and reverse proxy with a strong focus on performance, high...

CodeIgniter - Web application framework

CodeIgniter is a powerful PHP framework with a small footprint and exceptional performance, built...

Domain Controller - Drop-in PDC replacement

A Samba-based Windows PDC (Primary Domain Controller) server (without the Windows) which is...

Django - High-level Python Web Framework

Django is a high-level Python Web framework that encourages rapid development and clean,...

Revision Control - All-in-one code repository

An integrated revision control server combining the world's best open source Version Control...