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. It is 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 things could go wrong. Although it is very welcoming to use a Linux virtual machine for you code base and use a Window machine as a development environment, many developers 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 Linux LAMP stack is an open source web platform commonly used to run dynamic websites 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)

: Debian 6.0.5 (Squeeze) Build formats : deploys on bare metal, virtual machines (e.g., VMWare, VirtualBox, KVM, Xen) and in the cloud ISO images: Generic installable Live CD. Installs anywhere. Virtual Machine images: Optimized for virtualized hardware. Pre-installed and ready to run. Amazon Machine Image (AMI): best launched via the TurnKey Linux Hub. Alternatively, experts can use the listing of AMI codes to launch through other interfaces (e.g., Amazon CLI tools)

: 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

(TKLBAM): automated backup and restore, with system migration capabilities Secure and easy to maintain : auto-updated daily with latest security patches

: auto-updated daily with latest security patches Dynamic DNS (hubdns): associates your IP with a custom domain or the free *.tklapp.com domain

(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

(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

(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

(Webmin) Simple configuration console (confconsole) Displays basic usage information Configure networking

(confconsole) 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

[irp posts=”253″ name=”Run Oracle VirtualBox virtual machines in headless mode (Windowless)”]

LAMP stack features

LAMP stack includes all the standard features in TurnKey Linux 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.

Download Turnkey Linux LAMP stack