Turnkey Linux, the professional replacement for WAMP/MAMP/XAMPP


September 30, 2012Linux Open Source PHP2 Comments

There are still a very good number of PHP developers who still work on Windows and MacOS environment judging by the popularity the popularity of  WAMP, MAMP and XAMPP. Its always a good practice to develop your PHP code in a Linux environment. This is because you will be ultimately deploying your code into a Linux server. When you shift your code from a Windows machine to a Linux machine many thing could go wrong. Although its very welcoming to use a Linux virtual machine for you code base and use a Window machine as a development environment, many find it cryptic to get a Linux machine up and running. This is where Turnkey Linux’s LAMP stack  turns out to be a valuable asset to your development environment. Turnkey LAMP stack is a open source web platform commonly used to run dynamic web sites and servers. It includes Linux, Apache, MySQL, and PHP/Python/Perl and is considered by many the platform of choice for development and deployment of high performance web applications which require a solid and reliable foundation. The download size of the virtual machine is around 205Mb. Once downloaded you can run it using Oracle VirtualBox. The TurnKey Linux Core has the following features:

  • Base distribution: Debian 6.0.5 (Squeeze)
  • Build formats: deploys on bare metal, virtual machines (e.g., VMWare, VirtualBox, KVM, Xen) and in the cloud
  • Smart backups (TKLBAM): automated backup and restore, with system migration capabilities
  • Secure and easy to maintainauto-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

LAMP stack 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 MySQL.
  • XCache – PHP opcode caching acceleration.
  • PHPMyAdmin administration frontend for MySQL (listening on port 12322 – uses SSL).
  • Postfix MTA (bound to localhost) to allow sending of email from web applications (e.g., password recovery)
  • Webmin modules for configuring Apache2, PHP, MySQL and Postfix.

Turnkey LAMP stack

2 Responses to “Turnkey Linux, the professional replacement for WAMP/MAMP/XAMPP”
  1. Devan Meyers

    Thank you for sharing your knowledge! Learn more about coding at http://www.good.is/codingforgood – Learn to code, submit a project, get a job based on your ability to learn and work hard! Or just learn coding from their cool lessons. 

  2. leenug

    Very useful!

Leave a Reply