Install LAMP in two easy steps
You might have seen my earlier post related to installing PHP, Apache and MySQL on UBUNTU 11.10. That process contains number of steps and some lengthy commands which we can not remember easily.
After good comments from Gaurav and Coward I have managed to get that lengthy process in just 2 steps. So I thought its great to share with all readers to they can get benefit as well.
Before starting make sure that you have root user’s access to perform the sudo action.
So now let’s perform those two steps to get the LAMP server installed.
Step 1
Above command will install tasksel which itself a package of different packages. You will be prompt for root password, once provided your download will start for the tasksel. Once tasksel is installed you can install many packages with just one command.
As I have promised for two steps so I will provide the command to show the list of all packages as a additional tip later on in this article.
Before starting make sure that you have root user’s access to perform the sudo action.
Step 2
Once tasksel is installed you just need execute below command to get the LAMP setup done.
Once command is executed it will start the downloading the package, during the package is being installed it will prompt for the MySQL root user password. That screen will looks like below.

Once the package installation is done, just access the http://localhost and you can see that all things are installed. Have a fun!!!
Tip
Execute below command to get the all the packages availabe to install different packages.
You will get something like below image. Package with (*) indicates that package is already installed.

Hope this is much clear to you and successful for you as with me. Share your thought here by comments. Subscribe to our feed, follow us and like us to get all latest updates and freebies.
About the author Avinash:
Avinash Zala currently working at a leading web development company as a Sr. PHP Web Developer. He is the founder of the Xpert Developer. He has completed B.E. in Information Technology. Born and brought up in Ahmedabad. He loves to code and coding is all about passion for him. Follow him on twitter at Avinash Zala & Xpert Developer.
Source : http://www.xpertdeveloper.com/2012/04/install-lamp-in-two-steps/
By clicking the "Mark as important" button, this article will be put to your important article list which you can find in "Amin->Article important list". Later when you want reread this article, it's easier for you to find it by checking the "Article important list".
Tags:LAMP,PHP,Steps,Tutorial Read(1172) Comment(0)
Previous : A boolean value interview question Next : Guest Post from a CodeBoy: The Five Stages of Debugging
::Related Articles
::Comment List
No comment for this article.
::Comment
:: Users edited this page
No users edited this page yet.
:: Recent articles
- Content based HTTP Cache
- Select top 3 values from each group in a table with SQL
- Meta tag in HTML header
- Text editor vs IDE
- Sorry, I don't want to download your fucking app
- Display GIF animation while submitting the web form
- PHP to get access token for Sina Weibo app
- Tencent released Q1 earning report of 2013
- How to be jQuery-free?
- Programmer's Mother's Day
- more>>
:: Most read
- TIOBE : C overtakes Java as the No.1 programming language
- Which programming language should I learn first?
- Sony is to release PlayStation4 in 2015
- Disposable Email address
- 5 Free Open Source Chat Applications For Developers
- Never ever touch a programmer
- Hacking Vs. Programming
- TIOBE : Where is that next big programming language?
- Multitasking vs multiprogramming
- Google is developing advanced programming technology to simplify Web application development
- more>>
:: Most commented
- Hacking Vs. Programming
- Which programming language should I learn first?
- Error handling style in C
- 10 controversial programming opinions?
- C vs Java Complete Comparison
- Google+ is sick
- Disposable Email address
- Unix Philosophy
- Should we use Abstract class or Interface?
- PHP to get access token for Facebook app
- more>>
:: Find us
