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^

How to restore Gnome panel, Ubuntu 10.x later

Standard

Ubuntu gnome panels are nice enough to arrange shortcuts, menus, items on it. Even new panel can be added on gnome desktop‘s left, right or bottom side. But some times a panel can be customized or assembled roughly. Then you would like to reset all as its default sate. For that, open Terminal and run these following commands:


gconftool-2 --recursive-unset /apps/panel

pkill gnome-panel

It should be restored on its default settings!!!

Install IE6 in Ubuntu 10.X

Standard

An easy way to use IE6 (I think its just for testing CSS issues with IE ) in Ubuntu/Linux are described bellow:

Step 1: Make sure Wine is already installed on your computer. If not then use this command on your terminal

sudo apt-get install wine

Step 2: Then the following

wget http://www.kegel.com/wine/winetricks

Step 3:Now

sh winetricks ie6

Final : To Run IE6

wine iexplore