Install LAMP-SERVER using “tasksel” in Ubuntu 10.10


Hi Friends,

Lets see “How to Install LAMP-SERVER using ‘tasksel’ in Ubuntu 10.10”

1. Open Your Terminal

2. First we have to installtasksel

$ sudo apt-get install tasksel

Installing "tasksel"

3. Open the “tasksel”

$ sudo tasksel

opening the "tasksel"

4. Select the “LAMP Server”

Select "LAMP server"

(OR)

$ sudo tasksel lamp-server

$ sudo taskset install lamp-server

 

5. Set the “MYSQL root”password

 

Set ur mysql password

That’s all. Now LAMP-SERVER was installed.🙂

Now lets check of its working .

open tour browser and type “http://localhost” in the URL bar.

 

localhost-- > It Works!🙂

Now lets check if php is working:

$ sudo gedit /var/www/phpinfo.php

Creating a "phpinfo.php" file

and add,

<?php
phpinfo();
?>
Save and exit.
Now, we have to restart the “apache2”
$ sudo /etc/init.d/apache2 restart

Restarting the "Apache2"

The PHP info page

That’s All. Enjoyyy !! 😉
The total commands we were used,
  1. sudo apt-get install tasksel
  2. sudo tasksel install lamp-server
  3. “set your ‘MYSQL Password”
  4. sudo gedit /var/www/phpinfo.php
  5. sudo /etc/init.d/apache2 restart
Enjoy and feel free to Ask.

19 thoughts on “Install LAMP-SERVER using “tasksel” in Ubuntu 10.10

  1. Great a tutorial🙂
    Do you know any way to install LAMP from CD or USB stick?
    If the machine doesn’t have internet connection, only local network access, how can I install it?

  2. Thank You Tha.Suresh,
    I will try this and write the results here, so anyone could find it🙂

  3. works great with php, how about trouble shooting phpmyadmin.
    i am using linux mint 10 and i am getting a reply below in the browser:
    “Not Found

    The requested URL /phpMyadmin was not found on this server.
    Apache/2.2.16 (Ubuntu) Server at localhost Port 80”

  4. I know this if off topic but I’m looking into starting my own weblog and was curious what all is needed to get set up? I’m assuming having a blog like yours would cost a pretty penny?

    I’m not very web smart so I’m not 100% positive.
    Any recommendations or advice would be greatly appreciated.

    Thanks

  5. Pingback: Ubuntu 10.10 Server | Kuplux's

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