A “LAMP” stack is open source software typically installed together to enable web development. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP.
Why is it called LAMP Stack?
It is referred to as the LAMP stack because all these components are integrated to deliver a comprehensive software solution. Linux Apache MySql Php (LAMP)
Why is it LAMP stack so popular ?
The LAMP stack is a very popular platform of choice among many start up companies due to that fact that is mostly “free” to use. Therefore it significantly reduces the overhead on software development.
It also has a very active and vibrant community, which ensures ease of use of obtaining great technical talent is easier. Many universities and colleges offer courses in utilizing open source software solutions, which also ensures skilled people are available.
What are the benefits of LAMP
- Easy to code: Developers enjoy developing on LAMP due to the fact that there are a number of great software development frameworks available which help in making coding a breeze on LAMP. This assists in turning out new applications is alot quicker
- Cheap and Easy deployment : There are alot of great tools available that help in making deployment of LAMP applications easier and hosting charges tend to be significantly reduced
- Local Development : Another huge advantage of using LAMP is that a developer can build an application locally and then deploy it to the web easily.
In order to configure your desktop you’ll need to install
Tasksel, which is a Debian/Ubuntu tool to install multiple related packages as a co-ordinated “task” onto your target system. It is primarily used for server installation but works just as well for dekstops too.
In order to use of
Tasksel, you will need to install it, if not previously installed.
To do so open a terminal window (
sudo apt-get install tasksel
once that is complete type in
Then once that is setup is complete. I always execute an additional command just to ensure that all of the libraries I specifically require for development have been registred and installed.
$ sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
I also prefer to use phpmyadminm which provides me with a UI over mySQL database to ease administration tasks
sudo apt-get install phpmyadmin
This is should be it!
You can now test your machine, by going to http://localhost and http://localhost/phpmyadmin
Remove LAMP Stack
If ever you need to unistall or remove the LAMP stack from your desktop DO NOT use Tasksel to remove.
Follow these steps to safely remove LAMP server configuration from your ubuntu desktop without removing other required files.
sudo apt-get purge libapache2-mod-auth-mysql phpmyadmin
sudo apt-get purge mysql-server mysql-server-5.1 mysql-server-core-5.1
sudo apt-get purge apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common libapache2-mod-php5
sudo apt-get autoremove
A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.
Latest posts by Gary Woodfine (see all)
- Using IHost .net core console applications - August 15, 2018
- Book Review : Code Complete - August 6, 2018
- How to use Configuration API in .net core console application - August 6, 2018