How to setup LAMP server in Ubuntu by only one command

Standard

Here is a shortcut and easiest way of setting up LAMP server in Ubuntu.
Well, there is obviously option of installing packages separately for making ready a LAMP server in Ubuntu.
Open  terminal or Connect to remote server via it and then execute the following commad.
Only command:
sudo tasksel
Then the following window should pop-up in the terminal.

Select ([.] LAMP server) by pressing arrow key and do (OK) by pressing Tab key of keyboard. On the next screent, type your desired password for MySQL and Done!!!

If some how this command does not work then simply use the following one:


sudo apt-get install lamp-server^

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s