Here the simple steps for install 'LAMP-server' using "tasksel"in ubuntu 10.10
Open your terminal and follow the following commands.
1. sudo apt-get install tasksel
2. sudo tasksel install lamp-server
3. "set your 'MYSQL Password"
4. sudo gedit /var/www/phpinfo.php (Add the following mini php code in this file)
<?php
phpinfo();...