Ready-to-use server

web2py

Python framework

web2py screenshots

web2py is a free open source framework for rapid development of fast, scalable, secure and portable database-driven web-based applications. Written and programmable in Python. It includes a web-based IDE that helps you create, modify, deploy and manage application from anywhere using your browser.

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

  • web2py configurations:

    • Web2py 3 is installed from a pinned official upstream release in /var/www/web2py.

      Security note: Updates to web2py may require supervision so they ARE NOT configured to install automatically. Run web2py-update --check to inspect the supported Web2py 3 channel. Back up the appliance and review the upstream changes before running web2py-update --apply.

    • Serve web2py applications with WSGI on Apache.

    • Force admin console to be served via SSL.

    • Include a MariaDB connection for database-driven Web2py applications.

  • SSL support out of the box.

  • Postfix MTA (bound to localhost) to allow sending of email (e.g., password recovery).

  • Webmin modules for configuring Apache2, MySQL and Postfix.

Credentials (passwords set at first boot)

  • Webmin, SSH, MySQL: username root

Stable version: 19.0 (changelog)

Usage details & Logging in for Administration

No default passwords: For security reasons there are no default passwords. All passwords are set at system initialization time.

Ignore SSL browser warning: browsers don't like self-signed SSL certificates, but this is the only kind that can be generated automatically without paying a commercial Certificate Authority.

Web - point your browser at either:

  1. http://12.34.56.789/ - not encrypted so no browser warning
  2. https://12.34.56.789/ - encrypted with self-signed SSL certificate

Username for database administration:

Login as MySQL username root at

  1. https://12.34.56.789:12322/ - Adminer database management web app
  2. MySQL command line tool:
    $ mysql --user root --password
    Enter password:
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    mysql>
    

Username for OS system administration:

Login as root except on AWS marketplace which uses username admin.

  1. Point your browser to:
  2. Login with SSH client:
    ssh root@12.34.56.789
    

    Special case for AWS marketplace:

    ssh admin@12.34.56.789
    

* Replace 12.34.56.789 with a valid IP or hostname.