Skip to content

Install LAMP on Ubuntu

December 7, 2011
By Administrator in All, Apache server, Linux administration, MySQL server

This is just a tiny article that I decided to write because I kept forgetting the single command that quickly creates a functional LAMP (Linux, Apache, MySQL, PHP) server. A system administrator or a web developer might frequently need to set up a basic LAMP environment for experimental purposes.

When no specific features or customizations are necessary, I really prefer to be able to install LAMP using a single command. The Ubuntu operating system and the apt-get tool offer a simple solution. To install LAMP on an Ubuntu operating system, use the command below:

[email protected]:~# sudo apt-get install lamp-server^

This command will install a sufficient basic LAMP environment. Just one simple command :)

Tags: , , , , , ,

Comment Feed

One Response

  1. apt-get is deprecated, you should really be using aptitude instead.

    sudo aptitude install lamp-server



Some HTML is OK

or, reply to this post via trackback.