Today's Question:  What are bad parts of Windows 10?       GIVE A SHOUT

Technical Article => Operating System =>  Linux/Unix

Install LAMP in two easy steps

 Avinash Zala     2012-04-30 09:15:28      2,250    0    0

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

Copy
  sudo apt-get install tasksel

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.

Copy
  sudo apt-get install lamp-server

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.

Install MySQL on UBUNTU

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.

Copy
  sudo tasksel

You will get something like below image. Package with (*) indicates that package is already installed.

Tasksel Package list

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 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/

 Tags : LAMP,PHP,Steps,Tutorial   Read(2,250) Comment(0) Version(0)

  SAVE AS PDF   MARK AS READ   MARK AS IMPORTANT

 RELATED


 COMMENT  (TOTAL 0 COMMENT)


No comment for this article.


Nickname  
Email 
Comment

Levis 501 : Not implemented?

By sonic0002
In HTTP 1.1, the status code 501 means not implemented. What if this happens at Levis?

 CONTRIBUTE


Share your geeky stuff now.
You make the world better, the world makes us better.

 WRITE ARTICLE

 VERSION


No other version available yet.